[Zope] Need help on a probably trivial problem with let.
Morten W. Petersen
mpeters@online.no
Wed, 06 Oct 1999 19:51:43 +0200
<!--#if search_locate-->
<!--#if "_.hasattr('ignorecase',0)"-->
<!--#let result="sql_methods.select.lug(REQUEST)" count="_.len(result)"-->
There were <!--#var count--> hits on the LUG module.
<!--#/let-->
<!--#/if-->
<!--#if ignorecase-->
<!--#in "sql_methods.select.lug_ignorecase(REQUEST)"-->
<!--#var lug_title-->
<!--#/in-->
<!--#/if-->
<!--#/if-->
this baby gives me the error:
Unexpected tag, for tag <!--#let result="sql_methods.select.lug(REQUEST)"
count="_.len(result)"-->, on line 13 of index_html
<!--
Traceback (innermost last):
File /home/morphex/Zope/lib/python/ZPublisher/Publish.py, line 878, in publish_module
File /home/morphex/Zope/lib/python/ZPublisher/Publish.py, line 590, in publish
(Info: /Linoo/Search/index_html/manage_edit)
File /home/morphex/Zope/lib/python/OFS/DTMLMethod.py, line 238, in manage_edit
(Object: index_html)
File /home/morphex/Zope/lib/python/DocumentTemplate/DT_String.py, line 360, in munge
(Object: index_html)
File /home/morphex/Zope/lib/python/DocumentTemplate/DT_String.py, line 376, in cook
(Object: index_html)
File /home/morphex/Zope/lib/python/DocumentTemplate/DT_String.py, line 223, in parse
(Object: index_html)
File /home/morphex/Zope/lib/python/DocumentTemplate/DT_String.py, line 267, in parse_block
(Object: index_html)
File /home/morphex/Zope/lib/python/DocumentTemplate/DT_String.py, line 297, in parse_close
(Object: index_html)
File /home/morphex/Zope/lib/python/DocumentTemplate/DT_String.py, line 124, in parse_error
(Object: index_html)
Document Template Parse Error: (see above)
-->
I'm kinda stumped.
Thanks in advance