[Zope] <dtml-try> error in 2.2.0b3?
Stefan Franke
franke@meso.net
Mon, 3 Jul 2000 18:41:45 +0200
When rendering a DTML document with the following content
<dtml-var standard_html_header>
<dtml-try>
<dtml-var "1/0">
<dtml-except ZeroDivisionError>
1/0 failed
</dtml-try>
<dtml-var standard_html_footer>
Zope reports
Error Type: TypeError
Error Value: unexpected keyword argument: error_type
with the traceback below. Am I doing something wrong?
If it is a bug and has been reported already, sorry for the
noise (I'm currently not subscribed to the list).
Stefan
Traceback (innermost last):
File D:\Programme\Zope2.2.0b3\FTF\lib\python\ZPublisher\Publish.py, line
222, in publish_module
File D:\Programme\Zope2.2.0b3\FTF\lib\python\ZPublisher\Publish.py, line
187, in publish
File D:\Programme\Zope2.2.0b3\FTF\lib\python\Zope\__init__.py, line 221,
in zpublisher_exception_hook
(Object: FTF)
File D:\Programme\Zope2.2.0b3\FTF\lib\python\ZPublisher\Publish.py, line
171, in publish
File D:\Programme\Zope2.2.0b3\FTF\lib\python\ZPublisher\mapply.py, line
160, in mapply
(Object: mytest)
File D:\Programme\Zope2.2.0b3\FTF\lib\python\ZPublisher\Publish.py, line
112, in call_object
(Object: mytest)
File D:\Programme\Zope2.2.0b3\FTF\lib\python\OFS\DTMLDocument.py, line
168, in __call__
(Object: mytest)
File
D:\Programme\Zope2.2.0b3\FTF\lib\python\DocumentTemplate\DT_String.py, line
502, in __call__
(Object: mytest)
File D:\Programme\Zope2.2.0b3\FTF\lib\python\DocumentTemplate\DT_Try.py,
line 212, in render
File D:\Programme\Zope2.2.0b3\FTF\lib\python\DocumentTemplate\DT_Try.py,
line 244, in render_try_except
File D:\Programme\Zope2.2.0b3\FTF\lib\python\DocumentTemplate\DT_Util.py,
line 262, in namespace
TypeError: (see above)