Hello, Yah, eg. hooks.setSite(my-persistent-site) and no setSite(None).
Tuesday, February 2, 2010, 2:52:31 PM, you wrote: JF> On Tue, Feb 2, 2010 at 2:23 AM, Baiju M <mba...@zeomega.com> wrote: >> Hi, >> I am getting an error like this: >> Module ZODB.Connection, line 808, in setstate >> >> ConnectionStateError: Shouldn't load state for 0x0ba91e when the >> connection is closed >> >> Few details from ZMI: >> >> Zope Version (Zope 2.11.3-final, python 2.4.6, linux2) >> Python Version 2.4.6 (#1, Jul 8 2009, 10:09:58) [GCC 3.4.6 >> 20060404 (Red Hat 3.4.6-10)] >> System Platform linux2 >> Network Services ZServer.HTTPServer.zhttp_server (Port: 6002) >> >> I can see recent commit (r106543) by Jim, is this related ? >> >> - A ZEO threading bug could cause transactions to read inconsistent >> data. (This sometimes caused an AssertionError in >> Connection._setstate_noncurrent.) JF> No. Most likely, You're storing a persistent object in a global JF> variable and accessing it after JF> its connection has been closed. JF> Jim -- Best regards, Adam GROSZER mailto:agros...@gmail.com -- Quote of the day: There is often less danger in the things we fear than in the things we desire. - John C. Collins _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev