hi I found an entire hierarchy had gone POSKeyError on me today, and the bad folder hierarchy resists deletion. below is a transcript of the session, BadFolder is the first inaccessible folder. it has a lot of peer folder that i don't want to lose. This is Zope 2.7.0 and Python 2.3.3. The ZODB is about 1.5GB and some parts of it have been upgraded over time from as early as zope 2.4.x. fsrecover.py reports zero bytes removed. Since i can't delete it i am uncertain as to what to try next. thanks in advance for any suggestions. zopectl debug <snip>
from Zope import app from ZODB import POSException from OFS import DTMLMethod from OFS import Folder from AccessControl import User root= app() obj= root.unrestrictedTraverse('/BTreeFolder/BadFolder') obj.manage_delObjects('SoleObjectOfBadFolder')
Traceback (most recent call last): File "<stdin>", line 1, in ? File "/home/bradc/zope/270/lib/python/ZODB/Connection.py", line 561, in setstate p, serial = self._storage.load(oid, self._version) File "/home/bradc/zope/270/lib/python/ZODB/FileStorage.py", line 687, in load return self._load(oid, version, self._index, self._file) File "/home/bradc/zope/270/lib/python/ZODB/FileStorage.py", line 655, in _load raise POSKeyError(oid) ZODB.POSException.POSKeyError: 00000000001ae582 <--> george donnelly ~ http://www.zettai.net/ ~ "Quality Zope Hosting" Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites Yahoo, AIM: zettainet ~ ICQ: 51907738 ~ Sales (USA): 1-866-967-3669