[ZODB-Dev] KeyError / POSKeyError

Christian Theune ct at gocept.com
Fri Mar 23 12:15:55 EDT 2007


Can you tell whether you get a KeyError or a POSKeyError?

If you get a KeyError, it's likely that the app (Plone) is broken, e.g.
during the migration you mentioned.

A POSKeyError would (very likely) not talk about a a key like
'fammed-old', so I suspect you don't have a corruption in your
storage/database but your application.


Am Freitag, den 23.03.2007, 12:04 -0400 schrieb Tim Tisdall:
>   I've got a 1gb ZODB that contains a single plone site and I'm not
> able to access any part of it via the ZMI.  It keeps saying that it's
> looking for key "fammed-old" which is another plone site in another
> ZODB file.  Basically I managed to partly migrate a Plone 2.0 to Plone
> 2.5 and then copied over the file contents from that instance into a
> new Plone instance.  I have no idea why the new one would be
> referencing the old one, but it seemed to always throw this error if
> the old database was unmounted.
>   I've tried several "cookbook" fixes I've found, but the problem is
> that the plone instance itself is throwing the KeyError.  Deleting the
> whole plone instance is not going to help me much.  Any suggestions?
>   I've also tried running the fsrecovery.py, but it simply makes a
> complete duplicate of the file.  fstest.py doesn't seem to find any
> errors.  fsrefs.py finds a series of errors, but I have no idea what
> to do with that information.  It seems that it's finding that it's
> referencing "fammed-old" and that that doesn't exist.
>   -Tim
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20070323/8d9e5864/attachment.bin

More information about the ZODB-Dev mailing list