[Zope] ZCatalog Key Error

Ingo Assenmacher ingo.assenmacher@post.rwth-aachen.de
Sat, 29 Apr 2000 20:28:21 +0200


Hi.

I am using a ZCatlog as Search Engine and I use a TextIndex aof the attribute Author.
IF there is a hit to my query, I do get:


Error Type: KeyError
                         Error Value: 0


Traceback (innermost last):
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/lib/zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: trigger_search)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: trigger_search)
  File /usr/lib/zope/lib/python/OFS/DTMLMethod.py, line 150, in __call__
    (Object: trigger_search)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: trigger_search)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 648, in renderwob
    (Object: Catalog(sort_on='id',meta_type='material',autoren=au, beschreibung=be, schlagworte=sw, zuordnung=REQUEST['zuordnung'], title=ti))
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 710, in sort_sequence
    (Object: Catalog(sort_on='id',meta_type='material',autoren=au, beschreibung=be, schlagworte=sw, zuordnung=REQUEST['zuordnung'], title=ti))
  File C:\Programme\Clean_HDZ\lib\python\Products\ZCatalog\Lazy.py, line 190, in __getitem__
KeyError: (see above)

so, what does that mean? Where do I have to look??

Thanks for any hint,

regards, Ingo.