[Zope] The immortal POSKeyError

Jake jake at zopezone.com
Sat Jul 17 10:31:57 EDT 2004


These seem to be turning up more and more. Is ZC actively looking at the
problem here?

Jake
-- 
http://www.ZopeZone.com


David Hassalevris said:
> George,
>
> Maybe export all but the bad directory.  Then import back into a fresh
> data.fs.
> I did this once due to necessity and it worked out fine.
>
> Naturally if the bad folder represents alot of work and cannot be
> reproduced
> than thats a hit you will may to take.
>
> David
> ----- Original Message -----
> From: "george donnelly" <list at zettai.net>
> To: <zope at zope.org>
> Sent: Friday, July 16, 2004 5:18 PM
> Subject: [Zope] The immortal POSKeyError
>
>
> 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
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>



More information about the Zope mailing list