[Zope] Problem with Z Psycopg

Jason Leach jason.leach at gmail.com
Tue Apr 5 18:50:20 EDT 2005


On Apr 5, 2005 1:03 PM, Dieter Maurer <dieter at handshake.de> wrote:
> 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...

Probably the case.

> >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.

In my case it will not reconnect. It just keeps giving the OpperationalError.


More information about the Zope mailing list