[Zope] standard_error_message in Python Product

Andrew Veitch andrew@logicalprogression.net
Fri, 13 Dec 2002 00:29:15 +0000


I'm using:

from Globals import DTMLFile

Standard_error_message=DTMLFile("dtml/standard_error_message", globals())

Which is tickety-boo (that's British English for works fine)

A

On 25/11/02 1:29 pm, "Thomas Guettler" <guettli@thomas-guettler.de> wrote:

> Hi!
> 
> Is it possible to write a standard_error_message as a method in a
> python product?
> 
> "def standard_error_message(self, **kwargs)"
> 
> --> this does not work. I get: An Error occured while displaying the
> error message ...
> 
> 
> I don't get it working, according to the collector it should be
> working with 2.6.0
> 
> Version:
> (Zope 2.6.0 (source release, python 2.1, linux2),
> python 2.1.3, linux2)
> 
> thomas