[ZODB-Dev] RelStorage, history-free, pack causes POSKeyError with BTreeFolder2

Chris Withers chris at simplistix.co.uk
Fri Jan 28 07:34:35 EST 2011


Bingo:

svn co https://secure.simplistix.co.uk/svn/relstorage_pack -r 4595
cd relstorage_pack
python2.6 bootstrap.py
bin/buildout

Then in one terminal:

bin/generate --zap --folder_depth 3

Leave it running for a minute or two, and then in another do:

bin/zodbpack pack.conf

After a bit I get:

Traceback (most recent call last):
   File "bin/generate", line 100, in <module>
     generate.generate('/home/zope/relstorage_pack/zodb.conf')
   File "/home/zope/relstorage_pack/generate.py", line 64, in generate
     container.manage_delObjects([path[-1]])
   File 
"/var/buildout-eggs/ZODB3-3.9.6-py2.6-linux-i686.egg/ZODB/Connection.py", line 
847, in setstate
     self._setstate(obj)
   File 
"/var/buildout-eggs/ZODB3-3.9.6-py2.6-linux-i686.egg/ZODB/Connection.py", line 
897, in _setstate
     p, serial = self._storage.load(obj._p_oid, '')
   File 
"/var/buildout-eggs/RelStorage-1.4.0-py2.6.egg/relstorage/storage.py", 
line 462, in load
     raise POSKeyError(oid)
ZODB.POSException.POSKeyError: 0x1675

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZODB-Dev mailing list