#2977 closed bug (Fixed)
Fix Stats Plugin Errors
Reported by: | Cas | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 2.0.0 |
Component: | Plugin | Version: | develop |
Keywords: | Cc: |
Description
A couple of bugs that need fixing:
On startup with no torrent selected and graph tab open the following error occurs:
Traceback (most recent call last): File "build/bdist.linux-i686/egg/deluge/plugins/stats/gtkui.py", line 127, in graph_expose File "build/bdist.linux-i686/egg/deluge/plugins/stats/graph.py", line 110, in draw_to_context File "build/bdist.linux-i686/egg/deluge/plugins/stats/graph.py", line 166, in draw_graph File "build/bdist.linux-i686/egg/deluge/plugins/stats/graph.py", line 197, in intervalise TypeError: unsupported operand type(s) for /: 'long' and 'NoneType'
Secondly due to session stats changes, plugin needs updated:
Traceback (most recent call last): File "build/bdist.linux-i686/egg/deluge/plugins/stats/gtkui.py", line 127, in graph_expose File "build/bdist.linux-i686/egg/deluge/plugins/stats/graph.py", line 110, in draw_to_context File "build/bdist.linux-i686/egg/deluge/plugins/stats/graph.py", line 158, in draw_graph KeyError: u'num_connections'
Change History (2)
comment:1 Changed 7 years ago by Cas
- Resolution set to Fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fixed: [676574ff1953]