DateTime.DateTime() and localhost not found
Hi; Got this error when trying to run a script in MailHost that has worked before with an older version of Zope: · Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__ __traceback_info__: here.mailScript() · Module Python expression "here.mailScript()", line 2, in f · Module Shared.DC.Scripts.Bindings, line 252, in __call__ · Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec · Module Products.PythonScripts.PythonScript, line 315, in _exec · Module Script (Python), line 51, in mailScript <PythonScript at /Formulator_With_ZPT/mailScript> Line 51 · 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 (Also, an error occurred while attempting to render the standard error message.) What to do? TIA, beno
From: "beno" <zope@thewebsons.com>
NameError: global name 'localzone' is not defined (Also, an error occurred while attempting to render the standard error message.)
This is a known big in Zope 2.6.0. Download a patch from http://www.zope.org/Members/regebro/datetime_260_fix
participants (2)
-
beno -
Lennart Regebro