<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>Hi,<br><br>I'm having a bit of a problem that looks like a 32 bit vs 64 bit issue with RelStorage, can anyone help?<br><br>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;<br><br><span style="font-family: Courier,Courier New,mono;">======================================================================</span><br style="font-family: Courier,Courier New,mono;"><span style="font-family: Courier,Courier New,mono;">
FAIL: checkPackWithMultiDatabaseReferences (__main__.MySQLTests)</span><br style="font-family: Courier,Courier New,mono;"><span style="font-family: Courier,Courier New,mono;">
———————————————————————-</span><br style="font-family: Courier,Courier New,mono;"><span style="font-family: Courier,Courier New,mono;">
Traceback (most recent call last):</span><br style="font-family: Courier,Courier New,mono;"><span style="font-family: Courier,Courier New,mono;">
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</span><br style="font-family: Courier,Courier New,mono;"><span style="font-family: Courier,Courier New,mono;">
    assert(len(self._storage) == 1)</span><br style="font-family: Courier,Courier New,mono;"><span style="font-family: Courier,Courier New,mono;">
AssertionError
———————————————————————-</span><br><br>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;<br><br style="font-family: Courier,Courier New,mono;"><p style="font-family: Courier,Courier New,mono;">======================================================================<br>
ERROR: checkPackUnlinkedFromRoot (__main__.MySQLTests)<br>
———————————————————————-<br>
Traceback (most recent call last):<br>
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<br>
    tid = log[0]['id']<br>
IndexError: list index out of range</p>
<p style="font-family: Courier,Courier New,mono;">======================================================================<br>
ERROR: checkTransactionalUndoAfterPackWithObjectUnlinkFromRoot (__main__.MySQLTests)<br>
———————————————————————-<br>
Traceback (most recent call last):<br>
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<br>
    tid = log[0]['id']<br>
IndexError: list index out of range</p>
<p style="font-family: Courier,Courier New,mono;">======================================================================<br>
FAIL: checkLoadBefore (__main__.MySQLTests)<br>
———————————————————————-<br>
Traceback (most recent call last):<br>
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<br>
    assert prev &lt; middle &lt; cur  # else the snooze() trick failed<br>
AssertionError</p>
<p style="font-family: Courier,Courier New,mono;">======================================================================<br>
FAIL: checkPackUndoLog (__main__.MySQLTests)<br>
———————————————————————-<br>
Traceback (most recent call last):<br>
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<br>
    self.assertEqual(1,len(self._storage.undoLog()))<br>
AssertionError: 1 != 0</p>
<p style="font-family: Courier,Courier New,mono;">======================================================================<br>
FAIL: checkPackWithMultiDatabaseReferences (__main__.MySQLTests)<br>
———————————————————————-<br>
Traceback (most recent call last):<br>
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<br>
    assert(len(self._storage) == 1)<br>
AssertionError</p>
<p style="font-family: Courier,Courier New,mono;">======================================================================<br>
FAIL: checkTransactionalUndoAfterPack (__main__.MySQLTests)<br>
———————————————————————-<br>
Traceback (most recent call last):<br>
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<br>
    eq(len(info2), 2)<br>
AssertionError: 0 != 2</p>
<span style="font-family: Courier,Courier New,mono;">———————————————————————-</span><br><br>I have tried;<br><br>System Python @ 2.5 and Plone Python @ 2.4.5<br>easy_install RelStorage and SVN RelStorage<br>ZODB 3.8.0 and ZODB 3.8.1<br><br>All essentially give the same results.<br>[I've tried ZODB 3.9, but you really don't want to see that one.]<br><br>Can anyone point me in the right direction / suggest something else to try ???<br><br>tia<br>Gareth.<br></div></body></html>