[ZODB-Dev] ValueError: Can not re-register object under a different oid

Greg Czajkowski gregczajkowski@yahoo.com
Thu, 3 Apr 2003 17:47:26 -0800 (PST)


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

I am testing a while,try,catch ValueError,sleep,retry
but Im speculating whether that will work.

Anyone else has a better solution?
Thanks,
--G


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com