[Zope] Problem with Z Psycopg

Dieter Maurer dieter at handshake.de
Tue Apr 5 16:03:17 EDT 2005


Jason Leach wrote at 2005-4-4 15:15 -0700:
>I'm having a problem with Z Psycopg.  From time to time (quite often)
>it looses the connection with the database and I get:
>   Site Error
>   An error was encountered while publishing this resource.
>   Error Type: OperationalError
>   Error Value: no connection to the server

Usually, this means that the postgres server process died...

>Then I have to login then close and open the connection.  It then
>works for a while before bailing again.

I do not have to do this because "ZPsycopgDA" automatically
reconnects when an "OperationalError" is raised.
Thus, this is strange.

-- 
Dieter


More information about the Zope mailing list