[Zope-CMF] Problem with indexing
Takakazu Tamaki
kaz@oceanbreeze.co.jp
Thu, 08 Nov 2001 01:33:34 +0900
Hi there,
Now I work on building a CMF portal site which will restore a lot of
articles. On testing Zope binary installation with CMF products, I have
some problem to indexing my instance to portal_catalog.
My article class has inherited ZObject, _ZClass_for_ImageDoc,
_ZClass_for_PortalContent, _ZClass_for_DefaultDublinCoreImpl and also
has a custom property named Categories as multiple selection.
After adding an index named 'Categories' as keywordindex, I could put a
couple of its instances to portal site, but the Categories index contain
nothing in spite of the object identifier exist in a Catalog tab.
And also, manual update in both an Indexes and an Advanced tab fail with
error.
Am I wrong anything?
Zope-2.4.2-linux + cvs's CMF + ImageDoc
- when try to Reindex in an Indexes tab.
TypeError
Sorry, a site error occurred.
Traceback (innermost last):
File /var/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module
File /var/zope/lib/python/ZPublisher/Publish.py, line 187, in publish
File /var/zope/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook
(Object: )
File /var/zope/lib/python/ZPublisher/Publish.py, line 171, in publish
File /var/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_reindexIndex)
File /var/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
(Object: manage_reindexIndex)
File /var/zope/lib/python/Products/ZCatalog/ZCatalog.py, line 529, in manage_reindexIndex
(Object: portal_catalog)
File /var/zope/lib/python/Products/ZCatalog/ZCatalog.py, line 515, in reindexIndex
(Object: portal_catalog)
TypeError: catalog_object() got an unexpected keyword argument 'idxs'
- when try to Update Catalog in an Advanced tab
Error Type: AttributeError
Traceback (innermost last):
File /var/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module
File /var/zope/lib/python/ZPublisher/Publish.py, line 187, in publish
File /var/zope/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook
(Object: portal_catalog)
File /var/zope/lib/python/ZPublisher/Publish.py, line 171, in publish
File /var/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_catalogReindex)
File /var/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
(Object: manage_catalogReindex)
File /var/zope/lib/python/Products/ZCatalog/ZCatalog.py, line 338, in manage_catalogReindex
(Object: portal_catalog)
File /var/zope/lib/python/Products/ZCatalog/ZCatalog.py, line 364, in refreshCatalog
(Object: portal_catalog)
File /var/zope/lib/python/Products/CMFCore/CatalogTool.py, line 271, in catalog_object
(Object: portal_catalog)
File /var/zope/lib/python/Products/ZCatalog/ZCatalog.py, line 554, in catalog_object
(Object: portal_catalog)
File /var/zope/lib/python/Products/ZCatalog/Catalog.py, line 439, in catalogObject
File /var/zope/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py, line 139, in index_object
(Object: Categories)
AttributeError: __call__
---
kaz