tremotesf2 icon indicating copy to clipboard operation
tremotesf2 copied to clipboard

Errored status is always zero

Open dsh2dsh opened this issue 1 year ago • 2 comments

Hi,

I had one torrent file, which is reporting it couldn't register to torrent tracker, because it was removed from the torrent tracker. And this torrent file wasn't in Errored state. I mean in the left column I see Errored (0).

dsh2dsh avatar Mar 01 '24 15:03 dsh2dsh

Does it show with error status in official transmission-qt client or transmission-remote-gtk?

equeim avatar Mar 06 '24 11:03 equeim

Yes, transmission gui client shows it with error status. That's how I know I need to re-download this torrent.

dsh2dsh avatar Mar 06 '24 11:03 dsh2dsh

@dsh2dsh I did some research and apparently Transmission does not report an error for torrent in that case if torrent has multiple trackers: https://github.com/transmission/transmission/blob/1e16912ae4a20ca338cfe89c72418cd37eac0102/libtransmission/announcer.cc#L1031

I don't really want to mess with this logic on client side since this is a deliberate behaviour on Transmission's part.

equeim avatar Aug 20 '24 19:08 equeim

@equeim oh sorry, I mean https://github.com/transmission-remote-gui/transgui It reports an error for torrents not registered on it's tracker.

if torrent has multiple trackers

I didn't tell anything about multiple trackers. My torrents has one tracker.

The goal is to know a torrent was replaced on a tracker. Without it how could I know I must re-download it.

dsh2dsh avatar Aug 20 '24 20:08 dsh2dsh

I just checked and for me Tremotesf shows an error for unregistered torrent with one tracker, with Transmission 4.0.6

equeim avatar Aug 20 '24 20:08 equeim

Is it possible that's because every torrent has a LAN local tracker? Like this:

http://bt3.t-ru.org/ann
http://retracker.local/announce

From this example retracker.local doesn't exists, because I don't have any retracker in my LAN. An the GUI reports "Could not connect".

dsh2dsh avatar Aug 20 '24 20:08 dsh2dsh

Is it possible that's because every torrent has a LAN local tracker? Like this:

http://bt3.t-ru.org/ann
http://retracker.local/announce

From this example retracker.local doesn't exists, because I don't have any retracker in my LAN. An the GUI reports "Could not connect".

Yes, there must only one tracker in the list.

equeim avatar Aug 20 '24 20:08 equeim

there must only one tracker in the list

I tried it and unfortunately it doesn't work. I removed retracker.local from all of my torrents and today one of torrents was re-uploaded on the tracker. transgui reports Error (1), but tremotesf reports Errored (0). See attached screenshots:

Screenshot_20240823_143251 Screenshot_20240823_143133

dsh2dsh avatar Aug 23 '24 12:08 dsh2dsh

Could be that Transmission doesn't update the status flag of the torrent correctly. I have seen this when removing retracker.local tracker, Transmission would not report error status for torrent until the daemon is restarted. Does it fix itself for you after restarting Transmission?

equeim avatar Aug 23 '24 18:08 equeim

Yes, after restarting transmission daemon tremotesf reports Errored (1) as expected.

I'd like to note, transgui reports not registered torrents even without transmission daemon restart.

dsh2dsh avatar Aug 23 '24 18:08 dsh2dsh

Fixed in 2.7.0

equeim avatar Aug 30 '24 22:08 equeim