[Zope] Attribute Error: has_key

Dieter Maurer dieter@handshake.de
Sun, 25 May 2003 21:22:46 +0200


Jamie White wrote at 2003-5-25 14:47 -0400:
 > Here is the traceback, I still don't know what the problem is.

When you have a traceback, you investigate its last lines...

 > ....
 >   File C:\PROGRA~1\SANDBOX\lib\python\Products\ZCatalog\ZCatalog.py,
 > line 579, in searchResults
 >     (Object: catalog)
 >   File C:\PROGRA~1\SANDBOX\lib\python\Products\ZCatalog\Catalog.py, line
 > 554, in searchResults
 > AttributeError: (see above)

They tell you were the problems has been detected.

In your case, line "554" of "...Products\ZCatalog\Catalog.py" contains
a "has_key" attribute lookup for an object that does not have such
an attribute. Check what this object is and why it does not have
a "has_key".

I cannot do this for you, as we have quite different Zope versions
installed (your's seems to be quite old).


Dieter