[ZODB-Dev] 3.2.1b1 with POSKeyError and ConflictError
Dieter Maurer
dieter at handshake.de
Fri May 16 23:16:34 EDT 2003
Nicholas Henke wrote at 2003-5-16 13:25 -0400:
> ...
> The oid in question looks to be an OOSet -- Is there a way that I can
> open up the storage and find what the data for a particular oid really
> is -- aka resolve the oid to a python object ? I don't know if that data
> is helpfull or not.
If "C" is a ZODB connection and "oid" an 8 byte (binary) string
representing an OID, then "C[oid]" returns the corresponding
object.
> Here is the traceback I got:
> ...
> File "/var/tmp/python2.2-2.2.2-root/usr/lib/python2.2/xmlrpclib.py",
> line 571, in close
> raise apply(Fault, (), self._stack[0])
> Fault: <Fault 1: 'ZODB.POSException.ConflictError:database conflict
> error (oid 0000000000000054, serial was 034cf9689104015d, now
> 034cf968ad4cd700)'>
It seems as if "pack" had changed the serial of your object.
It should not do that...
Dieter
More information about the ZODB-Dev
mailing list