[Zope] Re: mailhost localzone error

Josef Meile jmeile@hotmail.com
Wed, 12 Feb 2003 21:40:32 +0100


 > for my MailHost object mail_host I get the following:
 >
 > Traceback (innermost last):
 >
 >     * Module ZPublisher.Publish, line 98, in publish
 >     * Module ZPublisher.mapply, line 88, in mapply
 >     * Module ZPublisher.Publish, line 39, in call_object
 >     * Module OFS.DTMLMethod, line 126, in __call__
 >     * Module DocumentTemplate.DT_String, line 474, in __call__
 >     * Module Products.MailHost.SendMailTag, line 115, in render
 >     * Module Products.MailHost.MailHost, line 123, in send
 >     * Module Products.MailHost.MailHost, line 208, in _mungeHeaders
 >     * Module DateTime.DateTime, line 1441, in rfc822
 >
 > NameError: global name 'localzone' is not defined
What Zope do you have? I used to have the same error message with 2.6.0. I
figured out that it was because a bug in the DateTime module. Then I applied
a patch (http://www.zope.org/Members/regebro/datetime_260_fix). However,
I upgraded to 2.6.1, which doesn't have that problem.

Regards,
Josef