Hi Tim,
Tim Peters wrote:
As before, this Shouldn't load state ... error is almost certainly due to
a logic error in some product you're using, or in Zope. Take this message
as meaning exactly what it says: something is trying to work with a
persistent object after the Connection it came from
Victor Safronovich wrote at 2005-10-18 13:18 +0600:
...
May be usefull to add some simple workflow to Persistent class with
states:
GHOST
UPTODATE
CHANGED
STICKY
transitions:
Most of the transitions are there (though through strange names)
activate
--
Chris Withers wrote at 2005-10-19 13:53 +0100:
...
from binascii import unhexlify
def oid_unrepr(oidr):
if oidr.startswith('0x'):
oidr = oidr[2:]
h = unhexlify(oidr)
return '\x00'*(8-len(h))+h
def oidr2obj(app,oidr):
return app._p_jar[oid_unrepr(oidr)]
First