[Zope] dhtml-try broken in 2.2.0b3?

Cary O'Brien cobrien@Radix.Net
Thu, 29 Jun 2000 22:47:34 -0400 (EDT)


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