Last Transfer column

General support for problems installing or using Deluge
Post Reply
foux
Member
Member
Posts: 10
Joined: Mon Dec 09, 2013 12:17 pm

Last Transfer column

Post by foux »

Hi there!

I've got an issue with the meaning of the "Last Transfer" column.
I assumed it would mean the last time a torrent has done any transfer, up or down, but when we look at this screenshot :
Capture d’écran 2021-02-25 à 14.31.02.png
Capture d’écran 2021-02-25 à 14.31.02.png (13 KiB) Viewed 1986 times
We can see that the torrent is actually transfering, but the last transfer field is 18 hours ago. Is that a bug, or do I misunderstand this field?

Thanks in davance for your help!
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Last Transfer column

Post by mhertz »

I quickly checked the code and it queries libtorrent's time_since_download and _time_since_upload, and finds the lowest value of the two and outputs in UIs. I tested it works here on latest libtorent.

I did a quick search though, where there was reportet issues with older libtorrent's outputting wrong numbers because of choosen formatting or something, and Arvid fixed it, so you're probably affected by that issue unforttunetly.
foux
Member
Member
Posts: 10
Joined: Mon Dec 09, 2013 12:17 pm

Re: Last Transfer column

Post by foux »

Thanks mhertz, probably on old libtorrent version on my docker container!
foux
Member
Member
Posts: 10
Joined: Mon Dec 09, 2013 12:17 pm

Re: Last Transfer column

Post by foux »

The fix seems to have been made almost three years ago, weird that I didn't get it. I'll keep investigating and keep you posted ;)
foux
Member
Member
Posts: 10
Joined: Mon Dec 09, 2013 12:17 pm

Re: Last Transfer column

Post by foux »

Well.. indeed ubuntu installs libtorrent 1.1.5 which was released in... 2017
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Last Transfer column

Post by mhertz »

Yeah, It's little strange e.g also that the 2.0.3 package in Ubuntu doesn't include backported important fixes etc, but maybe you can use a PPA or use one from newest Ubuntu 20.10 which I just checked was 1.2.5. Sorry not know much about Ubuntu honestly, but thanks for the reporting back, helpful for others :)
foux
Member
Member
Posts: 10
Joined: Mon Dec 09, 2013 12:17 pm

Re: Last Transfer column

Post by foux »

I updated my docker image to Ubuntu focal, and all is good! Thanks for the pointers mhertz!
Post Reply