Removing tracker fails when remaining list not unique
Removing tracker fails when remaining list not unique
When performing removeTrackersWithAnnounceAddresses: the code removes all instances of the trackers given as parameter from the list of trackers passed to tr_torrentSetAnnounceList. However, since the list may still contain duplicates of other trackers, tr_torrentSetAnnounceList can return TR_ANNOUNCE_LIST_HAS_DUPLICATES.
-
- Transmission Developer
- Posts: 3142
- Joined: Fri Jan 13, 2006 8:08 pm
Re: Removing tracker fails when remaining list not unique
If the torrent cannot have duplicate trackers, how could removing trackers results in duplicates? Can you elaborate?
Re: Removing tracker fails when remaining list not unique
The torrent had duplicate trackers, which I were trying to remove. Selecting one of the duplicates and clicking "remove" just resulted in an assert notice in the system log, as there were still several duplicates of other trackers left in the list. Selecting all of the duplicates and clicking "remove" did what it was supposed to.
1. If a torrent is not supposed to be able to have duplicate trackers you have a bug somewhere
2. Regardless, an operation should not just fail silently
1. If a torrent is not supposed to be able to have duplicate trackers you have a bug somewhere
2. Regardless, an operation should not just fail silently
-
- Transmission Developer
- Posts: 3142
- Joined: Fri Jan 13, 2006 8:08 pm
Re: Removing tracker fails when remaining list not unique
How did you add a duplicate tracker in the first place? Was it already in there? Or did you manually add it?
Re: Removing tracker fails when remaining list not unique
Came with the torrent, I suppose. They were certainly not added by me.
-
- Transmission Developer
- Posts: 3142
- Joined: Fri Jan 13, 2006 8:08 pm
Re: Removing tracker fails when remaining list not unique
Give the latest nightly a try. http://transmission.xpjets.com/