[Boost-bugs] [Boost C++ Libraries] #2088: ValueError: invalid literal for int():

Subject: [Boost-bugs] [Boost C++ Libraries] #2088: ValueError: invalid literal for int():
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-08 14:03:05


#2088: ValueError: invalid literal for int():
---------------------+------------------------------------------------------
 Reporter: fmhess | Type: Bugs
   Status: new | Milestone: Boost 1.36.0
Component: None | Version: Boost 1.35.0
 Severity: Problem | Keywords:
---------------------+------------------------------------------------------
 ==== How to Reproduce ====

 While doing a GET operation on `/report/14`, Trac issued an internal
 error.

 ''I was trying to get report 14, active tickets by library''


 Request parameters:
 {{{
 {'id': u'14'}
 }}}


 User Agent was: `Mozilla/5.0 (compatible; Konqueror/3.5; Linux)
 KHTML/3.5.5 (like Gecko) (Debian)`

 $&|| '''Trac''' || `0.11` ||
 || '''Python''' || `2.4.4 (#1, Jan 25 2007, 13:04:51) ` [[br]] `[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` $&
 {{{
 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():

 }}}

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2088>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC