[Zope] traceback for Date error

Jay, Dylan djay@lucent.com
Wed, 4 Aug 1999 10:11:37 +1000


> -----Original Message-----
> From: zzzz tttt [mailto:ztttt@hotmail.com]
> Sent: Wednesday, August 04, 1999 03:39
> To: zope@zope.org
> Subject: [Zope] traceback for Date error
> 
> 
> 
> That should be a FAQ (about tracebacks being in the error html source)
> 
> Here it is, I seem to get it no matter what format I use for 
> the date; it 
> seems to think that it is an invalid date.

I bet its the stupid timezone not recognized error. If your operating system
uses a timezone name zope doesn't recognize then it will barf. Solution is
to supply a timezone or use the work around in the collector.


> 
> <!--
> Traceback (innermost last):
>   File C:\Program 
> Files\psych\lib\python\ZPublisher\Publish.py, line 256, in 
> publish_module
>   File C:\Program 
> Files\psych\lib\python\ZPublisher\Publish.py, line 161, in 
> publish
>   File C:\Program 
> Files\psych\lib\python\ZPublisher\mapply.py, line 154, in 
> mapply
>     (Object: manage_addProperty)
>   File C:\Program 
> Files\psych\lib\python\ZPublisher\Publish.py, line 98, in 
> call_object
>     (Object: manage_addProperty)
>   File C:\Program 
> Files\psych\lib\python\OFS\PropertyManager.py, line 270, 
> in manage_addProperty
>     (Object: index_html)
>   File C:\Program 
> Files\psych\lib\python\ZPublisher\Converters.py, line 157, 
> in field2date
>   File C:\Program 
> Files\psych\lib\python\DateTime\DateTime.py, line 513, in 
> __init__
> DateTimeError: Invalid date: August 31, 1999
> 
> --
> 
> Sriram
> 
> zope1.0b1, win98
> 
> 
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>