Corrupt database after packing
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
Toby Dickenson wrote:
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.
For starters, you should still have Data.bbb.old, which is the database before packing. You should be able to get back up and running with that. Please send me (in private email) a gzipped tar ball (or Zip file) of your Data.* files. I'd like to look into this.
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?
Apparently. I'd like to see why. Could an undo have been done after the pack? Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (2)
-
Jim Fulton -
Toby Dickenson