[Zope-dev] KeyError in UnIndex

Morten W. Petersen morten@thingamy.net
Fri, 26 Oct 2001 15:47:24 +0200 (CEST)


Hi guys,

I've got an issue here, the following traceback can be seen after several
users modify and view the same object in a short (2-3) minute period.

I've tried recataloging the objects but that doesn't help either;  this
error is seen every time..

 Site Error
An error was encountered while publishing this resource.

KeyError

Sorry, a site error occurred.

Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 223, in
publish_module
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope/lib/python/Zope/__init__.py, line 226, in
zpublisher_exception_hook
    (Object: api)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: index_html)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: index_html)
  File
/usr/local/zope/lib/python/Products/warp_framework/object_manager_inter
face.py, line 88, in index_html
    (Object: api)
  File /usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py, line
324, in __call__
    (Object: object_manager_index)
  File /usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py, line
354, in _bindAndExec
    (Object: object_manager_index)
  File /usr/local/zope/lib/python/App/special_dtml.py, line 244, in
_exec
    (Object: object_manager_index)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_In.py, line 770,
in renderwob
    (Object: get_meta_types)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, line
231, in eval
    (Object: get_number_of_objects(meta_type=_['sequence-item']))
    (Info: get_number_of_objects)
  File <string>, line 0, in ?
  File
/usr/local/zope/lib/python/Products/warp_framework/object_manager.py,
line 115, in get_number_of_objects
    (Object: api)
  File /usr/local/zope/lib/python/Products/WarpFramework/catalog.py,
line 210, in __call__
    (Object: LockableItem)
  File /usr/local/zope/lib/python/Products/ZCatalog/ZCatalog.py, line
597, in searchResults
    (Object: LockableItem)
  File /usr/local/zope/lib/python/Products/ZCatalog/Catalog.py, line
649, in searchResults
  File /usr/local/zope/lib/python/Products/ZCatalog/Catalog.py, line
601, in _indexedSearch
  File
/usr/local/zope/lib/python/Products/PluginIndexes/common/UnIndex.py,
line 474, in keyForDocument
    (Object: PluggableIndex)
KeyError: 1074768801

Any help much appreciated,

Morten

-- 
About Thingamy:

  http://www.thingamy.com - For the CEO
  http://www.thingamy.org - The good stuff
  http://www.thingamy.net - Rants