[Zope-CMF] CMFDecor: folder_contents has errors

Ulrich Eck ueck@net-labs.de
Mon, 30 Jul 2001 12:53:01 +0200


Hi andrew,

I just checked out CMF and CMFDecore from cvs and I still have errors when
displaying the folder_contents.

the following error-traceback i get:

Error Type: TypeError
Error Value: unsubscriptable object

Traceback (innermost last):
  File /usr/share/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module
  File /usr/share/zope/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /usr/share/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
    (Object: Traversable)
  File /usr/share/zope/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /zope/prog/Zope-2.3.3/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: folder_contents)
  File /usr/share/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: folder_contents)
  File /zope/prog/Zope-2.3.1/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__
    (Object: folder_contents)
  File /zope/prog/Zope-2.3.1/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec
    (Object: folder_contents)
  File /usr/share/zope/lib/python/Products/PageTemplates/ZopePageTemplate.py, line 244, in _exec
    (Object: folder_contents)
  File /usr/share/zope/lib/python/Products/CMFDecor/FSPageTemplate.py, line 165, in pt_render
    (Object: folder_contents)
  File /usr/share/zope/lib/python/Products/PageTemplates/PageTemplate.py, line 156, in pt_render
    (Object: folder_contents)
    (Info: {'container': <CMFSite instance at 94e62b0>,
 'here': <CMFSite instance at 94e62b0>,
 'modules': <Products.PageTemplates.ZPythonExpr._SecureModuleImporter instance at 861b9a0>,
 'nothing': None,
 'options': {'args': ()},
 'request': ***cut out***,
 'root': <Application instance at 93181f8>,
 'template': <FSPageTemplate instance at 95c5838>,
 'traverse_subpath': [],
 'user': jack-e})
  File /usr/share/zope/lib/python/TAL/TALInterpreter.py, line 232, in __call__
  File /usr/share/zope/lib/python/TAL/TALInterpreter.py, line 265, in interpret
  File /usr/share/zope/lib/python/TAL/TALInterpreter.py, line 591, in do_useMacro
  File /usr/share/zope/lib/python/TAL/TALInterpreter.py, line 265, in interpret
  File /usr/share/zope/lib/python/TAL/TALInterpreter.py, line 614, in do_defineSlot
  File /usr/share/zope/lib/python/TAL/TALInterpreter.py, line 265, in interpret
  File /usr/share/zope/lib/python/TAL/TALInterpreter.py, line 546, in do_loop_tal
  File /usr/share/zope/lib/python/Products/PageTemplates/TALES.py, line 161, in next
  File /zope/prog/Zope-2.3.3/lib/python/ZTUtils/Iterator.py, line 102, in next
TypeError: (see above)

thanks for your work on this

Ulrich Eck
net-labs