#2737: Fails to download blocklist, "Stuck at Downloading 0.00%"
----------------------------+--------------------
Reporter: cb474 | Owner:
Type: bug | Status: new
Priority: minor | Milestone: Future
Component: other/unknown | Version: 1.3.11
Resolution: | Keywords:
----------------------------+--------------------
Comment (by cb474):
Just for the heck of it, I tried installing deluge-git, from the Arch AUR
repository. The version number is listed as, 2.0.0.dev379-1.
If I launch Deluge 2.0 without a URL in the blocklist settings, it fails
to import the cached blocklist and I get these errors:
{{{
20:25:48.643 [ERROR ][deluge.plugins.blocklist.core :414 ] Failed
to read!!!!!!
20:25:48.643 [ERROR ][deluge.plugins.blocklist.core :1193] [Failure
instance: Traceback: <type 'exceptions.TypeError'>: coercing to Unicode:
need string or buffer, NoneType found
/usr/lib/python2.7/threading.py:783:__bootstrap
/usr/lib/python2.7/threading.py:810:__bootstrap_inner
/usr/lib/python2.7/threading.py:763:run
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/python/threadpool.py:196:_worker
/usr/lib/python2.7/site-
packages/twisted/python/context.py:118:callWithContext
/usr/lib/python2.7/site-
packages/twisted/python/context.py:81:callWithContext
build/bdist.linux-x86_64/egg/deluge/plugins/blocklist/readers.py:38:read
build/bdist.linux-
x86_64/egg/deluge/plugins/blocklist/readers.py:71:readranges
build/bdist.linux-
x86_64/egg/deluge/plugins/blocklist/decompressers.py:33:open
/usr/lib/python2.7/gzip.py:34:open
/usr/lib/python2.7/gzip.py:94:__init__
]
None
20:25:48.647 [ERROR ][twisted :455 ]
Unhandled error in Deferred:
Unhandled error in Deferred:
20:25:48.649 [ERROR ][twisted :455 ]
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/python/threadpool.py",
line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line
118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line
81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 68, in copyfile
if _samefile(src, dst):
File "/usr/lib/python2.7/shutil.py", line 58, in _samefile
return os.path.samefile(src, dst)
File "/usr/lib/python2.7/posixpath.py", line 162, in samefile
s1 = os.stat(f1)
exceptions.TypeError: coercing to Unicode: need string or buffer, NoneType
found
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/python/threadpool.py",
line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line
118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line
81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 68, in copyfile
if _samefile(src, dst):
File "/usr/lib/python2.7/shutil.py", line 58, in _samefile
return os.path.samefile(src, dst)
File "/usr/lib/python2.7/posixpath.py", line 162, in samefile
s1 = os.stat(f1)
exceptions.TypeError: coercing to Unicode: need string or buffer, NoneType
found
20:27:07.737 [ERROR ][deluge.plugins.blocklist.core :414 ] Failed
to read!!!!!!
20:27:07.738 [ERROR ][deluge.plugins.blocklist.core :1193] [Failure
instance: Traceback: <type 'exceptions.TypeError'>: coercing to Unicode:
need string or buffer, NoneType found
/usr/lib/python2.7/threading.py:783:__bootstrap
/usr/lib/python2.7/threading.py:810:__bootstrap_inner
/usr/lib/python2.7/threading.py:763:run
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/python/threadpool.py:196:_worker
/usr/lib/python2.7/site-
packages/twisted/python/context.py:118:callWithContext
/usr/lib/python2.7/site-
packages/twisted/python/context.py:81:callWithContext
build/bdist.linux-x86_64/egg/deluge/plugins/blocklist/readers.py:38:read
build/bdist.linux-
x86_64/egg/deluge/plugins/blocklist/readers.py:71:readranges
build/bdist.linux-
x86_64/egg/deluge/plugins/blocklist/decompressers.py:33:open
/usr/lib/python2.7/gzip.py:34:open
/usr/lib/python2.7/gzip.py:94:__init__
]
None
20:27:07.740 [ERROR ][twisted :455 ]
Unhandled error in Deferred:
Unhandled error in Deferred:
20:27:07.740 [ERROR ][twisted :455 ]
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/python/threadpool.py",
line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line
118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line
81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 68, in copyfile
if _samefile(src, dst):
File "/usr/lib/python2.7/shutil.py", line 58, in _samefile
return os.path.samefile(src, dst)
File "/usr/lib/python2.7/posixpath.py", line 162, in samefile
s1 = os.stat(f1)
exceptions.TypeError: coercing to Unicode: need string or buffer, NoneType
found
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/python/threadpool.py",
line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line
118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line
81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 68, in copyfile
if _samefile(src, dst):
File "/usr/lib/python2.7/shutil.py", line 58, in _samefile
return os.path.samefile(src, dst)
File "/usr/lib/python2.7/posixpath.py", line 162, in samefile
s1 = os.stat(f1)
exceptions.TypeError: coercing to Unicode: need string or buffer, NoneType
found
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/mainwindow.py",
line 305, in on_expose_event
component.get("SystemTray").blink(False)
File "/usr/lib/python2.7/site-packages/deluge/component.py", line 430,
in get
return _ComponentRegistry.components[name]
KeyError: 'SystemTray'
}}}
If I set a URL in the blocklist settings, it does not download an import
the blocklist and I get these errors:
{{{
20:27:32.355 [ERROR ][twisted :455 ]
Unhandled error in Deferred:
Unhandled error in Deferred:
20:27:32.358 [ERROR ][twisted :455 ]
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/plugins/init.py", line 26,
in enable
self.plugin.enable()
File "build/bdist.linux-x86_64/egg/deluge/plugins/blocklist/core.py",
line 100, in enable
File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line
173, in start
self()
File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line
218, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line
140, in maybeDeferred
result = f(*args, **kw)
File "build/bdist.linux-x86_64/egg/deluge/plugins/blocklist/core.py",
line 139, in check_import
File "build/bdist.linux-x86_64/egg/deluge/plugins/blocklist/core.py",
line 311, in download_list
File "/usr/lib/python2.7/site-packages/deluge/httpdownloader.py", line
182, in download_file
from twisted.web.client import _URI
exceptions.ImportError: cannot import name _URI
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/plugins/init.py", line 26,
in enable
self.plugin.enable()
File "build/bdist.linux-x86_64/egg/deluge/plugins/blocklist/core.py",
line 100, in enable
File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line
173, in start
self()
File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line
218, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line
140, in maybeDeferred
result = f(*args, **kw)
File "build/bdist.linux-x86_64/egg/deluge/plugins/blocklist/core.py",
line 139, in check_import
File "build/bdist.linux-x86_64/egg/deluge/plugins/blocklist/core.py",
line 311, in download_list
File "/usr/lib/python2.7/site-packages/deluge/httpdownloader.py", line
182, in download_file
from twisted.web.client import _URI
exceptions.ImportError: cannot import name _URI
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/mainwindow.py",
line 305, in on_expose_event
component.get("SystemTray").blink(False)
File "/usr/lib/python2.7/site-packages/deluge/component.py", line 430,
in get
return _ComponentRegistry.components[name]
KeyError: 'SystemTray'
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2737#comment:2>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.