Last Transfer column

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

Last Transfer column

Postby foux » Thu Feb 25, 2021 1:32 pm

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 240 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
Compulsive Poster
Compulsive Poster
Posts: 1066
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Last Transfer column

Postby mhertz » Thu Feb 25, 2021 3:42 pm

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

Postby foux » Thu Feb 25, 2021 3:46 pm

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

Postby foux » Thu Feb 25, 2021 3:49 pm

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

Postby foux » Thu Feb 25, 2021 3:56 pm

Well.. indeed ubuntu installs libtorrent 1.1.5 which was released in... 2017

mhertz
Compulsive Poster
Compulsive Poster
Posts: 1066
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Last Transfer column

Postby mhertz » Thu Feb 25, 2021 4:10 pm

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

Postby foux » Thu Feb 25, 2021 4:18 pm

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


Return to “Support”

Who is online

Users browsing this forum: No registered users and 9 guests