[Zope-CMF] How-To Make a Filesystem based Content Type - HELP

Norman Khine khine@bmpublications.co.uk
Fri, 6 Apr 2001 16:36:51 +0100


I just went trough the tutorial for building a How-To Make a Filesystem
based Content Type from
http://cmf.zope.org/Members/lucas/FSBasedContent/howToMakeNewContentType

All worked well, product PTKSeres is not broken, until I try to add the
item, this is the error I got:

Zope Error
Zope has encountered an error while publishing this resource.

AttributeError

Sorry, a Zope error occurred.

Traceback (innermost last):
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/home/khine/usr/local/Zope/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
    (Object: DynamicType)
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: metadata_edit_form)
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: metadata_edit_form)
  File
/usr/home/khine/usr/local/Zope/lib/python/Products/CMFCore/FSDTMLMethod.py,
line 218, in __call__
    (Object: metadata_edit_form)
  File
/usr/home/khine/usr/local/Zope/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
    (Object: metadata_edit_form)
  File
/usr/home/khine/usr/local/Zope/lib/python/Products/CMFCore/FSDTMLMethod.py,
line 213, in __call__
    (Object: standard_html_header)
  File
/usr/home/khine/usr/local/Zope/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
    (Object: standard_html_header)
  File /usr/home/khine/usr/local/Zope/lib/python/OFS/DTMLMethod.py, line
182, in __call__
    (Object: actions_box)
  File
/usr/home/khine/usr/local/Zope/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
    (Object: actions_box)
  File /usr/home/khine/usr/local/Zope/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
/usr/home/khine/usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line
334, in eval
    (Object: portal_actions.listFilteredActionsFor(obj))
    (Info: portal_actions)
  File <string>, line 0, in ?
  File
/usr/home/khine/usr/local/Zope/lib/python/Products/CMFCore/ActionsTool.py,
line 184, in listFilteredActionsFor
    (Object: portal_actions)
  File /usr/home/khine/usr/local/Zope/lib/python/Products/PTKSeres/News.py,
line 87, in listActions
    (Object: DynamicType)
AttributeError: listActions

Any ideas.

Thanks in advance

Norman