BTrees have ways to diagnostic (and maybe repair) themselves, you should ask about this on the zodb-dev@zope.org mailing-list. Florent In article <20041206204921.7857.qmail@web53303.mail.yahoo.com> you write:
In the end, I reinstalled Zope, thanks Robert.
But I still have one small problem. While running Python 2.4, a single corrupted object was created. It is an instance of Folder, and appears out of alphabetical order in a Btree folder. I can't edit or delete it, and Zope won't pack.
In the past, I've tried fsrecover.py without results, and have had to truncate my ZODB as described in http://www.zope.org/Members/itamar/CorruptedZODB. This time I will be aiming to remove one object buried under tens of thousands of transactions, so the procedure in the howto does not really apply. I will just have to guess how much to cut off.
Is there not a better way?
Thanks!
Ken
--- Robert Rottermann <robert@redcor.ch> wrote:
you have to reinstall Zope after you have changed your Python, since the correct libraries and their location must be known at compile time.
Go to your Zope source directory execute the following commands: - make clean - make - make install
Be careful to store away your Data.fs before doing this. Nothing should happen to it but "Vorsicht ist die Mutter der Porzelankiste" we say in German.
Robert
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ 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 )
-- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com