Bug 907505

Summary: [abrt] deluge-gtk-1.3.5-2.fc18: graph.py:174:draw_graph:AttributeError: Graph instance has no attribute 'stats'
Product: [Fedora] Fedora Reporter: Ondra Pelech <ondra.pelech>
Component: delugeAssignee: Rahul Sundaram <metherid>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: calumlind, metherid
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:df27e14cb0061c51b2e56b3252effa2d67183ca8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-05 18:48:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Ondra Pelech 2013-02-04 15:17:45 UTC
Version-Release number of selected component:
deluge-gtk-1.3.5-2.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/deluge-gtk
executable:     /usr/bin/deluge-gtk
kernel:         3.7.4-204.fc18.x86_64
uid:            1000

Truncated backtrace:
graph.py:174:draw_graph:AttributeError: Graph instance has no attribute 'stats'

Traceback (most recent call last):
  File "/home/ondra/.config/deluge/plugins/Stats-0.4.0-py2.7.egg/stats/gtkui.py", line 145, in graph_expose
    self.graph_widget.allocation.height)
  File "/home/ondra/.config/deluge/plugins/Stats-0.4.0-py2.7.egg/stats/graph.py", line 125, in draw_to_context
    self.draw_graph()
  File "/home/ondra/.config/deluge/plugins/Stats-0.4.0-py2.7.egg/stats/graph.py", line 174, in draw_graph
    l_max =  max(self.stats[stat])
AttributeError: Graph instance has no attribute 'stats'

Local variables in innermost frame:
stat: 'dht_torrents'
max_value: 0
self: <stats.graph.Graph instance at 0x3ba29e0>
tick_limit: 23.352941176470587
plot_height: 397.0
font_extents: (9.0, 2.0, 12.000000000000002, 17.0, 0.0)
x_axis_space: 15.000000000000002

Comment 1 Ondra Pelech 2013-02-04 15:17:48 UTC
Created attachment 692806 [details]
File: backtrace

Comment 2 Ondra Pelech 2013-02-04 15:17:50 UTC
Created attachment 692807 [details]
File: core_backtrace

Comment 3 Ondra Pelech 2013-02-04 15:17:57 UTC
Created attachment 692808 [details]
File: environ

Comment 4 Calum 2013-02-05 18:48:30 UTC
This is a bug in a 3rd party plugin so you would need to ask the plugin author on the Deluge forum to fix this.