[Zope] The immortal POSKeyError

Paul Winkler pw_lists at slinkp.com
Sat Jul 17 00:15:14 EDT 2004


On Fri, Jul 16, 2004 at 07:18:25PM -0500, george donnelly wrote:
> 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.

(snip)
> >>> obj= root.unrestrictedTraverse('/BTreeFolder/BadFolder')
> >>> obj.manage_delObjects('SoleObjectOfBadFolder')

since this doesn't work, and there's nothing else in BadFolder,
have you tried
App.BTreeFolder.manage_delObjects('BadFolder') ?

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list