[ZODB-Dev] Re: Can't pack ZODB anymore

shan sverige aku at europe.com
Wed Jul 28 10:15:03 EDT 2004


> That figures.  As
> 
>     http://zope.org/Wikis/ZODB/FileStorageBackup
> 
> says, fstest quits upon finding the first problem.  If I were you, I'd
> temporarily comment out this part of fstest.py, to see whether it finds
> anything else wrong:
> 
>     if tid <= ltid:
>         raise FormatError("%s time-stamp reduction at %s: %s <= %s" %
>                           (path, pos, hexify(tid), hexify(ltid)))

did this and fstest gave no further errors.
Hopefully this is good news.

> > running fsrefs doesn't work:
> > Traceback (most recent call last):
> >   File "fsrefs.py", line 68, in ?
> >     from ZODB.FileStorage import FileStorage
> > ImportError: No module named ZODB.FileStorage
> 
> You certainly have ZODB.FileStorage, so you'll need to fiddle your
> PYTHONPATH so fsrefs can find it.  You haven't said which OS you're using,
> so it's hard to be more specific than that.  It depends on where this stuff
> got installed on your box.  If this is a Zope installation, you'll want to
> get Zope's lib/python subdirectory on PYTHONPATH.  Then the import will
> work.

did this: "export PYTHONPATH=/usr/local/Zope/lib/python/"
and ran fsrefs. No errors were reported.
(btw: I run Slackware linux, kernel 2.4.18)


> > Is there really no way to get this resolved, i.e. a dump/reload  ?
> 
> I don't know.  It depends on how badly damaged your .fs file is.  That
> hasn't been determined yet.

apart from that ONE error, the above 2 utilities give no further error. 

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



More information about the ZODB-Dev mailing list