[Zope-dev] KeyError on UnIndex.keyForDocument

Morten W. Petersen morten@thingamy.net
Wed, 26 Sep 2001 12:30:39 +0200 (CEST)


Hia,

While trying to reindex an entire catalog an error is raised, which looks
like this:

Traceback (innermost last):
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/ZPublisher/Publish.py,
line 223, in publish_module
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
    (Object: api)
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: update_instances)
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/ZPublisher/Publish.py,
line 112, in call_object
    (Object: update_instances)
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/Products/WarpFramework/catalog.py,
line 438, in update_instances
    (Object: api)
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/Products/WarpFramework/catalog.py,
line 195, in __call__
    (Object: Traversable)
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/Products/ZCatalog/ZCatalog.py,
line 535, in searchResults
    (Object: Traversable)
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/Products/ZCatalog/Catalog.py,
line 666, in searchResults
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/Products/ZCatalog/Catalog.py,
line 614, in _indexedSearch
  File
/home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/SearchIndex/UnIndex.py,
line 453, in keyForDocument
KeyError: (see above)


Any clues?

Thanks a whole bunch,

Morten