#2241 closed bug (Fixed)
Can't add any torrent files with GUI running
Reported by: | michkrol | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 2.x |
Component: | Core | Version: | master |
Keywords: | Cc: | Bro |
Description
I'm running newest Deluge built from git the master branch on Windows 7 (x64) with python 2.6 (32bit version), libtorrent 0.16.5.0. After my last build Deluge can't download any torrent files, if called from a web browser or Windows Explorer to open the file. It shows error message:
Invalid File utf8_encoded() takes exactly 1 argument (2 given)
Magnet links work.
What's weird is that it only happens if deluge GUI (deluge.exe) is already running (in background) when the browser calls it with new torrent file. Also doesn't work if flegxet tries to add new torrent file.
If the GUI (deluge.exe) is closed and the browser opens it to add the file it works.
In short, to reproduce you need to:
1. Open GUI (deluge.exe) 2. Click a torrent file in a web browser or a local torrent file in Windows Explorer 3. It shows the error.
It works if you:
1. Exit the GUI (deluge.exe process is not running even in background) 2. Click a torrent file in a web browser or a local torrent file in Windows Explorer 3. It let's you add the torrent.
The last version working for me is ca1a5d33f487e9f7983090041d8f20af3aa5d1e8 (2012-12-11 01:11:11 (GMT)), but I'm new to git, so take it with a grain of salt.
Change History (6)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Cc: | added |
---|---|
Milestone: | Future → 1.4.0 |
The problem from #2225 commit 60f196ff933, the change from decode_string to utf8_encoded failed to account for the extra self.encoding
option so all that is required is for utf8_encoded to include an extra optional encoding
arg which is passed onto decode_string.
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fix for utf8_encode: https://github.com/bendikro/deluge/commit/bc5e68582be415100667390ece2ee16273fce10c
Also, this fix for IPC code is necessary on Non-Windows: https://github.com/bendikro/deluge/commit/35299fc913d95aad79e2c41f1bb867b4809e5719
comment:4 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in master: cc5ef89139
I can also confirm this issue on Linux.
Arch Linux x64 python 3.3 libtorrent 0.16.5.0