Modify ↓
#9030 closed defect (cantfix)
ValueError: invalid literal for int() with base 10: ''
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.6 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Helo.
How to Reproduce
While doing a GET operation on /hours/5
, Trac issued an internal error.
User Agent was: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Firefox/3.5.7
System Information
Trac | 0.11.6
|
Python | 2.5.5 (r255:77872, Feb 4 2010, 11:49:26) [GCC 4.2.1 20070719 [FreeBSD]]
|
setuptools | 0.6c9
|
MySQL | server: "5.0.51a", client: "5.0.51a", thread-safe: 1
|
MySQLdb | 1.2.2
|
Genshi | 0.5.1
|
Pygments | 0.11.1
|
Subversion | 1.6.4 (r38063)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/main.py", line 227, in dispatch data, content_type) File "/usr/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/chrome.py", line 773, in render_template stream.render(method, doctype=doctype, out=buffer) File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/core.py", line 179, in render return encode(generator, method=method, encoding=encoding, out=out) File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/output.py", line 61, in encode for chunk in iterator: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/output.py", line 311, in __call__ for kind, data, pos in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/output.py", line 753, in __call__ for kind, data, pos in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/output.py", line 592, in __call__ for kind, data, pos in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/output.py", line 698, in __call__ for kind, data, pos in chain(stream, [(None, None, None)]): File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/output.py", line 532, in __call__ for ev in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/core.py", line 283, in _ensure for event in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/core.py", line 283, in _ensure for event in stream: File "/usr/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/chrome.py", line 838, in _strip_accesskeys for kind, data, pos in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/core.py", line 283, in _ensure for event in stream: File "/usr/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/chrome.py", line 827, in _generate for kind, data, pos in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/core.py", line 283, in _ensure for event in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/core.py", line 283, in _ensure for event in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/filters/transform.py", line 686, in _unmark for mark, event in stream: File "build/bdist.freebsd-7.0-RELEASE-i386/egg/timingandestimationplugin/tande_filters.py", line 60, in __call__ for mark, event in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/filters/transform.py", line 713, in __call__ for mark, event in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/filters/transform.py", line 682, in _mark for event in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/core.py", line 283, in _ensure for event in stream: File "build/bdist.freebsd-7.2-STABLE-i386/egg/genshi/filters/transform.py", line 686, in _unmark for mark, event in stream: File "build/bdist.freebsd-7.0-RELEASE-i386/egg/timingandestimationplugin/tande_filters.py", line 64, in __call__ for e in flush(queue): File "build/bdist.freebsd-7.0-RELEASE-i386/egg/timingandestimationplugin/tande_filters.py", line 55, in flush for event in self.filter(queue): File "build/bdist.freebsd-7.0-RELEASE-i386/egg/timingandestimationplugin/tande_filters.py", line 29, in __call__ id = int(report_url.split('/')[-1]) ValueError: invalid literal for int() with base 10: ''
—
The values of "worked hours" do not appear or are displayed as "0.0".
How do I fix this?
Thk.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
By reporting the problem to the TimingAndEstimationPlugin's maintainer?
This is a PluginIssue.