Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9273 closed defect (cantfix)

ValueError: year is out of range

Reported by: igor.mitin@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /ticketcalendar, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.3) Gecko/20100401 SUSE/3.6.3-1.2 Firefox/3.6.3

System Information

Trac 0.12dev-r9552
Babel 0.9.4
Docutils 0.6
Genshi 0.6
mod_wsgi 2.5 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
Pygments 1.3.1
pysqlite 2.4.1
Python 2.6.2 (r262:71600, Oct 24 2009, 03:15:21)
[GCC 4.4.1 [gcc-4_4-branch revision 150839]]
pytz 2010h
setuptools 0.6c11
SQLite 3.6.23
Subversion 1.6.6 (r40053)
jQuery 1.4.2

Enabled Plugins

TracAccountManager 0.2.1dev-r7737
TracGanttCalendarPlugin 0.1
TracUserManagerPlugin 0.4
TracWysiwyg 0.2-r7772

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 512, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 233, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/ganttcalendar/ticketcalendar.py", line 122, in process_request
    due_time = to_datetime(due, utc)
  File "build/bdist.linux-x86_64/egg/trac/util/datefmt.py", line 52, in to_datetime
    return datetime.fromtimestamp(t, tzinfo or localtz)
ValueError: year is out of range

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 14 years ago

Resolution: cantfix
Status: newclosed

comment:2 by Christian Boos, 14 years ago

And by the way, this is certainly related to the plugin not being compatible with 0.12 microsecond timestamps.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.