Stoons - Headnet wrote at 2006-3-29 13:06 +0200:
> ...
>Of cause I have tried to del / manage_delObjects it, but both times
>ZODB.POSException.POSKeyError: 0x06f21b was returned in both cases
>
>I ran the following:
>===========
>o = app['kristendom']['medier']['billeder']['image.2006-03-19.5540330656']
>for m in dir(o):
>    try:
>        print getattr(o,m)
>    except:
>        pass
>
>===========
>and it returned:
>===========
><bound method Acquirer.(?) of <Image at 0x42754dd0>>
><CMethod object at 0x40decd00>
>
>===========
>
>It seems that it is an "empty transition"
>
>Can somebody please help..?

You do not give very precise information...

>From what you describe I *guess*:

  The "POSKeyError" happens on a child of "image.2006-03-19.5540330656".
  This seems to be an image.

Now, there are losts of different "Image" types around.
Let's assume it is a "OFS.Image.Image" object.
Such an object has a single persistent subobject: the real image
data -- maintained in the attribute "data".

If all guesses are correct, then you would have lost the image
data. In this case, you could probably simple delete the image
to get rid of the "POSKeyError".


If some guesses are wrong, you must provide more information
to get the remaining guesses right...


-- 
Dieter
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to