[ZPatterns] ZCatalog: UnKeywordIndex error
Jean Jordaan
[email protected]
Wed, 12 Dec 2001 11:43:13 +0200
Hi all
Does anyone have any idea why this code::
WHEN OBJECT CHANGED CALL
Catalog.uncatalog_object(_.string.join(self.getPhysicalPath(),'/'))
, Catalog.catalog_object( self
, _.string.join(self.getPhysicalPath(),'/'))
would trigger this error::
2001-12-12T08:21:11 ERROR(200) UnKeywordIndex unindex_object could not
remove documentId 1144296079 from index ComponentVersions. This should
not happen.
Traceback (innermost last):
File /usr/local/zope/2-3-0/lib/python/SearchIndex/UnIndex.py, line 236,
in removeForwardIndexEntry
KeyError: 1144296079
(in /home/httpd/zope-instances/dev-creme/var/z2.log). The snippet of
SkinScript above is triggered by this call in a python script::
license_propertysheet = license.propertysheets.basic
license_propertysheet.manage_changeProperties(
SystemReminders = system_reminders)
When I look at documentId 1144296079 in the catalog, it's fine
http://blommie:11080/Catalog/manage_objectInformation?rid=1144296079
'ComponentVersions' is the first index.
Calls to manage_changeProperties works fine from methods of the
License ZClass, and from the Licenses specialist. The call that's
giving trouble is in a different specialist (Reminders). Would
this make any difference?
Any advice would be sorely appreciated ..
Jean Jordaan