On Thu, Mar 22, 2012 at 11:07:09PM +0200, Marius Gedminas wrote: > On Thu, Mar 22, 2012 at 04:13:34PM -0400, Claudiu Saftoiu wrote: > > Ok, I just got a ConflictError: > > > > ConflictError: database conflict error (oid 0x139c35, class > > BTrees.OOBTree.OOBucket, serial this txn started with 0x03954ed053c0ff88 > > 2012-03-22 16:48:19.629820, serial currently committed 0x03954f996d61c944 > > 2012-03-22 20:09:25.636401) > > > > in my paster shell I do: > > > > In [14]: root._p_jar[0x139c35] > > OIDs are 64-bit numbers internally encoded as 8-byte-long binary strings. > Use > > >>> !from ZODB.utils import p64 > >>> p root._p_jar.get(p64(0x139c35))
Sorry, I shouldn't use pdb notation on the interactive Python prompt. >>> from ZODB.utils import p64 >>> root._p_jar.get(p64(0x139c35)) > or http://pypi.python.org/pypi/zodbbrowser Marius Gedminas -- IBM motto: "TEN vowels? Don't you know vowels are scrd?" -- Linus Torvalds
signature.asc
Description: Digital signature
_______________________________________________ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev