[Zope] Problems with ZCatalog
Stefan Heimann
stefan.heimann@web.de
Sat, 2 Jun 2001 20:18:38 +0100
Hi!
I have created a ZCatalog, but whenever I try to access the 'Catalog' view in the management interface of the ZCatalog,
I get en error message:
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: class NoBrainer has no attribute '__call__'
Traceback (innermost last):
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line 187, in publish
File /usr/local/Zope-2.3.1-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
(Object: Traversable)
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line 171, in publish
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_catalogView)
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
(Object: manage_catalogView)
File /usr/local/Zope-2.3.1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__
(Object: manage_catalogView)
File /usr/local/Zope-2.3.1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec
(Object: manage_catalogView)
File /usr/local/Zope-2.3.1-src/lib/python/App/special_dtml.py, line 236, in _exec
(Object: manage_catalogView)
File /usr/local/Zope-2.3.1-src/lib/python/DocumentTemplate/DT_In.py, line 627, in renderwb
(Object: searchResults)
File /usr/local/Zope-2.3.1-src/lib/python/DocumentTemplate/DT_With.py, line 132, in render
(Object: aq_self)
AttributeError: (see above)
This error also occurs when I try to find new objects for my catalog.
I also created a product which uses ZClasses that are ZCatalog:aware, and I want these objects to get
indexed automatically. Could this be a problem??
Here are some informations about my system:
Zope 2.3.1 (source release, python 1.5.2, linux2)
2.1 (#1, Apr 26 2001, 10:44:51) [GCC 2.95.4 20010319 (Debian prerelease)]
linux2
Thank you
Stefan