[ZODB-Dev] Zeo server error message
Tres Seaver
tseaver at palladion.com
Mon Jan 31 11:21:58 EST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/31/2011 07:27 AM, Sylvain Viollon wrote:
> Hello,
>
> I have a customer who run a ZEO setup with ZODB 3.8.4. They report
> this error:
>
> 2011-01-31T12:02:24 Unexpected error
> Traceback (most recent call last):
> File
> "/opt/zope/newbuildout/parts/zope2/lib/python/ZODB/ConflictResolution.py",
> line 207, in tryToResolveConflict
> resolved = resolve(old, committed, newstate)
> File
> "/opt/zope/newbuildout/parts/zope2/lib/python/ZODB/ConflictResolution.py",
> line 141, in __cmp__
> raise ValueError(
> ValueError: can't reliably compare against different
> PersistentReferences
>
> Does anyone know to what this error relate ?
>
> They have been running their ZEO setup for quite a while, and never
> experienced any issue. That doesn't seems to 'break' the database either.
>
> I am not really sure what to say about this error.
I believe this is a real bug: the PersistentReference class is raising
a ValueError becuase the object being compared is not itself, which
implies an irresolvable conflict: it should be raising ConflictError,
or else a custom error which would be caught by 'tryToResolveConflict'
and converted into a ConflictError.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1G4aYACgkQ+gerLs4ltQ7LMQCdG1u1RF2kWZbhkgwkBbfKTkNy
U9wAoMYQ0Tv/SgiXNlCxuUDZaJWjWAnU
=PH8G
-----END PGP SIGNATURE-----
More information about the ZODB-Dev
mailing list