[Zope-dev] Strange, Random Error

Dieter Maurer dieter@handshake.de
Tue, 23 May 2000 23:34:27 +0200 (CEST)


Chris Withers writes:
 > Can anyone shed any light on the following?
 > 
 > It's got me stumped...
 > 
 > It has only happened from 1 request so far, although it triggered off
 > the same error for all the images on the page...
 > 
 > ?!?
 > 
 > Chris
 > 
 > > >Zope reported an error for:
 > > >   http://www.nipltd.net/www/niplogo.gif
 > > >Error Type:  Invalid Date-Time String
 > > >
 > > >Error Value: Mon, 03 Apr 2000 09:20:58 GMT, Mon, 03 Apr 2000 09:20:58
 > > >
 > > >  Linked from:
 > > >   http://www.nipltd.net/enterprise.html
 > > >
 > > >  Authenticated User:
 > > >   Anonymous User
 > > >
 > > >Traceback:
 > > >  Traceback (innermost last):
 > > >   File
 > > >/usr/local/zope/external/current/lib/python/ZPublisher/Publish.py,
 > > >line 165, in publish
 > > >   File
 > > >/usr/local/zope/external/current/lib/python/ZPublisher/mapply.py,
 > > >line 160, in mapply
 > > >     (Object: index_html)
 > > >   File
 > > >/usr/local/zope/external/current/lib/python/ZPublisher/Publish.py,
 > > >line 102, in call_object
 > > >     (Object: index_html)
 > > >   File /usr/local/zope/external/current/lib/python/OFS/Image.py,
 > > >line 187, in index_html
 > > >     (Object: niplogo.gif)
 > > >   File
 > > >/usr/local/zope/external/current/lib/python/DateTime/DateTime.py,
 > > >line 518, in __init__
 > > >   File
 > > >/usr/local/zope/external/current/lib/python/DateTime/DateTime.py,
 > > >line 788, in _parse
 > > >Invalid Date-Time String: Mon, 03 Apr 2000 09:20:58 GMT, Mon, 03 Apr
 > > >2000 09:20:58
 > 
Seems, this problem is similar to the "Netscape Image Problem" thread.
The problem is cause at the same line "OFS/Image.py:187".
However, this time, the date string send by the browser
has an invalid format, whereas in the other case, the format
was correct, but the value (1900) very strange.

Dieter