[Zope-dev] Could not load state?
Steve Alexander
steve@cat-box.net
Wed, 28 Feb 2001 11:50:18 +0000
Chris Withers wrote:
> Hi,
>
> I've started seeing errors like this:
>
> ------
> 2001-02-27T11:18:34 ERROR(200) ZODB Couldn't load state for
> '\000\000\000\000\00
> 0\021\275\220'
> 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.
I hazard a guess that you're changing a mutable attribute of a persistent object, without doing a _p_changed=1 on your persistent object.
--
Steve Alexander
Software Engineer
Cat-Box limited