Page 1 of 2

Deluge 1.3.0 cannot load some torrents

Posted: Mon Jan 31, 2011 2:42 pm
by pblue388
It's strange that after I upgraded to Deluge 1.3.0 (under Fedora 14), some torrents cannot be loaded by Deluge.

Several examples are attached.

There is no error message shown but there is nothing shown after uploading the torrent. Normally if the torrent is successfully uploaded, Deluge will show the folder structure.

When I tried to upload the torrent file, the forum said that "the uploaded file is empty". I tried to zip them into a zip file and the message is the same.

Please kindly advise.

Re: Deluge 1.3.0 cannot load some torrents

Posted: Thu Feb 03, 2011 6:18 pm
by Cas
Please note that the latest version of deluge is 1.3.1. what version of libtorrent are you using?

Are you sure that the torrent files are not actually empty, try opening them in a text editor.

Re: Deluge 1.3.0 cannot load some torrents

Posted: Fri Feb 04, 2011 4:51 am
by pblue388
Yes, I know the latest version is 1.3.1 but in Fedora 14, the latest version is only 1.3.0.

Today I can upload the torrent in the post and this is one example that I cannot load with Deluge 1.3.0.

After uploading the torrent, there is nothing in the "Files" window.

Re: Deluge 1.3.0 cannot load some torrents

Posted: Fri Feb 04, 2011 1:27 pm
by Cas
can you supply a debug log please

Re: Deluge 1.3.0 cannot load some torrents

Posted: Sun Feb 06, 2011 11:59 am
by pblue388
Attached for your checking.

Code: Select all

[ERROR   ] 22:20:44 rpcserver:303 Exception calling RPC request: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/deluge/core/rpcserver.py", line 298, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 415, in get_torrents_status
    status_dict[torrent_id] = self.get_torrent_status(torrent_id, keys, diff)
  File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 397, in get_torrent_status
    status = self.torrentmanager[torrent_id].get_status(keys, diff)
  File "/usr/lib/python2.7/site-packages/deluge/core/torrentmanager.py", line 275, in __getitem__
    return self.torrents[torrent_id]
KeyError: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

Re: Deluge 1.3.0 cannot load some torrents

Posted: Tue Feb 08, 2011 11:07 am
by pblue388
BTW, this torrent (and those torrents that cannot be uploaded by Deluge) can be loaded by BitComet under Windows platform without any problem.

Re: Deluge 1.3.0 cannot load some torrents

Posted: Tue Feb 08, 2011 12:01 pm
by Cas
I do not think this is a problem with the Deluge code. I think this has to do with something that libtorrent is using on your system causing an error.

I would ask what version of libtorrent you are using but I can guess that it will be 0.14.10.
Realistically to test/fix this on Fedora you will need to install the latest 0.14.12 or even the newest stable branch 0.15.5.

If you have a windows platform you should test with Deluge windows release also.

Re: Deluge 1.3.0 cannot load some torrents

Posted: Tue Feb 08, 2011 2:17 pm
by pblue388
I checked my machine installed with Fedora 14 (the latest version):

# yum info libtorrent
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Available Packages
Name : libtorrent
Arch : i686
Version : 0.12.7
Release : 1.fc14
Size : 360 k
Repo : updates
Summary : BitTorrent library with a focus on high performance & good code
URL : http://libtorrent.rakshasa.no/
License : GPLv2+
Description : LibTorrent is a BitTorrent library written in C++ for *nix, with
: a focus on high performance and good code. The library
: differentiates itself from other implementations by transfering
: directly from file pages to the network stack. On high-bandwidth
: connections it is able to seed at 3 times the speed of the
: official client.

I don't know why only "0.12.7" is available. Yum should be able to get the latest version, right?

Re: Deluge 1.3.0 cannot load some torrents

Posted: Tue Feb 08, 2011 2:28 pm
by pblue388
Just installed libtorrent with yum and reboot the computer but the scenario is the same as before.

# yum info libtorrent
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Installed Packages
Name : libtorrent
Arch : i686
Version : 0.12.7
Release : 1.fc14
Size : 1.0 M
Repo : installed
From repo : updates
Summary : BitTorrent library with a focus on high performance & good code
URL : http://libtorrent.rakshasa.no/
License : GPLv2+
Description : LibTorrent is a BitTorrent library written in C++ for *nix, with
: a focus on high performance and good code. The library
: differentiates itself from other implementations by transfering
: directly from file pages to the network stack. On high-bandwidth
: connections it is able to seed at 3 times the speed of the
: official client.

Re: Deluge 1.3.0 cannot load some torrents

Posted: Tue Feb 08, 2011 2:38 pm
by pblue388
Tried the Windows version as well - all the problematic torrents can be loaded without any problem.

It is NOT Deluge's problem but still I cannot use Deluge under Fedora 14. It is Deluge's interaction with Fedora's problem.

Please advise what I shall do then?