[ZODB-Dev] Repair corrupted RelStorage database

Rudá Porto Filgueiras rudazz at gmail.com
Sat Jan 30 02:42:50 EST 2010


How can I repair or verify a RelStorage database?
I´m using MySQL Adapter, there is any script like fsrecover.py

Follow the failure when RelStorage try to load some objects:

2010-01-30T04:25:14 ERROR ZODB.Connection Couldn't load state for 0x04ef0f59
Traceback (most recent call last):
  File
"/usr/local/zope-agecom/plone/eggs/ZODB3-3.8.4_polling-py2.4-linux-x86_64.egg/ZODB/Connection.py",
line 847, in setstate
    self._setstate(obj)
  File
"/usr/local/zope-agecom/plone/eggs/ZODB3-3.8.4_polling-py2.4-linux-x86_64.egg/ZODB/Connection.py",
line 888, in _setstate
    p, serial = self._storage.load(obj._p_oid, self._version)
  File
"/usr/local/zope-agecom/plone/eggs/RelStorage-1.4.0b1-py2.4.egg/relstorage/storage.py",
line 432, in load
    raise POSKeyError(oid)
POSKeyError: 0x04ef0f59

-- 
Rudá Porto Filgueiras
http://python-blog.blogspot.com
http://twitter.com/rudaporto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zodb-dev/attachments/20100130/c626645b/attachment.html 


More information about the ZODB-Dev mailing list