[Zope-dev] Fwd: Help with RelStorage ...

Shane Hathaway shane at hathawaymix.org
Sun Dec 14 12:22:05 EST 2008


Gareth Bult wrote:
> Ok,
> 
> I'm working from SVN trunk .. just did svn up, build, install .. still get this;
> (I'm including the cruf too just in case it means anything)
> 
> ............WARNING:relstorage:Reconnecting load_conn: (2006, 'MySQL server has gone away')
> ...ERROR:ZODB.ConflictResolution:Unexpected error
> Traceback (most recent call last):
>   File "/opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/ConflictResolution.py", line 207, in tryToResolveConflict
>     resolved = resolve(old, committed, newstate)
>   File "/opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/tests/ConflictResolution.py", line 50, in _p_resolveConflict
>     raise AttributeError("no attribute (testing conflict resolution)")
> AttributeError: no attribute (testing conflict resolution)
> .ERROR:ZODB.ConflictResolution:Unexpected error
> Traceback (most recent call last):
>   File "/opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/ConflictResolution.py", line 207, in tryToResolveConflict
>     resolved = resolve(old, committed, newstate)
> TypeError: _p_resolveConflict() takes exactly 3 arguments (4 given)
> .....WARNING:relstorage:Storage KeyError on oid 1: creation has been undone; Current transaction is 250672468210118451; Recent object tids: [250672468210118451L, 250672468209278634L]
> ...........................................F..........WARNING:relstorage:Storage KeyError on oid 1: creation has been undone; Current transaction is 250672469461016780; Recent object tids: [250672469461016780L, 250672469459548552L, 250672469458076313L, 250672469457154321L, 250672469456718387L, 250672469456239496L]
> ............WARNING:relstorage:Storage KeyError on oid 1: creation has been undone; Current transaction is 250672469634397320; Recent object tids: [250672469634397320L, 250672469616669337L, 250672469607342097L, 250672469601011814L]
> ...................

Yeah, this cruft means it's actually doing exactly the right thing. :-/ 
  It's testing error conditions, but several of those error conditions 
produce log messages as a side effect.

> ======================================================================
> FAIL: checkPackWithMultiDatabaseReferences (__main__.MySQLTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/tests/PackableStorage.py", line 329, in checkPackWithMultiDatabaseReferences

That "ZODB3-3.8.1-py2.4-linux-x86_64.egg" part of the path implies 
you're still testing the 3.8.1 release, not the SVN trunk.

Shane



More information about the Zope-Dev mailing list