Modify ↓
Opened 18 years ago
Closed 17 years ago
#138 closed defect (fixed)
type conversion and zero division errors when there are no code coverage results
Reported by: | ryanjoneil@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | minor | Milestone: | 0.6 |
Component: | Trac plugin | Version: | 0.5.3 |
Keywords: | Cc: | ||
Operating System: | Linux |
Description
If something goes wrong generating code coverage results, and they are not entered into the database, viewing an individual build's results will give this error:
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/bitten/trac_ext/web_ui.py", line 598, in process_request File "build/bdist.linux-i686/egg/bitten/trac_ext/web_ui.py", line 714, in _render_reports File "build/bdist.linux-i686/egg/bitten/trac_ext/summarizers.py", line 101, in render_summary TypeError: int() argument must be a string or a number
Patch included.
Attachments (1)
Change History (2)
Changed 18 years ago by ryan
comment:1 Changed 17 years ago by cmlenz
- Milestone set to 0.6
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Modified patch applied in r419. Better late than never :-/
Thanks!