[Zope-CMF] AttributeError

Norman Khine norman@khine.net
Sat, 2 Jun 2001 13:46:15 +0100


Hello,
I just got new checkout of the CMF, it installed correctly, ie no errors
when I restarted Zope. BUT when I tried to add a new Site, I got the
following error

My setup is as follows
Zope Version  	Zope 2.4.0a1 (source release, python 1.5.2, linux2)
Python Version  	2.1 (#1, Jun 2 2001, 10:12:16) [GCC 2.95.2 19991024
(release)]
System Platform  	freebsd4


Traceback (innermost last):
  File /usr/local/Zope24/lib/python/ZPublisher/Publish.py, line 223, in
publish_module
  File /usr/local/Zope24/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/Zope24/lib/python/Zope/__init__.py, line 226, in
zpublisher_exception_hook
    (Object: LockableItem)
  File /usr/local/Zope24/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/Zope24/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: finish_portal_construction)
  File /usr/local/Zope24/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: finish_portal_construction)
  File /usr/local/Zope24/lib/python/Products/CMFCore/FSDTMLMethod.py, line
180, in __call__
    (Object: finish_portal_construction)
  File /usr/local/Zope24/lib/python/DocumentTemplate/DT_String.py, line 543,
in __call__
    (Object: finish_portal_construction)
  File /usr/local/Zope24/lib/python/Products/CMFCore/FSDTMLMethod.py, line
175, in __call__
    (Object: standard_html_header)
  File /usr/local/Zope24/lib/python/DocumentTemplate/DT_String.py, line 543,
in __call__
    (Object: standard_html_header)
  File /usr/local/Zope24/lib/python/Products/CMFCore/FSDTMLMethod.py, line
175, in __call__
    (Object: actions_box)
  File /usr/local/Zope24/lib/python/DocumentTemplate/DT_String.py, line 543,
in __call__
    (Object: actions_box)
  File /usr/local/Zope24/lib/python/DocumentTemplate/DT_Let.py, line 147, 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 /usr/local/Zope24/lib/python/DocumentTemplate/DT_Util.py, line 217,
in eval
    (Object: portal_actions.listFilteredActionsFor(obj))
    (Info: obj)
  File <string>, line 2, in f
    (Object: read_guard)
  File /usr/local/Zope24/lib/python/Products/CMFCore/ActionsTool.py, line
190, in listFilteredActionsFor
    (Object: portal_actions)
  File /usr/local/Zope24/lib/python/Products/CMFCore/WorkflowTool.py, line
374, in listActions
    (Object: LockableItem)
  File /usr/local/Zope24/lib/python/Products/CMFDefault/DefaultWorkflow.py,
line 215, in listGlobalActions
    (Object: ElementWithAttributes)
  File /usr/local/Zope24/lib/python/Products/CMFCore/CatalogTool.py, line
235, in searchResults
    (Object: LockableItem)
  File /usr/local/Zope24/lib/python/Products/ZCatalog/ZCatalog.py, line 582,
in searchResults
    (Object: LockableItem)
  File /usr/local/Zope24/lib/python/Products/ZCatalog/Catalog.py, line 660,
in searchResults
  File /usr/local/Zope24/lib/python/Products/ZCatalog/Catalog.py, line 547,
in _indexedSearch
  File
/usr/local/Zope24/lib/python/Products/PluginIndexes/common/UnIndex.py, line
381, in _apply_index
    (Object: PluggableIndex)
  File /usr/local/Zope24/lib/python/Products/PluginIndexes/common/util.py,
line 194, in __init__
AttributeError: keys

Thanks

Norman


      /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Norman Khine
     /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:khine@o-a-l.net
    /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Purley, UK
   /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
   ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
              /*/             \*\