Custom Query (2449 matches)
Results (670 - 672 of 2449)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1513 | Fixed | Unhandled Twisted Error if 'Test Active Port' can't find website | ||
| Description |
The recent downtime of the website revealed an unhandled twisted error. Traceback (most recent call last): Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused. Also the icon displayed is the same as if the port is not accessible which is a bit confusing. |
|||
| #1514 | Fixed | Indicator Applet | ||
| Description |
https://bugs.launchpad.net/deluge/+bug/584669 This will be needed for Ubuntu 11.04 as they remove support for notification area. This Patch was tested by Grundoko:
|
|||
| #1527 | Fixed | Unhandled Exception in "move_storage" (trying to convert unicode to unicode) | ||
| Description |
Deluge 1.3.1_dev (ea22bb0b10d52fa311c2a05f6a47d0893bd1bd78) libtorrent 0.15.5 (r5250) Debian Squeeze This error occurs with or without AutoAdd on my deluged, when I want to moved finished downloads on complete. The attached patch fixes the problem on my machine. 03:12:23 [deluge.core.preferencesmanager][WARNING ] Unable to find GeoIP database file!
03:14:27 [twisted ][ERROR ] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.1-py2.6-linux-i686.egg/deluge/main.py", line 247, in start_daemon
Daemon(options, args)
File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.1-py2.6-linux-i686.egg/deluge/core/daemon.py", line 173, in __init__
reactor.run()
File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1165, in run
self.mainLoop()
File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1174, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 796, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.1-py2.6-linux-i686.egg/deluge/core/torrentmanager.py", line 855, in on_alert_torrent_finished
torrent.move_storage(move_path)
File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.1-py2.6-linux-i686.egg/deluge/core/torrent.py", line 812, in move_storage
dest_u=unicode(dest,"utf-8")
exceptions.TypeError: decoding Unicode is not supported
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py
index a1a2bdd..77f9f5c 100644
--- a/deluge/core/torrent.py
+++ b/deluge/core/torrent.py
@@ -808,9 +808,13 @@ def connect_peer(self, ip, port):
def move_storage(self, dest):
"""Move a torrent's storage location"""
- # Convert path from utf8 to unicode
- dest_u=unicode(dest,"utf-8")
-
+ try:
+ # Convert path from utf8 to unicode
+ dest_u=unicode(dest,"utf-8")
+ except TypeError:
+ # String is already utf8
+ dest_u=dest
+
if not os.path.exists(dest_u):
try:
# Try to make the destination path if it doesn't exist
|
|||
