[Zope] let problem (or just a stupid newbie)

Hans de Wit hw@scp.nl
Mon, 29 Jan 2001 10:57:59 MET


Hello,

I was trying the following dtml-method (just from the book) in my Zope 2.3.0 Windows NT 
installation

<dtml-var standard_html_header>
<dtml-let person="'Bob'">
<dtml-var person>
<dtml-var standard_html_footer>

And when i pushed the save changes button, i got this:

"No closing tag, for tag <dtml-let person="'Bob'">, on line 2 of nog"
(nog is my method). This was the traceback:

Traceback (innermost last):
  File C:\PROGRA~1\ZOPE\lib\python\ZPublisher\Publish.py, line 222, in publish_module File
  C:\PROGRA~1\ZOPE\lib\python\ZPublisher\Publish.py, line 187, in publish File
  C:\PROGRA~1\ZOPE\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook
    (Object: nog)
  File C:\PROGRA~1\ZOPE\lib\python\ZPublisher\Publish.py, line 171, in publish
  File C:\PROGRA~1\ZOPE\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: manage_edit)
  File C:\PROGRA~1\ZOPE\lib\python\ZPublisher\Publish.py, line 112, in call_object
    (Object: manage_edit)
  File C:\PROGRA~1\ZOPE\lib\python\OFS\DTMLMethod.py, line 310, in manage_edit
    (Object: nog)
  File C:\PROGRA~1\ZOPE\lib\python\DocumentTemplate\DT_String.py, line 388, in munge
    (Object: nog)
  File C:\PROGRA~1\ZOPE\lib\python\DocumentTemplate\DT_String.py, line 408, in cook
    (Object: nog)
  File C:\PROGRA~1\ZOPE\lib\python\DocumentTemplate\DT_String.py, line 242, in parse
    (Object: nog)
  File C:\PROGRA~1\ZOPE\lib\python\DocumentTemplate\DT_String.py, line 278, in parse_block
    (Object: nog)
  File C:\PROGRA~1\ZOPE\lib\python\DocumentTemplate\DT_String.py, line 131, in parse_error
    (Object: nog)
Document Template Parse Error: (see above)

Did i do something wrong?, it must, since this is rather basic, isn't it?  I posted it to 
the collector as a question, but i am not sure whether that is correct.

Met vriendelijke groeten,

Hans de Wit

h.de.wit@scp.nl