[ZODB-Dev] ValueError: Can not re-register object under a different oid
Dieter Maurer
dieter@handshake.de
Sat, 5 Apr 2003 08:01:18 +0200
Greg Czajkowski wrote at 2003-4-3 17:47 -0800:
> Hi all, while using ZODB/ZEO 3.1.1 final for python
> 2.2.2 I run into another exception:
> ...
> get_transaction().commit()
> File "C:\Python21\ZODB\Transaction.py", line 235, in
> commit
> ncommitted += self._commit_objects(objects)
> File "C:\Python21\ZODB\Transaction.py", line 349, in
> _commit_objects
> jar.commit(o, self)
> File "C:\Python21\ZODB\Connection.py", line 396, in
> commit
> try: cache[oid]=object
> ValueError: Can not re-register object under a
> different oid
Looks as if "object" had a different "_p_oid" as the "oid" shown above.
Dieter