[Zope-dev] Could not load state?

Chris McDonough chrism@digicool.com
Wed, 28 Feb 2001 05:04:46 -0500


(cd to lib/python)
python
import Zope
app = Zope.app()
jar = app._p_jar
jar['\000\000\000\000\000\021\275\220'].id

Although this probably won't help if you can't load state consistently.  In
that case.. ummm...

----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: <zope-dev@zope.org>
Sent: Tuesday, February 27, 2001 6:14 PM
Subject: [Zope-dev] Could not load state?


> Hi,
>
> I've started seeing errors like this:
>
> ------
> 2001-02-27T11:18:34 ERROR(200) ZODB Couldn't load state for
>
> Traceback (innermost last):
>   File E:\Zope\23C76D~1.1B1\lib\python\ZODB\Connection.py, line 477, in
> setstate
>
> AttributeError: 'None' object has no attribute 'load'
>
> ...popping up from time to time. I think they're coming from a product
we've
> written, but beyond that I have no idea what's going on. How would I begin
> to dig? Is there any way I can find out the id of the object that OID
> corresponds to?
>
> cheers,
>
> Chris
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>