Opened 13 years ago

Closed 13 years ago

#1456 closed bug (Fixed)

Calculation of ETA with multi-file torrents

Reported by: hammered999 Owned by: Cas
Priority: trivial Milestone: 1.3.3
Component: GTK UI Version: 1.3.1
Keywords: Cc: hammered999@…

Description

Since I am really bored to describe the problem and since a picture is worth a 1000 words, take a look at the problem. It is pretty simple and annoying.

http://img808.imageshack.us/img808/3857/delugeeta.jpg

Change History (11)

comment:1 Changed 13 years ago by Cas

  • Priority changed from major to trivial
  • Status changed from new to pending

I think you will need to describe what we at looking at as it does not match the summary.

ETA = estimated time of arrival

comment:2 Changed 13 years ago by hammered_999

I am the OP, I just forgot my password and re-registered.

Yeah, I know what ETA means, tell that to the deluge devs. Look at the columns. ETA shows the remaining download time. But the calculation doesn't work if a torrent has many files and I choose to download SOME of them. I can't remember what is happening exactly(I haven't downloaded a torrent recently) but in this case deluge either:

  1. Calculates the time wrong. Eg I may have 400MB left to download and it says that it will be finished in 10s (no my connection isn't that fast)
  2. Or it fails to calculate a remaining time(shown at the picture).

Was it really that hard?

comment:3 Changed 13 years ago by Cas

  • Milestone changed from Future to 1.4.0
  • Summary changed from Wrong calculation of ETA. to Wrong calculation of ETA with

When reporting a bug, simply displaying a picture is not enough. I had a quick look at the picture and admittedly did not see the ETA column however if this has been explained properly, I would have noticed. Also we need to know how to repeat the issue and the fact that it only occurs with multi-file torrents was not part of your OP.

comment:4 Changed 13 years ago by Cas

  • Milestone changed from 1.4.0 to 1.3.x

comment:5 follow-up: Changed 13 years ago by hammered_999

ok, I am not going to continue the "aggression"/attitude(yes I admit I contributed to it).

One sure way to see the bug is to choose a multifile torrent and disable all the files but one. The ETA calculation most probably won't show up at this point at all. I can't test ATM if the same behavior occurs with single-file torrents(most probably not). I am suspecting that the function that calculates the ETA takes into account the size of the WHOLE torrent and not the size of the files that are set to "download".

Also, you seem to have forgotten something on the bug title. It reads "Wrong calculation of ETA with"

comment:6 in reply to: ↑ 5 Changed 13 years ago by Cas

  • Summary changed from Wrong calculation of ETA with to Calculation of ETA with multi-file torrents

Replying to hammered_999:

you seem to have forgotten something on the bug title. It reads "Wrong calculation of ETA with"

Thanks, got distracted :)

comment:7 Changed 13 years ago by Cas

  • Owner set to Cas
  • Status changed from pending to accepted

comment:8 Changed 13 years ago by feen

A better description/report:

Deluge has a bug with ETA calculation on torrents with multiple files when told not to download a given number of files.

Steps to reproduce:

  • Launch Deluge
  • Add a multi-file torrent
  • Mark some files as "Do not download"
  • Start download

Problem: Deluge shows no ETA
Expected: Deluge shows a ETA based on how long it will take to download the files it was told to, instead of all files in the torrent.

Problems with "do not download" not only happen on Deluge. uTorrent (Windows) usually downloads files it is told not to.

Screenshots follow of behavior with and whithout the bug happening. https://picasaweb.google.com/lh/photo/Zfk0tcazwCX7RbaejcyPD2AjzGVAem3tgygCmI_k3as?feat=directlink https://picasaweb.google.com/lh/photo/69G3SehulsE-qaOJX9xvOGAjzGVAem3tgygCmI_k3as?feat=directlink

comment:9 Changed 13 years ago by robg

Issue #1554 might be related to this one as they both involve calculations from multiple file torrents where not all files are selected for download.

comment:10 Changed 13 years ago by Cas

  • Milestone changed from 1.3.x to 1.3.3

comment:11 Changed 13 years ago by Cas

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in 1.3-stable: 8a3bad9f

Note: See TracTickets for help on using tickets.