This is the traceback I am getting when I try to pack the db Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module App.ApplicationManager, line 426, in manage_pack Module ZODB.DB, line 605, in pack Module ZODB.FileStorage.FileStorage, line 1348, in pack Module ZODB.FileStorage.fspack, line 482, in pack Module ZODB.FileStorage.fspack, line 228, in findReachable Module ZODB.FileStorage.fspack, line 304, in findReachableAtPacktime Module ZODB.FileStorage.fspack, line 377, in findrefs Module ZODB.serialize, line 625, in referencesf UnpicklingError: invalid load key, '^\' How can I find out what object is damaged so I can fix it/remove it? My best guess on what caused the problem was undoing a large set of deletes because someone deleted something they should not have and then deleting those objects again. I tried to run fsrecover.py on the db and it seems to just spin at around 99%. I will run it again and just leave it running and see if it ever finishes but I let it run for a pretty long time already. Also any idea on what could have really caused the problem? memtest did not report any errors when I last ran it and the hard drive diagnostics don't report any issues either. The Zope version is 2.9.5 and the db is about 2GB in size and the point at which fsrecover.py stalls is about the last 4 megs. Thanks
On Monday 30 October 2006 20:47, William Heymann wrote: I know it is bad form to reply to your own post but I managed to fix it so I wanted to say how in case anyone else runs into this problem.
This is the traceback I am getting when I try to pack the db
Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module App.ApplicationManager, line 426, in manage_pack Module ZODB.DB, line 605, in pack Module ZODB.FileStorage.FileStorage, line 1348, in pack Module ZODB.FileStorage.fspack, line 482, in pack Module ZODB.FileStorage.fspack, line 228, in findReachable Module ZODB.FileStorage.fspack, line 304, in findReachableAtPacktime Module ZODB.FileStorage.fspack, line 377, in findrefs Module ZODB.serialize, line 625, in referencesf UnpicklingError: invalid load key, '^\'
For some reason the object that was damage was inside a ZCatalog. Darned if I know why that key would refer to something in a ZCatalog. How I found it was I just tried to export one folder after another and worked my way down until I found that object as the one that would not export. Once I had it found I deleted it and just created another one and it works now. So if anyone else runs into this problem and can't find the object if you do an export it will throw an error if it has the bad object in it so you can just export containing folders until you get the problem and then go down until you find the appropriate object.
participants (1)
-
William Heymann