Opened 14 years ago
Closed 14 years ago
#2136 closed Bugs (duplicate)
ValueError: invalid literal for int():
Reported by: | jfemiani | Owned by: | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | None |
Version: | Boost 1.35.0 | Severity: | Problem |
Keywords: | Cc: |
Description
How to Reproduce
While doing a GET operation on /report/14
, Trac issued an internal error.
Request parameters:
{'id': u'14'}
User Agent was: Opera/9.50 (Windows NT 5.1; U; en)
System Information
Trac | 0.11
|
Python | 2.4.4 (#1, Jan 25 2007, 13:04:51) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]
|
setuptools | 0.6c8
|
SQLite | 3.5.4
|
pysqlite | 2.4.1
|
Genshi | 0.5
|
Subversion | 1.4.2 (r22196)
|
jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last): File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 219, in dispatch data, content_type) File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 726, in render_template stream.render(method, doctype=doctype, out=buffer) File "build/bdist.linux-i686/egg/genshi/core.py", line 179, in render File "build/bdist.linux-i686/egg/genshi/output.py", line 61, in encode File "build/bdist.linux-i686/egg/genshi/output.py", line 311, in __call__ File "build/bdist.linux-i686/egg/genshi/output.py", line 753, in __call__ File "build/bdist.linux-i686/egg/genshi/output.py", line 592, in __call__ File "build/bdist.linux-i686/egg/genshi/output.py", line 698, in __call__ File "build/bdist.linux-i686/egg/genshi/output.py", line 532, in __call__ File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 779, in _strip_accesskeys for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 768, in _generate for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 569, in _include File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 299, in _match File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 299, in _match File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 246, in _match File "build/bdist.linux-i686/egg/genshi/template/base.py", line 543, in _exec File "build/bdist.linux-i686/egg/genshi/template/base.py", line 533, in _eval File "build/bdist.linux-i686/egg/genshi/template/base.py", line 496, in _eval File "build/bdist.linux-i686/egg/genshi/template/base.py", line 551, in _flatten File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure File "build/bdist.linux-i686/egg/genshi/path.py", line 141, in _generate File "build/bdist.linux-i686/egg/genshi/template/base.py", line 569, in _include File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 235, in _strip File "build/bdist.linux-i686/egg/genshi/template/base.py", line 543, in _exec File "build/bdist.linux-i686/egg/genshi/template/base.py", line 533, in _eval File "build/bdist.linux-i686/egg/genshi/template/base.py", line 496, in _eval File "build/bdist.linux-i686/egg/genshi/template/base.py", line 551, in _flatten File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure File "build/bdist.linux-i686/egg/genshi/path.py", line 141, in _generate File "build/bdist.linux-i686/egg/genshi/template/base.py", line 569, in _include File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 235, in _strip File "build/bdist.linux-i686/egg/genshi/template/base.py", line 543, in _exec File "build/bdist.linux-i686/egg/genshi/template/base.py", line 520, in _eval File "build/bdist.linux-i686/egg/genshi/template/base.py", line 286, in _eval_expr File "build/bdist.linux-i686/egg/genshi/template/eval.py", line 180, in evaluate File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/ticket/templates/report_view.html", line 120, in <Expression u"cell.value != 'None' and format_date(int(cell.value)) or '--'"> <td class="date" py:attrs="td_attrs">${cell.value != 'None' and format_date(int(cell.value)) or '--'} ValueError: invalid literal for int():
Note:
See TracTickets
for help on using tickets.
Duplicate of #2088