[Zope-CMF] AttributeError

Norman Khine norman@khine.net
Sat, 9 Jun 2001 16:27:23 +0100


I just got a fresh install of the CMF via CVS on Zope 2.4.0a1 tried to
install a new portal and got the following error

Thanks for all your help

My setup

Zope Version  	Zope 2.4.0a1 (source release, python 1.5.2, linux2)
Python Version  	2.1 (#1, Jun 6 2001, 14:18:24) [GCC 2.95.2 19991024
(release)]
System Platform  	freebsdRELENG_4_2001_03_07


Site Error
An error was encountered while publishing this resource.

AttributeError

Sorry, a site error occurred.

Traceback (innermost last):
  File /usr/home/dsuk5/zope/2-4-0a1/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /usr/home/dsuk5/zope/2-4-0a1/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/home/dsuk5/zope/2-4-0a1/lib/python/Zope/__init__.py, line 226,
in zpublisher_exception_hook
    (Object: LockableItem)
  File /usr/home/dsuk5/zope/2-4-0a1/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/home/dsuk5/zope/2-4-0a1/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: finish_portal_construction)
  File /usr/home/dsuk5/zope/2-4-0a1/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: finish_portal_construction)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/CMFCore/FSDTMLMethod.py,
line 180, in __call__
    (Object: finish_portal_construction)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/DocumentTemplate/DT_String.py, line
543, in __call__
    (Object: finish_portal_construction)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/CMFCore/FSDTMLMethod.py,
line 175, in __call__
    (Object: standard_html_header)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/DocumentTemplate/DT_String.py, line
543, in __call__
    (Object: standard_html_header)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/CMFCore/FSDTMLMethod.py,
line 175, in __call__
    (Object: actions_box)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/DocumentTemplate/DT_String.py, line
543, in __call__
    (Object: actions_box)
  File /usr/home/dsuk5/zope/2-4-0a1/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/home/dsuk5/zope/2-4-0a1/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/home/dsuk5/zope/2-4-0a1/lib/python/Products/CMFCore/ActionsTool.py,
line 190, in listFilteredActionsFor
    (Object: portal_actions)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/CMFCore/WorkflowTool.py,
line 374, in listActions
    (Object: LockableItem)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/CMFDefault/DefaultWorkflow.
py, line 215, in listGlobalActions
    (Object: ElementWithAttributes)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/CMFCore/CatalogTool.py,
line 255, in searchResults
    (Object: LockableItem)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/ZCatalog/ZCatalog.py, line
582, in searchResults
    (Object: LockableItem)
  File /usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/ZCatalog/Catalog.py,
line 660, in searchResults
  File /usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/ZCatalog/Catalog.py,
line 547, in _indexedSearch
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/PluginIndexes/common/UnInde
x.py, line 381, in _apply_index
    (Object: PluggableIndex)
  File
/usr/home/dsuk5/zope/2-4-0a1/lib/python/Products/PluginIndexes/common/util.p
y, line 194, in __init__
AttributeError: keys



zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zz/********/z/****\zzz|****\*\zz|*******|z
z/^^^^^^^^/z/******\zz|*^^^^|*|z|*|^^^^^|z norman khine
zzzzzz/**/z|**/^^\**|z|*|zzz|*|z|*|zzzzzzz mailto:norman@khine.net
zzzzz/**/zz|*|zzzz|*|z|****/*/zz|*****|zzz purley
z/******/zz|*|zzzz|*|z|*|^^zzzzz|*|^^^|zzz UK
zzZ/**/zzzz|**\^^/**|z|*|zzzzzzz|*|zzzzzzz
zz/******/zz\******/zz|*|zzzzzzz|*|*****|z
z/^^^^^^/zzzz\^^^^/zzz|^|zzzzzzz|^^^^^^^|z
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz