[ZPT] Repeat vars broken in todays CVS?

Ron Bickers rbickers-dated-1008626743.d833d4@logicetc.com
Mon, 10 Dec 2001 17:05:43 -0500


> -----Original Message-----
> From: Evan Simpson [mailto:evan@zope.com]

> I'm unable to replicate this.  You're sure the error isn't in
> access to the
> 'name' part of 'item'?  If the traceback passes through
> unrestrictedTraverse, then the problem isn't with 'item'.

Well.  Maybe these tracebacks aren't what I think, but here's what I get.
When I backout the two CVS changes from today, everything works fine.

Traceback (innermost last):
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 223, in
publish_module
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope-2.4.3/lib/python/Zope/__init__.py, line 226, in
zpublisher_exception_hook
    (Object: Directory)
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: family.html)
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: family.html)
  File /usr/local/zope-2.4.3/lib/python/Shared/DC/Scripts/Bindings.py, line
324, in __call__
    (Object: family.html)
  File /usr/local/zope-2.4.3/lib/python/Shared/DC/Scripts/Bindings.py, line
354, in _bindAndExec
    (Object: family.html)
  File /home/brooks/zope/Products/PageTemplates/ZopePageTemplate.py, line
203, in _exec
    (Object: family.html)
  File /home/brooks/zope/Products/PageTemplates/PageTemplate.py, line 85, in
pt_render
    (Object: family.html)
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 158, in
__call__
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 523, in
do_useMacro
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 523, in
do_useMacro
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 343, in
do_optTag_tal
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 325, in
no_tag
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 476, in
do_loop_tal
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 413, in
do_insertText_tal
  File /home/brooks/zope/Products/PageTemplates/TALES.py, line 269, in
evaluateText
  File /home/brooks/zope/Products/PageTemplates/TALES.py, line 247, in
evaluate
  File /home/brooks/zope/Products/PageTemplates/Expressions.py, line 157, in
__call__
  File /home/brooks/zope/Products/PageTemplates/Expressions.py, line 146, in
_eval
    (Info: item)
Undefined: Sorry, an error occurred