Comment 5 for bug 1274586

Revision history for this message
Ian Walker (8-ian) wrote :

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_glibbase.py", line 309, in run
    self._run()
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Blocklist-1.2.egg/blocklist/gtkui.py", line 148, in _on_button_check_download_clicked
    client.blocklist.check_import()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 504, in __call__
    return self.daemon.call(self.base, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 457, in call
    return defer.maybeDeferred(m, *copy.deepcopy(args), **copy.deepcopy(kwargs))
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Blocklist-1.2.egg/blocklist/core.py", line 155, in check_import
    d = self.import_list(self.config["url"])
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Blocklist-1.2.egg/blocklist/core.py", line 343, in import_list
    self.auto_detect(blocklist)
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Blocklist-1.2.egg/blocklist/core.py", line 417, in auto_detect
    self.config["list_compression"] = detect_compression(blocklist)
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Blocklist-1.2.egg/blocklist/detect.py", line 61, in detect_compression
    f = open(filename, "rb")
exceptions.TypeError: coercing to Unicode: need string or buffer, NoneType found