Opened 12 years ago

Closed 12 years ago

Last modified 7 years ago

#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 oconnors11, 12 years ago

I can also confirm this issue on Linux.

Arch Linux x64 python 3.3 libtorrent 0.16.5.0

Invalid File
utf8_encoded() takes exactly 1 argument (2 given)

comment:2 by Calum, 12 years ago

Cc: Bro added
Milestone: Future1.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 Bro, 12 years ago

Resolution: fixed
Status: newclosed

comment:4 by Bro, 12 years ago

Resolution: fixed
Status: closedreopened

comment:5 by Calum, 12 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in master: cc5ef89139

comment:6 by Calum, 7 years ago

Milestone: 2.0.x2.x

Milestone renamed

Note: See TracTickets for help on using tickets.