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

No. Most likely, You're storing a persistent object in a global
variable and accessing it after
its connection has been closed.

Jim


-- 
Jim Fulton
_______________________________________________
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

Reply via email to