group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #02091
[Bug 1487704] Re: Call to deluge.core.Torrent.set_trackers() fails when trackers parameter is None
** Changed in: deluge (Ubuntu Vivid)
Status: Fix Committed => Won't Fix
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1487704
Title:
Call to deluge.core.Torrent.set_trackers() fails when trackers
parameter is None
Status in deluge package in Ubuntu:
Fix Released
Status in deluge source package in Vivid:
Won't Fix
Status in deluge source package in Wily:
Fix Released
Status in deluge source package in Xenial:
Fix Released
Bug description:
DistroRelease: Ubuntu 15.04
Package: deluge-common 1.3.11-0ubuntu2
Architecture: amd64
I was trying to write my own plugin, which made a call to
deluge.core.Torrent.set_trackers() with the 'trackers' parameter set
to None. From the source code, you can see that what's supposed to
happen is the current list of trackers is refreshed, however because
the distro release uses a more recent version of libtorrent, the
function call fails with an "AttributeError: 'dict' object has no
attribute 'url'" exception.
This is related to the upstream bug #2223: http://dev.deluge-
torrent.org/ticket/2223. It was fixed in the Torrent constructor, but
not in set_trackers().
I have made a patch which fixes this bug. I have tried logging this
bug upstream as well, but I've had no luck in creating an account at
the above site. Should you accept my patch, can you please forward it
upstream also?
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/1487704/+subscriptions