I have a mysqldb connector object based on http://svn.zope.org/mysqldbda/ under zope 2.9.7

Intermittently, I recieve an error *Shouldn't load state for 0xf5f137 when the connection is closed
*
I implemented this object because the standard mysql database adapter would fail if the connection was idle for some time with a similar kind of error.

class MySQLdbAdapter(SimpleItem,ZopeDatabaseAdapter):

...
   def __call__(self):
        ...
        return connection

there is an object stored, I call it and return the mysql cursor and use cursor 
to make queries ala the python module.

Does this look famileir to anyone else, if so, how was the error overcome?





-Kevin
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to