Modify ↓
Opened 16 years ago
Closed 16 years ago
#7505 closed defect (invalid)
ValueError: invalid literal for int() with base 10: '2008-08-06'
Reported by: | hino | 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 /report/10
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'id': u'10'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
System Information
Trac | 0.11.ja1
|
Python | 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
|
setuptools | 0.7a1
|
SQLite | 3.3.4
|
pysqlite | 2.3.2
|
Genshi | 0.5
|
mod_python | 3.3.1
|
Subversion | 1.5.0 (r31699)
|
jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last): File "c:\traclight\python\lib\site-packages\Trac-0.11.ja1-py2.5.egg\trac\web\main.py", line 424, in _dispatch_request dispatcher.dispatch(req) File "c:\traclight\python\lib\site-packages\Trac-0.11.ja1-py2.5.egg\trac\web\main.py", line 220, in dispatch data, content_type) File "c:\traclight\python\lib\site-packages\Trac-0.11.ja1-py2.5.egg\trac\web\chrome.py", line 726, in render_template stream.render(method, doctype=doctype, out=buffer) File "build\bdist.win32\egg\genshi\core.py", line 179, in render return encode(generator, method=method, encoding=encoding, out=out) File "build\bdist.win32\egg\genshi\output.py", line 61, in encode for chunk in iterator: File "build\bdist.win32\egg\genshi\output.py", line 311, in __call__ for kind, data, pos in stream: File "build\bdist.win32\egg\genshi\output.py", line 753, in __call__ for kind, data, pos in stream: File "build\bdist.win32\egg\genshi\output.py", line 592, in __call__ for kind, data, pos in stream: File "build\bdist.win32\egg\genshi\output.py", line 698, in __call__ for kind, data, pos in chain(stream, [(None, None, None)]): File "build\bdist.win32\egg\genshi\output.py", line 532, in __call__ for ev in stream: File "build\bdist.win32\egg\genshi\core.py", line 283, in _ensure for event in stream: File "build\bdist.win32\egg\genshi\core.py", line 283, in _ensure for event in stream: File "c:\traclight\python\lib\site-packages\Trac-0.11.ja1-py2.5.egg\trac\web\chrome.py", line 779, in _strip_accesskeys for kind, data, pos in stream: File "build\bdist.win32\egg\genshi\core.py", line 283, in _ensure for event in stream: File "c:\traclight\python\lib\site-packages\Trac-0.11.ja1-py2.5.egg\trac\web\chrome.py", line 768, in _generate for kind, data, pos in stream: File "build\bdist.win32\egg\genshi\core.py", line 283, in _ensure for event in stream: File "build\bdist.win32\egg\genshi\core.py", line 283, in _ensure for event in stream: File "build\bdist.win32\egg\genshi\filters\transform.py", line 686, in _unmark for mark, event in stream: File "build\bdist.win32\egg\genshi\filters\transform.py", line 1080, in __call__ for mark, event in stream: File "build\bdist.win32\egg\genshi\filters\transform.py", line 117, in __iter__ event = self.stream.next() File "build\bdist.win32\egg\genshi\filters\transform.py", line 713, in __call__ for mark, event in stream: File "build\bdist.win32\egg\genshi\filters\transform.py", line 682, in _mark for event in stream: File "build\bdist.win32\egg\genshi\template\base.py", line 569, in _include for event in stream: File "build\bdist.win32\egg\genshi\template\markup.py", line 299, in _match ctxt, match_templates[idx + 1:], **vars): File "build\bdist.win32\egg\genshi\template\markup.py", line 299, in _match ctxt, match_templates[idx + 1:], **vars): File "build\bdist.win32\egg\genshi\template\markup.py", line 246, in _match for event in stream: File "build\bdist.win32\egg\genshi\template\base.py", line 543, in _exec for event in stream: File "build\bdist.win32\egg\genshi\template\base.py", line 533, in _eval for event in substream: File "build\bdist.win32\egg\genshi\template\base.py", line 496, in _eval for kind, data, pos in stream: File "build\bdist.win32\egg\genshi\template\base.py", line 551, in _flatten for event in stream: File "build\bdist.win32\egg\genshi\core.py", line 283, in _ensure for event in stream: File "build\bdist.win32\egg\genshi\path.py", line 141, in _generate subevent = stream.next() File "build\bdist.win32\egg\genshi\template\base.py", line 569, in _include for event in stream: File "build\bdist.win32\egg\genshi\template\markup.py", line 235, in _strip event = stream.next() File "build\bdist.win32\egg\genshi\template\base.py", line 543, in _exec for event in stream: File "build\bdist.win32\egg\genshi\template\base.py", line 533, in _eval for event in substream: File "build\bdist.win32\egg\genshi\template\base.py", line 496, in _eval for kind, data, pos in stream: File "build\bdist.win32\egg\genshi\template\base.py", line 551, in _flatten for event in stream: File "build\bdist.win32\egg\genshi\core.py", line 283, in _ensure for event in stream: File "build\bdist.win32\egg\genshi\path.py", line 141, in _generate subevent = stream.next() File "build\bdist.win32\egg\genshi\template\base.py", line 569, in _include for event in stream: File "build\bdist.win32\egg\genshi\template\markup.py", line 235, in _strip event = stream.next() File "build\bdist.win32\egg\genshi\template\base.py", line 543, in _exec for event in stream: File "build\bdist.win32\egg\genshi\template\base.py", line 520, in _eval result = _eval_expr(data, ctxt, **vars) File "build\bdist.win32\egg\genshi\template\base.py", line 286, in _eval_expr retval = expr.evaluate(ctxt) File "build\bdist.win32\egg\genshi\template\eval.py", line 180, in evaluate return eval(self.code, _globals, {'__data__': data}) File "C:\TracLight\python\lib\site-packages\trac-0.11.ja1-py2.5.egg\trac\ticket\templates\report_view.html", line 126, in <Expression u"cell.value != 'None' and format_datetime(int(cell.value)) or '--'"> <td class="date" py:attrs="td_attrs">${cell.value != 'None' and format_datetime(int(cell.value)) or '--'} ValueError: invalid literal for int() with base 10: '2008-08-06'
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
comment:3 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
See #7506 - this concers a Japanese Trac, and is not an issue with Trac itself.
Note:
See TracTickets
for help on using tickets.
Not sure what this is, but it certainly isn't
fixed
by the project.What is it with Trac version
0.11.ja1
- where does that come from? It is the same version reported in #7506, and I'm tempted to close both these tickets as 'invalid'.