[Zope] Corrupt database after packing
Toby Dickenson
tdickenson@oriongroup.co.uk
Fri, 28 May 1999 14:12:55
Yesterday morning our Zope 1.10.2 was running well, but now refuses to
start up with the traceback below. The only unusual action in this
period was packing the database.
I can piecing together some details from the traceback and copies of
my database before and after the pack (using bbb.py to convert to XML)
The object with id 5 is Control Panel; this object does not appear
in the database after the pack. Has packing purged some records that
it should not have done?
Thanks for any help,
Toby Dickenson
D:\Program Files\Dev>q:\python\python.exe "D:\Program Files\Dev\serve.
py" BOBO_DEBUG_MODE=1
Traceback (innermost last):
File "D:\Program Files\Dev\serve.py", line 100, in ?
ZopeHTTPServer.main(args)
File "D:\Program Files\Dev\ZopeHTTPServer\ZopeHTTPServer.py", line 498
, in main
start(module_file,host,port,threading,env)
File "D:\Program Files\Dev\ZopeHTTPServer\ZopeHTTPServer.py", line 436
, in start
set_published_module(module_file,BoboRequestHandler,env)
File "D:\Program Files\Dev\ZopeHTTPServer\ZopeHTTPServer.py", line 432
, in set_published_module
__import__(name) # to catch problem modules right away
File "D:\Program Files\Dev\lib\python\Main.py", line 103, in ?
Bobobase=OFS.Application.open_bobobase()
File "D:\Program Files\Dev\lib\python\OFS\Application.py", line 356,
in open_bobobase
app.Control_Panel.Products=App.Product.ProductFolder()
File "D:\Program Files\Dev\lib\python\BoboPOS\PickleJar.py", line 252,
in setstate
file=StringIO(self.raw(oid))
File "D:\Program Files\Dev\lib\python\BoboPOS\PickleJar.py", line 217,
in raw
return self.db[oid]
File "D:\Program Files\Dev\lib\python\BoboPOS\SimpleDB.py", line 325,
in __getitem__
pos=self.index[oid]
KeyError: 5