[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zodb-dev
Subject:    Re: [ZODB-Dev] removing invalid object references
From:       ethan fremen <lists () mindlace ! net>
Date:       2004-12-25 16:45:12
Message-ID: 41CD9918.6020104 () mindlace ! net
[Download RAW message or body]

Tim Peters wrote:
> [ethan fremen]
> 
>>I'm trying to repair a Data.fs that seems to have a few issues. Mostly,
>>they involve references to objects that don't exist- this is after doing
>>fsrecover.py on the database.
> 
> 
> So fstest.py runs without complaint now?
> 

fsrecover.py runs without complaint, fstest.py runs without complaint. 
fsrefs.py complains about two (new) objects before dying with the same 
error.

This is after I've used a script I wrote that cobbled together various 
other suggestions for finding and deleting broken objects.

The pack fails with an unpickling error, every time, on the same object. 
  Unfortunately it gives me no indication as to what object is so 
horked; no OID, no nothing.

I'm not sure how to proceed at this point; I guess I'd like to find some 
way to tell the pack operation "if you can't unpickle, seek forward 
until you find another header, and just don't bother with this one".

I don't know if that's the right way to approach it, but that's what 
occurs to me at the moment.

~ethan fremen
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic