Call to deluge.core.Torrent.set_trackers() fails when trackers parameter is None
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
deluge (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Vivid |
Won't Fix
|
Low
|
Unassigned | ||
Wily |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Fix Released
|
Low
|
Unassigned |
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.
This is related to the upstream bug #2223: http://
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.
Related branches
- Marc Deslauriers: Needs Fixing
-
Diff: 1166 lines (+1087/-17)7 files modified.pc/Fix-set_trackers-when-trackers-None.patch/deluge/core/torrent.py (+984/-0)
.pc/applied-patches (+1/-0)
debian/changelog (+7/-0)
debian/patches/Fix-set_trackers-when-trackers-None.patch (+76/-0)
debian/patches/series (+1/-0)
debian/patches/ubuntu.series (+1/-0)
deluge/core/torrent.py (+17/-17)
- Marc Deslauriers: Approve
-
Diff: 1093 lines (+1039/-3)7 files modified.pc/Fix-AttributeError-in-set_trackers-with-lt-1.0.patch/deluge/core/torrent.py (+984/-0)
.pc/applied-patches (+1/-0)
debian/changelog (+8/-0)
debian/patches/Fix-AttributeError-in-set_trackers-with-lt-1.0.patch (+38/-0)
debian/patches/series (+1/-0)
debian/patches/ubuntu.series (+1/-0)
deluge/core/torrent.py (+6/-3)
Changed in deluge (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in deluge (Ubuntu): | |
importance: | Undecided → Low |
Changed in deluge (Ubuntu Wily): | |
status: | New → Fix Released |
Changed in deluge (Ubuntu Vivid): | |
importance: | Undecided → Low |
Changed in deluge (Ubuntu Wily): | |
importance: | Undecided → Low |
tags: | added: vivid |
Changed in deluge (Ubuntu Vivid): | |
status: | Fix Committed → Won't Fix |
Thanks but for several reasons it's simpler to just add the same if..else in set_trackers. Fixed in 1.3-stable: http:// git.deluge- torrent. org/deluge/ commit/ ?h=1.3- stable& id=acf4fc4193d
For reference about Deluge Trac registering bug: http:// forum.deluge- torrent. org/viewtopic. php?f=8& t=51737& p=213071# p213071