[ZODB-Dev] Re: KeyError / POSKeyError

Tim Tisdall tisdaltn at mcmaster.ca
Sat Mar 24 12:39:32 EDT 2007


   Where can I find a "fixed" version of fsrefs.py?  I've been looking
via Google but haven't found anything yet.

   -Tim

On 3/23/07, Dieter Maurer <dieter at handshake.de> wrote:
> Tim Tisdall wrote at 2007-3-23 16:03 -0400:
> >  When I run the fsrefs.py on the database I get the following:
> >-----
> >oid 0x0L persistent.mapping.PersistentMapping
> >last updated: 2007-01-02 18:59:32.016077, tid=0x36AA393889A1800L
> >refers to invalid object:
> >       oid ('\x00\x00\x00\x00\x00\x00\x00\x01', None) missing: '<unknown>'
> >
> >oid 0x1L OFS.Application.Application
> >last updated: 2007-01-02 18:59:32.016077, tid=0x36AA393889A1800L
> >refers to invalid objects:
> >       oid ('\x00\x00\x00\x00\x00\x00\x00\x06', None) missing: '<unknown>'
> >       oid ('\x00\x00\x00\x00\x00\x00\x00\x02', None) missing: '<unknown>'
> >       oid ('\x00\x00\x00\x00\x00\x00\x00\x02', None) missing: '<unknown>'
> >       oid ('\x00\x00\x00\x00\x00\x00\x00\x03', None) missing: '<unknown>'
>
> Looks like a buggy "fsrefs":
>
>   It complains that oid 0x0L refers to missing oid 0x1L and
>   then it complains that oid 0x1L refers to other missind oids.
>
>   Apparently, oid 0x1L is there. Otherwise, it would be difficult
>   for it to refer to missing objects.
>
> Do not trust this "fsrefs" version.
>
>
>
> --
> Dieter
>


More information about the ZODB-Dev mailing list