Dominique Lederer wrote at 2009-3-30 11:15 +0200:
>I am using ZODB 3.8.1 with Relstorage 1.1.3 on Postgres 8.1
>Frequently i am getting messages like:
>Unexpected error
>Traceback (most recent call last):
>  File
>line 207, in tryToResolveConflict
>    resolved = resolve(old, committed, newstate)
>  File
>line 55, in __cmp__
>    return cmp(
>AttributeError: 'PersistentReference' object has no attribute '_p_jar'

You traceback looks strange. I miss a "resolve" line.

The bug is probably in this "resolve" function (missing in the traceback).
The state handed down to the "resolve" function does not contain
true persistent objects; instead they are replaced by "PersistentReference"s
with almost no functionality. I think, the only thing one can do
with them is compare them for equality.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -

Reply via email to