[ZODB-Dev] [fsrefs] KeyError: 'n'

Jim Fulton jim at zope.com
Tue Feb 16 07:38:00 EST 2010


On Tue, Feb 16, 2010 at 6:39 AM, Andreas Jung <lists at zopyx.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
>
> Jim Fulton wrote:
>> On Mon, Feb 15, 2010 at 11:47 AM, Andreas Jung <lists at zopyx.com>
>> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>
>>> Jim Fulton wrote:
>>>> On Mon, Feb 15, 2010 at 11:20 AM, Sidnei da Silva
>>>> <sidnei.da.silva at gmail.com> wrote:
>>>>> Hi Andreas,
>>>>>
>>>>> Your error looks quite similar to:
>>>>>
>>>>> http://www.mail-archive.com/zodb-dev@zope.org/msg02207.html
>>>>>
>>>>> Maybe it's the same issue?
>>>> Ah, good point. What version of ZODB does Zope 2.10 use?
>>> 3.7.X
>>
>> OK, well, I still recommend using multi-zodb-check-refs.
>>
>
> Thanks - this is working. I wrote a small blog entry on this topic:
>
> http://www.zopyx.de/blog/checking-your-zodb-storages-for-poskey-errors
>
> The more interesting question is: is there some tool for fixing Poskey
> errors?

Not that I'm aware of.   If you have a backup, you might be able to
recover the missing object from the backup.   Otherwise, if you
know what's referencing the object, you might be able to
use application knowledge to affect a repair.  If you use the -r
option, you get a database of reverse references, which is
very handy for figuring out what's missing.

Jim

-- 
Jim Fulton


More information about the ZODB-Dev mailing list