[ZCM] [ZC] 262/ 2 Assign ""

Collector: Zope Bugs and Patches ... zope-coders@zope.org
Tue, 05 Mar 2002 09:59:22 -0500


Issue #262 Update (Assign) ""
 Status Accepted, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/262

==============================================================
= Assign - Entry #2 by ajung on Mar 5, 2002 9:59 am

 Status: Pending => Accepted

 Supporters added: amos


________________________________________
= Request - Entry #1 by Anonymous User on Mar 5, 2002 6:59 am

I'm not sure if this is an issue with the documentation or with Zope, particularly related to issues 179/180 dealing with expressions.py. Running through the Coding Logic with Scripts example in Chapter 3 of the latest Zope Book I invoke the following error:

The eror returned is:
Error Type: Undefined
Error Value: years not found in 'years', at line 5, column 9

and in the html source:
...
File /usr/local/zope/2.5.0/lib/python/Products/PageTemplates/TALES.py, line 269, in evaluateText
  File /usr/local/zope/2.5.0/lib/python/Products/PageTemplates/TALES.py, line 247, in evaluate
  File /usr/local/zope/2.5.0/lib/python/Products/PageTemplates/Expressions.py, line 189, in __call__
  File /usr/local/zope/2.5.0/lib/python/Products/PageTemplates/Expressions.py, line 179, in _eval
Undefined: (see above)
==============================================================