[Zope-CMF] CMFDecor: folder_contents has errors

Kent Polk kent@goathill.org
1 Aug 2001 20:37:56 GMT


On 30 Jul 2001 06:40:01 -0500, Ulrich Eck wrote:
> 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
> 
...

>   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

I also get the following error on folder_contents:

Error Type: Undefined
Error Value: "Type" not found in "items/Type"

(Info: {'container': <CMFSite instance at cda650>,
'here': <PortalFolder instance at d87818>,
'modules': <Products.PageTemplates.ZPythonExpr._SecureModuleImporter
instance at 11a568>,
'nothing': None,
'options': {'args': ()},
'request': (long... so snipped)
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 232, in
__call__
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 265, in
interpret
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 591, in
do_useMacro
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 265, in
interpret
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 614, in
do_defineSlot
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 265, in
interpret
A
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 547, in
do_loop_tal
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 265, in
interpret
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 562, in
do_condition
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 265, in
interpret
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 311, in
do_startTag
File /var/zope/lib/zope/lib/python/TAL/TALInterpreter.py, line 380, in
attrAction_tal
File /var/zope/Products/PageTemplates/TALES.py, line 301, in evaluateText
File /var/zope/Products/PageTemplates/TALES.py, line 292, in evaluate
Undefined: (see above)