[Zope] DatabaseError: Corrupted data record...

Tony.McDonald@newcastle.ac.uk Tony.McDonald@newcastle.ac.uk
Fri, 5 Mar 1999 21:37:08 +0000 (GMT)


Hi all,
Firstly, I'd like to thank everyone for the detailed replies I got to my 'Tough Questions' post.
I'll reply individually to you all and try to answer some of the questions that *I* got asked, but as 'they' say...

"...there is one small problem!" (MPaTHG)

My database has got nuked.

I don't know how it happened, but this is the tail of my serve.errors file

  File "lib/python/OFS/Application.py", line 319, in open_bobobase
    Bobobase=Globals.Bobobase=Globals.PickleDictionary(
  File "lib/python/BoboPOS/PickleDictionary.py", line 159, in __init__
    db=apply(DBType,(),storage_options)
  File "lib/python/BoboPOS/SimpleDB.py", line 221, in __init__
    self.open(file_name,create,revision_time,meta_index,read_only)
  File "lib/python/BoboPOS/SimpleDB.py", line 287, in open
    try: self.index,self.pos=read_index(
  File "lib/python/BoboPOS/SimpleDB.py", line 1365, in read_index
    raise DatabaseError, ('Corrupted data record at %s' % pos)
DatabaseError: Corrupted data record at 1087646

Trying to 'start' the server again just results in the serve.errors file being touched.

As you'll know from my 'Touch Questions' post, I'm a novice in Zope (but I've bought the Lutz 'Programming Python' book, have two more on order and have been reading and rereading the docs all week...so I'm learning fast), but this has me stumped.

I haven't got too far into my Zope 'career' yet, so I won't be devastated if I have to replace the database from scratch (how do you do that by the way?), but I'm sorta worried about the way that all my work seems inaccessible to me now.

any and all help would be ... appreciated.
tone.