Opened 16 years ago

Closed 16 years ago

#171 closed bug (Fixed)

crash-message and failure after enabling blocklist plugin

Reported by: anonymous Owned by: markybob
Priority: major Milestone:
Component: 0.5.x Version:
Keywords: Cc:


I am using version 5.8.9 on Ubuntu Hardy and after trying to enable the blocklist plugin, I get a crash message with following on the console.
This happenes after showing the pop-up window for downloading/updating blocklists and deluge does not actually crash,
the plugin is not enabled and the crash message keeps showing, till I shut down normally:

Found NetworkHealth plugin...
Found TorrentNotification plugin...
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x88da950)" of type `GString'
Found blocklist plugin ...
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/", line 310, in plugin_toggled
  File "/var/lib/python-support/python2.5/deluge/", line 80, in enable_plugin
    self.enabled_plugins[name] = plugin.enable(self.core, self.interface)
  File "/usr/share/deluge/plugins/BlocklistImport/", line 29, in enable
    return BlocklistImport(path, core, interface)
  File "/usr/share/deluge/plugins/BlocklistImport/", line 72, in __init__
  File "/usr/share/deluge/plugins/BlocklistImport/", line 99, in loadlist
    if now_timestamp >= (list_timestamp + (86400 * days_update)):
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/", line 317, in plugin_toggled
  File "/var/lib/python-support/python2.5/deluge/", line 89, in disable_plugin
    plugin = self.enabled_plugins[name]
KeyError: 'Blocklist Importer'
Applying preferences
save uploaded memory
Pickling state...
Stopping DHT...
Saving fastresume data...
Quitting the core...
core: removing torrents...
core: removing settings...
core: shutting down session...
core shut down.

Attachments (2)

Bildschirmfoto.png (240.5 KB) - added by anonymous 16 years ago.
BlocklistImport.patch (481 bytes) - added by cov 16 years ago.
Quick fix that works for me

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by anonymous


Changed 16 years ago by cov

Quick fix that works for me

comment:1 Changed 16 years ago by mvoncken

  • Resolution set to fixed
  • Status changed from new to closed

fix commited. Thanks cov.

Note: See TracTickets for help on using tickets.