[Zope] Re: POSKeyError on the Python Recompile URL

Dieter Maurer dieter at handshake.de
Thu Mar 24 14:18:07 EST 2005


Allen Schmidt wrote at 2005-3-23 18:21 -0500:
>Does this mean anything Dieter??

Sure, a POSKeyError...

>Problems with a Z Class??

No. The code just tries to check whether "meta_type" is
"Z Class" when the POSKeyError occurs.

This does not mean that the problematic object is a ZClass
(very unlikely, indeed)!.

> ...
>  File "/var/www/zope/zope275admin/lib/python/OFS/FindSupport.py", line 138, in
>    is_zclass = getattr(bs, 'meta_type', None) == 'Z Class'

"bs.__class__" in this place will tell you the broken objects class.

Looking around in this frame or in its caller will tell you the
id of the broken object.

This will allow you to get rid of it (there is a HowTo for this somewhere).

-- 
Dieter


More information about the Zope mailing list