Boost C++ Libraries: Ticket #2088: ValueError: invalid literal for int(): https://svn.boost.org/trac10/ticket/2088 <h4 class="section" id="HowtoReproduce">How to Reproduce</h4> <p> While doing a GET operation on <code>/report/14</code>, Trac issued an internal error. </p> <p> <em>I was trying to get report 14, active tickets by library</em> </p> <p> Request parameters: </p> <pre class="wiki">{'id': u'14'} </pre><p> User Agent was: <code>Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Debian)</code> </p> <table class="wiki"> <tr>$&amp;<td> <strong>Trac</strong> </td><td> <code>0.11</code> </td></tr><tr><td> <strong>Python</strong> </td><td> <code>2.4.4 (#1, Jan 25 2007, 13:04:51) </code> <br /> <code>[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]</code> </td></tr><tr><td> <strong>setuptools</strong> </td><td> <code>0.6c8</code> </td></tr><tr><td> <strong>SQLite</strong> </td><td> <code>3.5.4</code> </td></tr><tr><td> <strong>pysqlite</strong> </td><td> <code>2.4.1</code> </td></tr><tr><td> <strong>Genshi</strong> </td><td> <code>0.5</code> </td></tr><tr><td> <strong>Subversion</strong> </td><td> <code>1.4.2 (r22196)</code> </td></tr><tr><td> <strong>jQuery:</strong> </td><td> <code>1.2.3</code> $&amp; </td></tr></table> <pre class="wiki">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 &lt;Expression u"cell.value != 'None' and format_date(int(cell.value)) or '--'"&gt; &lt;td class="date" py:attrs="td_attrs"&gt;${cell.value != 'None' and format_date(int(cell.value)) or '--'} ValueError: invalid literal for int(): </pre><p> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2088 Trac 1.4.3 Marshall Clow Sat, 26 Jul 2008 03:50:05 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2088#comment:1 https://svn.boost.org/trac10/ticket/2088#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> I tried this with three different browsers [ logged in and not logged in ] It worked fine for me. </p> <p> If it's still failing for you, please reopen the bug. </p> Ticket Frank Mori Hess Sat, 26 Jul 2008 14:40:59 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/2088#comment:2 https://svn.boost.org/trac10/ticket/2088#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">worksforme</span> </li> </ul> <p> It still fails for me, I tried with iceweasel (debian firefox) 2.0.0.16 and konqueror 3.5.5 on linux. Note I've only noticed the failure with report 14. </p> Ticket Marshall Clow Mon, 18 Aug 2008 17:29:00 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2088#comment:3 https://svn.boost.org/trac10/ticket/2088#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed. The big clue was found here <a class="ext-link" href="http://trac.edgewall.org/ticket/6977"><span class="icon">​</span>http://trac.edgewall.org/ticket/6977</a>. </p> Ticket