[Zope] Broken DB

Christopher Petrilli petrilli@amber.org
Tue, 30 Mar 1999 13:03:10 -0500


On Tue, Mar 30, 1999 at 07:53:09PM +0200, Johan Lindstrom wrote:
> Hi!
> 
> I get this error when trying to start the server with start.bat:
> 
> Traceback (innermost last):
> [snipped]
>   File "E:\appl\net\Zope\Rio\lib\python\BoboPOS\SimpleDB.py", line 1365, in
> read _index   raise DatabaseError, ('Corrupted data record at %s' % pos)
> DatabaseError: Corrupted data record at 1903771
> 
> Can I recover? The db doesn't contain anything important so it's really
> okay to reinstall, should that be neccessary.

It looks like you're running an older release 1.9.x something?  1.10.x
will automatically fix the database under 90% of the circumstances by
simply truncating the bad record.  This should fix your problem.

BTW, it's always helpful to give information on what release of Zope
you're using.

Chris
-- 
| Christopher Petrilli                      ``Television is bubble-gum for
| petrilli@amber.org                          the mind.''-Frank Lloyd Wright