[Zope-CMF] Re: [Zope] CMF reconfiguration error

Jeff Senn senn@maya.com
03 Apr 2001 08:38:02 -0500


[on the Zope list] "Hans de Wit" <hw@scp.nl> writes:

> I tried the CMF on a clean Zope 2.3.1 configuration. Everything went pretty good, except 
> for the reconfiguration of the portal: 
> 
> Error Type: TypeError
> Error Value: expected integer key
> 
> The traceback is in the end of this message.
> 
> I am using a Windows machine, so the assumptions in the readme are not completely met:

I have the same problem on a linux install (fresh Zope 2.3.1 and CMF 1.0).

Help!

-- 
-Jas



----snip-----

Error Type: TypeError
Error Value: expected integer key

Traceback (innermost last):
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 223, in publish_module
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
    (Object: Traversable)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: reconfig)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: reconfig)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/CMFCore/FSDTMLMethod.py, line 218, in __call__
    (Object: reconfig)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__
    (Object: reconfig)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_Return.py, line 106, in render
    (Object: reconfig_form(_.None, _, portal_status_message='Settings changed'))
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 334, in eval
    (Object: reconfig_form(_.None, _, portal_status_message='Settings changed'))
    (Info: _)
  File <string>, line 0, in ?
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/CMFCore/FSDTMLMethod.py, line 213, in __call__
    (Object: reconfig_form)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__
    (Object: reconfig_form)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/CMFCore/FSDTMLMethod.py, line 213, in __call__
    (Object: standard_html_header)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__
    (Object: standard_html_header)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/CMFCore/FSDTMLMethod.py, line 213, in __call__
    (Object: actions_box)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__
    (Object: actions_box)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_Let.py, line 146, in render
    (Object: isAnon="portal_membership.isAnonymousUser()"
          AuthClass="isAnon and 'GuestActions' or 'MemberActions'"
          uname="isAnon and 'Guest'
                 or portal_membership.getAuthenticatedMember().getUserName()"
          obj="this()"
          actions="portal_actions.listFilteredActionsFor(obj)"
          user_actions="actions['user']"
          folder_actions="actions['folder']"
          object_actions="actions['object'] + actions['workflow']"
          global_actions="actions['global']")
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 334, in eval
    (Object: portal_actions.listFilteredActionsFor(obj))
    (Info: portal_actions)
  File <string>, line 0, in ?
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/CMFCore/ActionsTool.py, line 162, in listFilteredActionsFor
    (Object: portal_actions)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/CMFCore/WorkflowTool.py, line 222, in listActions
    (Object: portal_workflow)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/CMFCore/DefaultWorkflow.py, line 209, in listGlobalActions
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/CMFCore/CatalogTool.py, line 200, in searchResults
    (Object: Traversable)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/ZCatalog/ZCatalog.py, line 535, in searchResults
    (Object: Traversable)
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/ZCatalog/Catalog.py, line 651, in searchResults
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/Products/ZCatalog/Catalog.py, line 542, in _indexedSearch
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 513, in _apply_index
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 576, in query
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 616, in evaluate
  File /home/zope/Zope-2.3.1-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 448, in __getitem__
TypeError: (see above)