[Zope-DB] Unable to fix a POSKeyError

Dieter Maurer dieter at handshake.de
Sun May 20 15:10:00 EDT 2007


Ben Lobo wrote at 2007-5-18 17:33 +0100:
> ...
>I'm getting a POSKeyError when I try to access a particular file in a Plone
>site within the ZMI (see error report at
>http://hobointernet.com/POSKeyError.htm).

You replace this file by a new object using an interative Python interpreter:

    container._setOb(idOfBrokenObject, someNewObject)

After that, you can delete the broken object

    container._delObject(idOfBrokenObject)

and commit.



-- 
Dieter


More information about the Zope-DB mailing list