[ZODB-Dev] Re: KeyError / POSKeyError

Dieter Maurer dieter at handshake.de
Fri Mar 23 17:43:36 EDT 2007


Tim Tisdall wrote at 2007-3-23 16:32 -0400:
>   I tried running a pack on the database via fsrecover.fs and here's
>what I get:
>
>-----
>Recovering Data_fammedmain.fs into Data_fammedmain-recovery.fs
>. 1 . 2 . 3 . 4 . 5 . 6 . 7 . 8 . 9 . 0
>0 bytes removed during recovery
>Packing ...
>Traceback (most recent call last):
> ...
>    return referencesf(self._file.read(dh.plen))
>  File "/opt/Plone-2.5.2/lib/python/ZODB/serialize.py", line 645, in referencesf
>    oid = oid_loaders[reference_type](*args)
>KeyError: 'n'

Looks like the physical structure of your storage is okay but
some object data is corrupted.

Try to restore the storage from a backup.



-- 
Dieter


More information about the ZODB-Dev mailing list