[Zope] database conflict error

Andreas Jung lists at zopyx.com
Sat Jul 14 02:52:10 EDT 2007



--On 13. Juli 2007 12:47:33 -0400 Sudesh soni 
<sudesh.soni at ebusinessware.com> wrote:

> BlankHi,
>
> I am recieving following errors frequently as shown below:
>
># 1-----------------------------------------------------------------------
># --
>
> Site Error
> An error was encountered while publishing this resource.
>
> Error Type: ConflictError
> Error Value: database conflict error (oid 0x09, class
> Products.Transience.Transience.Increaser, serial this txn started with
> 0x036ee0b224215066 2007-07-09
>
> 16:50:08.468000, serial currently committed 0x036ee0b39eeeeeee 2007-07-09
> 16:51:37.250000)
>
># 2-----------------------------------------------------------------------
># -----
>
> database conflict error (oid 0x7b61, class BTrees._OOBTree.OOBTree,
> serial this txn started with 0x036ee63aae219655 2007-07-10
> 16:26:40.812000, serial
>
> currently committed 0x036ee63b55aa87bb 2007-07-10 16:27:20.078000)
>

Identify the corresponding object through a script (which you need to run
through "zopectl run ..."

from ZODB.util import p64
print app._p_jar[p64(your_oid)]

If necessary implement application level conflict resolution by
implementing a _p_resolveConflict() handler (check with the various
ZODB docs on zope.org).

-aj


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070714/b45ebaa2/attachment.bin


More information about the Zope mailing list