RE: [Zope] Zcatalog error : FieldIndex doesn't work..
-----Original Message----- From: Geir B Hansen [mailto:geirh@funcom.com] Sent: Monday, October 04, 1999 10:09 AM To: zope@zope.org Subject: [Zope] Zcatalog error : FieldIndex doesn't work..
I have a Zclass with a meta-type of newsitem, and a Zcatalog to index them. Searching with Textindex-fields works like a dream , but when i start using Fieldindexes, the troubles begin :
When i input stuff into both my author-field(fieldindex) and another field(textindex) in my searchform, everything performs nicely, but when i leave all textindex-fields empty, and only select something in my author-field i get the following return :
You're using a broken CVS version from a week ago. Update it. -Michel
You're using a broken CVS version from a week ago. Update it.
-Michel
Thanks, that solved my problem, but now (after updating) i get the following return when doing the " Find Items to ZCatalog " routine : Error Type: AttributeError Error Value: _lexicon Traceback (innermost last): File /usr/local/funweb/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/funweb/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/funweb/src/python/Zope2/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/local/funweb/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/funweb/src/python/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_catalogFoundItems) File /usr/local/funweb/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_catalogFoundItems) File /usr/local/funweb/src/python/Zope2/lib/python/Products/ZCatalog/ZCatalog .py, line 306, in manage_catalogFoundItems (Object: ElementWithAttributes) File /usr/local/funweb/src/python/Zope2/lib/python/Products/ZCatalog/ZCatalog .py, line 541, in ZopeFindAndApply (Object: ElementWithAttributes) File /usr/local/funweb/src/python/Zope2/lib/python/Products/ZCatalog/ZCatalog .py, line 529, in ZopeFindAndApply (Object: ElementWithAttributes) File /usr/local/funweb/src/python/Zope2/lib/python/Products/ZCatalog/ZCatalog .py, line 344, in catalog_object (Object: ElementWithAttributes) File /usr/local/funweb/src/python/Zope2/lib/python/Products/ZCatalog/Catalog. py, line 354, in catalogObject File /usr/local/funweb/src/python/Zope2/lib/python/SearchIndex/UnTextIndex.py , line 210, in index_object AttributeError: (see above) ------------------------------------------------ Geir B Hansen geirh@funcom.com Web-designer / Graphic artist Funcom Oslo ------------------------------------------------
participants (2)
-
Geir B Hansen -
Michel Pelletier