Opened 11 years ago

Closed 11 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 Changed 11 years ago by oconnors11

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 Changed 11 years ago by Cas

  • Cc bro added
  • Milestone changed from Future to 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 Changed 11 years ago by bro

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 11 years ago by bro

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 Changed 11 years ago by Cas

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in master: cc5ef89139

comment:6 Changed 7 years ago by Cas

  • Milestone changed from 2.0.x to 2.x

Milestone renamed

Note: See TracTickets for help on using tickets.