[ZCM] [ZC] 2253/ 1 Request "TimeError in Zope 2.8.5 "

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]>
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #2253 Update (Request) "TimeError in Zope 2.8.5 "
 Status Pending, Database/bug critical
To followup, visit:
  http://www.zope.org/Collectors/Zope/2253

==============================================================
= Request - Entry #1 by panjunyong on Dec 11, 2006 4:32 am

When view ZMI, it raise TimeError with "The time 71442964697.177841 is beyond the range of this Python implementation.".

Also, I can't pack ZODB anymore. 

I found similar problem here:

http://www.gossamer-threads.com/lists/zope/users/204216

Also I found the python localtime function is quite strange:

Python 2.4.1 (#2, May  5 2005, 11:32:06) 
[GCC 3.3.5 (Debian 1:3.3.5-12)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from time import localtime
>>> localtime(106900545747.045975)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ValueError: timestamp out of range for platform time_t


Python 2.3.5 (#2, May  4 2005, 08:51:39) 
[GCC 3.3.5 (Debian 1:3.3.5-12)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from time import localtime
>>> localtime(106900545747.045975)
(1901, 12, 14, 4, 22, 28, 5, 348, 0)


Python 2.3.5 (#2, Jul 30 2006, 18:28:51) 
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from time import localtime
>>> localtime(106900545747.045975)
(5357, 7, 18, 4, 2, 27, 0, 199, 0)

==============================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.