Modify ↓
Opened 13 years ago
Closed 12 years ago
#10360 closed defect (worksforme)
ValueError: year is out of range
Reported by: | ilia | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.7 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /ticket/9
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'id': u'9'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22
System Information
Trac | 0.11.7
|
Python | 2.7.1+ (r271:86832, Apr 11 2011, 18:37:12) [GCC 4.5.2]
|
setuptools | 0.6
|
MySQL | server: "5.1.54-1ubuntu4", client: "5.1.54", thread-safe: 1
|
MySQLdb | 1.2.3
|
Genshi | 0.6
|
mod_wsgi | 3.3 (WSGIProcessGroup trac WSGIApplicationGroup trac.term78.com|)
|
Pygments | 1.4
|
GIT | 1.7.4.1
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/work/env/lib/python2.7/site-packages/Trac-0.11.7-py2.7.egg/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/work/env/lib/python2.7/site-packages/Trac-0.11.7-py2.7.egg/trac/web/main.py", line 206, in dispatch resp = chosen_handler.process_request(req) File "/work/env/lib/python2.7/site-packages/Trac-0.11.7-py2.7.egg/trac/ticket/web_ui.py", line 182, in process_request return self._process_ticket_request(req) File "/work/env/lib/python2.7/site-packages/Trac-0.11.7-py2.7.egg/trac/ticket/web_ui.py", line 454, in _process_ticket_request ticket = Ticket(self.env, id, version=version) File "/work/env/lib/python2.7/site-packages/Trac-0.11.7-py2.7.egg/trac/ticket/model.py", line 50, in __init__ self._fetch_ticket(tkt_id, db) File "/work/env/lib/python2.7/site-packages/Trac-0.11.7-py2.7.egg/trac/ticket/model.py", line 109, in _fetch_ticket self.time_changed = datetime.fromtimestamp(row[len(std_fields) + 1], utc) ValueError: year is out of range
Attachments (0)
Change History (2)
comment:1 by , 13 years ago
Keywords: | needinfo added |
---|
comment:2 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
no feedback, closing (was most certainly due to an upgrade/downgrade of Trac 0.11.x → 0.12 → 0.11.7)
Note:
See TracTickets
for help on using tickets.
Looks like a local issue. Look at the table
ticket
in the database, more specifically thechangetime
column, and see if you find any weird values.