On 28 Jan 2011, at 21:58, Jürgen Herrmann <juergen.herrm...@xlhost.de> wrote:
> On Fri, 28 Jan 2011 12:34:35 +0000, Chris Withers wrote: >> 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 > > Afaics you use zodbpack's default of "days=0". This is known to produce > POSKeyErrors if the database is written to while packing. Try with > something > like days=0.1 . > > Regards, > Jürgen > -- >>> XLhost.de ® - Webhosting von supersmall bis eXtra Large << > > XLhost.de GmbH > Jürgen Herrmann, Geschäftsführer > Boelckestrasse 21, 93051 Regensburg, Germany > > Geschäftsführer: Jürgen Herrmann > Registriert unter: HRB9918 > Umsatzsteuer-Identifikationsnummer: DE245931218 > > Fon: +49 (0)800 XLHOSTDE [0800 95467833] > Fax: +49 (0)800 95467830 > Web: http://www.XLhost.de > _______________________________________________ > For more information about ZODB, see the ZODB Wiki: > http://www.zope.org/Wikis/ZODB/ > > ZODB-Dev mailing list - ZODB-Dev@zope.org > https://mail.zope.org/mailman/listinfo/zodb-dev > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev