[ZCM] [ZC] 2156/ 1 Request "Metal: error using macroname 'update'"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Jul 21 12:14:12 EDT 2006


Issue #2156 Update (Request) "Metal: error using macroname 'update'"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2156

==============================================================
= Request - Entry #1 by d2m on Jul 21, 2006 12:14 pm

Using 'update' as a metal macroname throws an error

==master==
<div metal:use-macro="context/detail/macros/update" />

==detail==
before <div metal:define-macro="update">text</div> after

--traceback--
2006-07-21 17:50:28 ERROR Zope.SiteErrorLog http://host/temp_folder/master
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.PageTemplates.ZopePageTemplate, line 256, in _exec
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - <ZopePageTemplate at /temp_folder/master>
  Module TAL.TALInterpreter, line 238, in __call__
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 739, in do_useMacro
  Module TAL.TALDefs, line 152, in isCurrentVersion
  Module TAL.TALDefs, line 165, in getProgramVersion
TypeError: len() of unsized object

==============================================================



More information about the Zope-Collector-Monitor mailing list