[Zope-dev] CVS: Zope-2_4-branch HelpSys b0rken.

Anthony Baxter anthony@interlink.com.au
Thu, 11 Oct 2001 17:52:41 +1000


Someone's busted the help system recently. On a system running the
current Zope-2_4-branch, I get:

For the URL http://ekit-host.ekorp.com:8880/HelpSys/menu

 No error message.

 Error type:  TypeError
 Error value: Catalog addIndex now requires the index type to
            be resolved prior to adding; create the proper index in the caller.

  Traceback follows:
  Traceback (innermost last):
  File /app/zope/ekit_code/lib/python/ZPublisher/Publish.py, line 122, in publish
  File /app/zope/ekit_code/lib/python/ZPublisher/mapply.py, line 104, in mapply
    (Object: menu)
  File /app/zope/ekit_code/lib/python/ZPublisher/Publish.py, line 111, in call_object
    (Object: menu)
  File /app/zope/ekit_code/lib/python/Shared/DC/Scripts/Bindings.py, line 322, in __call__
    (Object: menu)
  File /app/zope/ekit_code/lib/python/Shared/DC/Scripts/Bindings.py, line 342, in _bindAndExec
    (Object: menu)
  File /app/zope/ekit_code/lib/python/App/special_dtml.py, line 182, in _exec
    (Object: menu)
  File /app/zope/ekit_code/lib/python/TreeDisplay/TreeTag.py, line 163, in render
    (Object: a tree tag)
  File /app/zope/ekit_code/lib/python/TreeDisplay/TreeTag.py, line 179, in tpRender
    (Object: HelpSys)
  File /app/zope/ekit_code/lib/python/TreeDisplay/TreeTag.py, line 306, in tpRenderTABLE
    (Object: HelpSys)
  File /app/zope/ekit_code/lib/python/HelpSys/HelpSys.py, line 190, in tpValues
    (Object: HelpSys)
  File /app/zope/ekit_code/lib/python/HelpSys/HelpSys.py, line 120, in helpValues
    (Object: HelpSys)
  File /app/zope/ekit_code/lib/python/App/Product.py, line 355, in getProductHelp
    (Object: PluginIndexes)
  File /app/zope/ekit_code/lib/python/HelpSys/HelpSys.py, line 278, in __init__
    (Object: Help)
  File /app/zope/ekit_code/lib/python/Products/ZCatalog/ZCatalog.py, line 237, in __init__
    (Object: catalog)
  File /app/zope/ekit_code/lib/python/Products/ZCatalog/Catalog.py, line 322, in addIndex
TypeError: Catalog addIndex now requires the index type to
            be resolved prior to adding; create the proper index in the caller.