Modify ↓
Opened 12 years ago
Closed 12 years ago
#10904 closed defect (duplicate)
ValueError: timestamp out of range for platform time_t
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.7 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /newticket
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'create': u'Create', 'description': u'\r\n==== How to Reproduce ====\r\n\r\nWhile doing a GET operation on `/`, Trac issued an internal error.\r\n\r\n\'\'(please provide additional details here)\'\'\r\n\r\n\r\n\r\nUser Agent was: `Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4`\r\n\r\n==== System Information ====\r\n\r\n|| \'\'\'Trac\'\'\' || `0.11.7` ||\r\n|| \'\'\'Python\'\'\' || `2.4.3 (#1, Sep 3 2009, 15:37:12) ` [[br]] `[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]` ||\r\n|| \'\'\'setuptools\'\'\' || `0.6c11` ||\r\n|| \'\'\'MySQL\'\'\' || `server: "5.0.77-log", client: "5.0.77", thread-safe: 1` ||\r\n|| \'\'\'MySQLdb\'\'\' || `1.2.4b3` ||\r\n|| \'\'\'Genshi\'\'\' || `0.6` ||\r\n|| \'\'\'Subversion\'\'\' || `1.4.2 (r22196)` ||\r\n|| \'\'\'jQuery:\'\'\' || `1.2.6` ||\r\n\r\n==== Python Traceback ====\r\n{{{\r\nTraceback (most recent call last):\r\n File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 450, in _dispatch_request\r\n dispatcher.dispatch(req)\r\n File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 206, in dispatch\r\n resp = chosen_handler.process_request(req)\r\n File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/wiki/web_ui.py", line 118, in process_request\r\n page = WikiPage(self.env, pagename)\r\n File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/wiki/model.py", line 43, in __init__\r\n self._fetch(name, version, db)\r\n File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/wiki/model.py", line 70, in _fetch\r\n self.time = datetime.fromtimestamp(time, utc)\r\nValueError: timestamp out of range for platform time_t\r\n\r\n}}}\r\n ', 'reporter': u'anonymous', 'summary': u'ValueError: timestamp out of range for platform time_t'}
User Agent was: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
System Information
Trac | 0.11.7
|
Python | 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
|
setuptools | 0.6c11
|
MySQL | server: "5.0.77-log", client: "5.0.77", thread-safe: 1
|
MySQLdb | 1.2.4b3
|
Genshi | 0.6
|
Subversion | 1.4.2 (r22196)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 206, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ticket/web_ui.py", line 183, in process_request return self._process_newticket_request(req) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ticket/web_ui.py", line 378, in _process_newticket_request ticket = Ticket(self.env) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ticket/model.py", line 47, in __init__ self.fields = TicketSystem(self.env).get_ticket_fields() File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ticket/api.py", line 204, in get_ticket_fields self._fields = self._get_ticket_fields() File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ticket/api.py", line 248, in _get_ticket_fields options = [val.name for val in cls.select(self.env, db=db)] File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ticket/model.py", line 744, in select milestone._from_database(row) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ticket/model.py", line 655, in _from_database self.due = due and datetime.fromtimestamp(int(due), utc) or None ValueError: timestamp out of range for platform time_t
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Same as #10901, that we closed this morning as duplicate.
I think there's a misunderstanding concerning the kind of support you're entitled to have here: if you obviously don't try to understand and follow the advice we give you for a problem, we're not going to make any effort into re-explaining it in another (duplicate) ticket.
So, please go back to #10901, and if what's happening is still not clear for you, please ask for support on the mailing list or similar (see TracSupport).