[ZODB-Dev] Recovering from a POSkeyerror

Paulo Eduardo Neves pauloneves at gmail.com
Thu Jan 13 12:38:43 EST 2005


Hi, I'm somewhat desperade, maybe someone here can help me.

I'm trying to recover from a POSkeyerror in a ZClass. I'm still using Zope 2.6.4

I have the ZClass instances working fine, but when I go to this URL in
the management web interface:

/Control_Panel/Products/Comentario/ComentarioClass/

I get the POSkeyerror

I've read the tips in
http://www.zopelabs.com/cookbook/1054240694

The problem is that I can't find the problem object.

obj= root.unrestrictedTraverse("Control_Panel/Products/Comentario/ComentarioClass")

obj.objectItems() is empty
if I try with the parent folder, I can access all objects without an POSKeyError

Can anyone help me to find the corrupted object? It looks like there's
some kind of ZClass magic in there.

When I run fsfrefs.py I get the following output:

oid 0x324ff failed to load
oid 0x32500 failed to load
oid 0x32506 failed to load
oid 0x32507 failed to load
oid 0x3250a failed to load
oid 0x3250b failed to load
oid 0x32510 failed to load
oid 0x32511 failed to load
oid 0x32514 failed to load
oid 0x32515 failed to load
oid 0x32516 failed to load
oid 0x32517 failed to load
oid 0x32518 failed to load
oid 0x32519 failed to load
oid 0x3251a failed to load
oid 0x3251b failed to load
oid 0x3251c failed to load
oid 0x3251d failed to load
oid 0x3251e failed to load
oid 0x330df failed to load

It looks like I have the problem in more than one object.:-(

I also don't know how to discover the parent folder of an object having the oid.

Would upgrade to 2.7 help me?

Thanks in advance for any help.
-- 
Paulo Eduardo Neves
Agenda do Samba & Choro
http://www.samba-choro.com.br


More information about the ZODB-Dev mailing list