Network Activity Graph plugin makes deluge crashing and unus

General support for problems installing or using Deluge
Post Reply
satkata
New User
New User
Posts: 2
Joined: Sat Jul 07, 2007 5:37 pm

Network Activity Graph plugin makes deluge crashing and unus

Post by satkata »

Hi,

I want to thank you first for this new release. It is really good, although I have some issues with the Netwotk Activity Graph plugin.

It makes deluge just unusable, as the Gui is not being updated, some buttons are not working, and almost every one action leads to a crash.

This is the log, when I activate the plugin.

/usr/share/deluge/plugins/NetworkGraph/plugin.py:93: GtkWarning: Using Cairo rendering requires the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
self.ctx = self.networkPixmap.cairo_create()
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 901, in update
self.plugins.update_active_plugins()
File "/var/lib/python-support/python2.5/deluge/plugins.py", line 97, in update_active_plugins
plugin.update()
File "/usr/share/deluge/plugins/NetworkGraph/plugin.py", line 93, in update
self.ctx = self.networkPixmap.cairo_create()
cairo.Error: NULL pointer

...and this come up on the console, when I try to do something within deluge:

Pickling state...
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 545, in start_pause
self.update()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 901, in update
self.plugins.update_active_plugins()
File "/var/lib/python-support/python2.5/deluge/plugins.py", line 97, in update_active_plugins
plugin.update()
File "/usr/share/deluge/plugins/NetworkGraph/plugin.py", line 104, in update
self.drawSpeedPoly(self.savedDownSpeeds, (0.5,1, 0.5, 1.0), maxSpeed, True)
File "/usr/share/deluge/plugins/NetworkGraph/plugin.py", line 149, in drawSpeedPoly
self.tracePath(speeds, maxSpeed)
File "/usr/share/deluge/plugins/NetworkGraph/plugin.py", line 133, in tracePath
self.ctx.set_line_width(lineWidth)
AttributeError: plugin_NetGraph instance has no attribute 'ctx'
The program 'deluge' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 9523 error_code 8 request_code 70 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

and this is the log, when I disable the plugin:

/usr/share/deluge/plugins/NetworkGraph/plugin.py:93: GtkWarning: Using Cairo rendering requires the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
self.ctx = self.networkPixmap.cairo_create()
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 901, in update
self.plugins.update_active_plugins()
File "/var/lib/python-support/python2.5/deluge/plugins.py", line 97, in update_active_plugins
plugin.update()
File "/usr/share/deluge/plugins/NetworkGraph/plugin.py", line 93, in update
self.ctx = self.networkPixmap.cairo_create()
cairo.Error: NULL pointer
Pickling state...
Raising error: Handle not found

I read, that you are already working on the GUI-update issue with the Netwotk Activity Plugin, but thought this could bring you some useful information too.
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

Re: Network Activity Graph plugin makes deluge crashing and unus

Post by zachtib »

Ok, I'll try and look into this. In the meantime, I would advise that you simply don't use the plugin
Former Deluge Developer
Post Reply