[ZODB-Dev] Ape and ConflictError's

Shane Hathaway shane@zope.com
Thu, 10 Apr 2003 10:05:53 -0400


Rocky Burt wrote:
> One question, specifically is... what, exactly, does "(3L,) already
> exists" mean?  It shouldn't be inserting anything into the database (I
> don't think), since I'm just viewing my /MySite/Data site to get these
> errors.

It means your application is writing to the database unintentionally. 
To troubleshoot unintentional writes, I usually add a call to 
"traceback.print_stack()" to the Transaction.register() method in 
ZODB/Transactions.py.

Now, you probably shouldn't be getting that kind of conflict, so there's 
still some other mystery here.

Shane