[Zope] ZTopics not working right --Error Value: Vocabulary

Umesh Soni u.soni@cs.ucl.ac.uk
Wed, 29 Nov 2000 10:24:26 +0000


Hi I am trying to use ZTopics to create a visual hierarchy. I've 
got ZTopics installed ok but I am having problems with using them.

If I create a top level ZTopic all is well and the ztopic will filter
my catalog fine. However, if I try to create a hierarchy -even if 
only one level deep, I get the following error.

Error Type: AttributeError
Error Value: Vocabulary

Traceback (innermost last):
  File /usr/local/Zope-2.2.4b1-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /usr/local/Zope-2.2.4b1-src/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /usr/local/Zope-2.2.4b1-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/Zope-2.2.4b1-src/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /usr/local/Zope-2.2.4b1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: index_html)
  File /usr/local/Zope-2.2.4b1-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: index_html)
  File /usr/local/Zope-2.2.4b1-src/lib/python/OFS/DTMLMethod.py, line 172, in __call__
    (Object: index_html)
  File /usr/local/Zope-2.2.4b1-src/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__
    (Object: index_html)
  File /usr/local/Zope-2.2.4b1-src/lib/python/Products/ZTopic/Topic.py, line 180, in contents
    (Object: Traversable)
  File /usr/local/Zope-2.2.4b1-src/lib/python/Products/ZTopic/Topic.py, line 228, in _contentsSet
    (Object: Traversable)
  File /usr/local/Zope-2.2.4b1-src/lib/python/SearchIndex/UnTextIndex.py, line 401, in _apply_index
  File /usr/local/Zope-2.2.4b1-src/lib/python/SearchIndex/UnTextIndex.py, line 476, in query
  File /usr/local/Zope-2.2.4b1-src/lib/python/SearchIndex/UnTextIndex.py, line 196, in getLexicon
AttributeError: (see above)


I haven't a clue if the problem is with ZTopics or the lexicon stuff 
within zope.

Anyone know what's going on here?

umesh