I was porting some stuff that had a dtml-try to
the newest Zope (2.2.0b3) and I had problems
with a dtml-try block.
I tried a fresh install and had the same problem.
To reproduce, create a DHTML method with
<dtml-try>
<dtml-var "1/0">
<dtml-except>
<h4>It blew up</h4>
</dtml-try>
Accessing the document errors out with...
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: TypeError
Error Value: unexpected keyword argument: error_type
[Snip]
File /usr2/zope2/Zope-2.2.0b3-src/lib/python/DocumentTemplate/DT_Try.py, line 212,
in render
File /usr2/zope2/Zope-2.2.0b3-src/lib/python/DocumentTemplate/DT_Try.py, line 244,
in render_try_except
File /usr2/zope2/Zope-2.2.0b3-src/lib/python/DocumentTemplate/DT_Util.py, line 262,
in namespace
TypeError: (see above)
So I'm back to 2.1.6. Arrg.
Any ideas?
-- cary
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )