I just had this exact problem. I use Zope 2.6.1 So i tried other versions of fsrecover on Data.fs 2.6.4rc1 3.6.3 2.6.2 2.6.0 All result in a POSKeyError like Dominik Sch�fer is currently having 2.6.1 2.5.1 Truncates the file to 4kb. 2.4.4 Reports nothing to recover. Is it just me? or are all versions of fsrecover no good? Im about to try this now, maybe itll help me or the original author of this thread, even though Dominik had no such luck. http://www.zopelabs.com/cookbook/1054240694 --- Dieter Maurer <dieter@handshake.de> wrote:
Tim Terleg�rd wrote at 2004-1-27 15:43 +0100:
If I remember correctly from my experiences, several Zodb tools are broken is several zope version, it's a little bit like a maze game: you have to look arround :-)
It worked after setting PYTHONPATH correclty. Now I've managed to run fsrecover.py. My original and faulty Data.fs was 170 MB. After fsrecover the new database file is 4 bytes. That's not what I was hoping for :)
You happened to get a broken "fsrecover".
I got _lots_ of __main__.ErrorFound: invalid status, , at XXXXX messages during fsrecover. Seems like everything is corrupt. But surprisingly there are only a very few objects/templates that raise exceptions and most of the site works fine. How come?
Old Zope database files contain ancient transaction records that cause "fsrecover" (I speak of a correct not a broken version!) to issue lots of warnings. Ignore them...
One of the errors I get on the site now is: AttributeError: isPortalContent Ideas?
Look at the traceback!
"AttributeError" usually do not indicate a corrupted database (although they may in rare cases).
-- Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com