[Trac-tickets] Re: [The Trac Project] #888: Timeline produces
mktime Error
The Trac Project
noreply at edgewall.com
Mon Nov 8 10:25:20 EST 2004
#888: Timeline produces mktime Error
----------------------+-----------------------------------------------------
Id: 888 | Status: assigned
Component: timeline | Modified: Mon Nov 8 10:25:20 2004
Severity: major | Milestone: 0.8
Priority: high | Version: devel
Owner: cmlenz | Reporter: clynx
----------------------+-----------------------------------------------------
Changes (by cmlenz):
* component: general => timeline
* milestone: => 0.8
* severity: normal => major
* priority: normal => high
* status: new => assigned
* owner: jonas => cmlenz
Old description:
> The following Error occured while Calling the Timeline in my fresh
> Installation:
>
> Oops...
> Trac detected an internal error:
> mktime argument out of range
>
> Everything works except the Timeline ...
>
> Python traceback
>
> Traceback (most recent call last):
> File "/usr/local/lib/python2.2/site-packages/trac/core.py", line 526,
> in cgi_start
> real_cgi_start()
> File "/usr/local/lib/python2.2/site-packages/trac/core.py", line 521,
> in real_cgi_start
> dispatch_request(path_info, args, req, env)
> File "/usr/local/lib/python2.2/site-packages/trac/core.py", line 436,
> in dispatch_request
> module.run()
> File "/usr/local/lib/python2.2/site-packages/trac/Module.py", line 44,
> in run
> self.render()
> File "/usr/local/lib/python2.2/site-packages/trac/Timeline.py", line
> 201, in render
> _from = time.mktime((t[0], t[1], t[2], 23, 59, 59, t[6], t[7], t[8]))
> OverflowError: mktime argument out of range
New description:
The following Error occured while Calling the Timeline in my fresh
Installation:
Oops...
Trac detected an internal error:
mktime argument out of range
Everything works except the Timeline ...
Python traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.2/site-packages/trac/core.py", line 526, in
cgi_start
real_cgi_start()
File "/usr/local/lib/python2.2/site-packages/trac/core.py", line 521, in
real_cgi_start
dispatch_request(path_info, args, req, env)
File "/usr/local/lib/python2.2/site-packages/trac/core.py", line 436, in
dispatch_request
module.run()
File "/usr/local/lib/python2.2/site-packages/trac/Module.py", line 44,
in run
self.render()
File "/usr/local/lib/python2.2/site-packages/trac/Timeline.py", line
201, in render
_from = time.mktime((t[0], t[1], t[2], 23, 59, 59, t[6], t[7], t[8]))
OverflowError: mktime argument out of range
Comment:
On IrcChannel clynx reported that {{{t}}} was set to {{{(1900, 1, 0, 0, 0,
0, 6, 1, 0)}}}. It appears that {{{time.strptime()}}} doesn't raise an
exception but return "time zero". Maybe a FreeBSD thing?
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/888>
The Trac Project <>
More information about the Trac-Tickets
mailing list