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-var "1/0">
  <h4>It blew up</h4>

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


  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]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to