Hi, 

I'm having a bit of a problem that looks like a 32 bit vs 64 bit issue with 
RelStorage, can anyone help? 

If I do a clean install of RelStorage and ZODB on a 32 bit Ubuntu system, I get 
one error when I run the tests as follows; 

====================================================================== 
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-i686.egg/ZODB/tests/PackableStorage.py”,
 line 329, in checkPackWithMultiDatabaseReferences 
assert(len(self._storage) == 1) 
AssertionError ———————————————————————- 

I'm not convinced this in itself is a problem. However, when I do the same on a 
64 bit system I get additional errors as follows; 



====================================================================== 
ERROR: checkPackUnlinkedFromRoot (__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 558, in checkPackUnlinkedFromRoot 
tid = log[0]['id'] 
IndexError: list index out of range 

====================================================================== 
ERROR: checkTransactionalUndoAfterPackWithObjectUnlinkFromRoot 
(__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/TransactionalUndoStorage.py”,
 line 506, in checkTransactionalUndoAfterPackWithObjectUnlinkFromRoot 
tid = log[0]['id'] 
IndexError: list index out of range 

====================================================================== 
FAIL: checkLoadBefore (__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/RevisionStorage.py”,
 line 62, in checkLoadBefore 
assert prev < middle < cur # else the snooze() trick failed 
AssertionError 

====================================================================== 
FAIL: checkPackUndoLog (__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 629, in checkPackUndoLog 
self.assertEqual(1,len(self._storage.undoLog())) 
AssertionError: 1 != 0 

====================================================================== 
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 
assert(len(self._storage) == 1) 
AssertionError 

====================================================================== 
FAIL: checkTransactionalUndoAfterPack (__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/TransactionalUndoStorage.py”,
 line 452, in checkTransactionalUndoAfterPack 
eq(len(info2), 2) 
AssertionError: 0 != 2 ———————————————————————- 

I have tried; 

System Python @ 2.5 and Plone Python @ 2.4.5 
easy_install RelStorage and SVN RelStorage 
ZODB 3.8.0 and ZODB 3.8.1 

All essentially give the same results. 
[I've tried ZODB 3.9, but you really don't want to see that one.] 

Can anyone point me in the right direction / suggest something else to try ??? 

tia 
Gareth. 
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to