cate icon indicating copy to clipboard operation
cate copied to clipboard

Progress indicator and cancelling no longer working when downloading datasets to local

Open HelenClifton opened this issue 7 years ago • 12 comments

Expected behavior

@forman When downloading a dataset to local, expect to see download progress and be able to cancel if needed (as before)

Actual behavior

Dataset is still downloaded, but progress bar doesn't get filled in. progress_bar

When a second dataset is downloaded, no cancel button is visible progress_bar_5

Steps to reproduce the problem

  1. Start to download a dataset to local. Example is given below.

progress_bar_2

  1. Look at Tasks panel, see that download progress is not shown

  2. Look in local datastore folder, see that files are being downloaded.

  3. Wait for download to complete, then download a new dataset, e.g.: progress_bar_4

Specifications

cate-2.0.0-dev.7 Windows 7 Professional

HelenClifton avatar Mar 23 '18 15:03 HelenClifton

@forman This is no longer happening with cate-2.0.0-dev.9 This can be closed.

HelenClifton avatar Apr 20 '18 12:04 HelenClifton

@forman @hans-permana, @papesci This one's re-appeared in cate-2.0.0-dev.15. Seen with both Windows and Mac machine.

HelenClifton avatar Jun 28 '18 13:06 HelenClifton

hi all @papesci @forman @hans-permana This one's still happening with dev.19, please move it back from "Done" to the "To-Do" list, thanks.

HelenClifton avatar Sep 24 '18 13:09 HelenClifton

thanks @forman ! @forman @papesci @hans-permana here's some more info : with cate-2.0.0-dev19 the issue only happens when you are downloading with a regional constraint applied. When you don't have any regional constraint, the progress displays correctly and you can cancel.

HelenClifton avatar Sep 24 '18 14:09 HelenClifton

@HelenClifton thanks for point this out. This makes be believe that it is an issue in the data access component, with incorrect usage of the progress monitor. I'll assign therefore to @papesci

forman avatar Sep 24 '18 16:09 forman

@forman @HelenClifton @hans-permana Hi Normam the progress bar looks good when execution the copy from the CLI. To test it I have forced to print out each progress increment just to count the number of time it is called

progress

papesci avatar Sep 27 '18 10:09 papesci

Ok, we'll have a look.

forman avatar Sep 27 '18 10:09 forman

@forman With cate-2.0.0-dev.20 the issue sometimes seen when there is no regional constraint applied.

HelenClifton avatar Oct 05 '18 13:10 HelenClifton

Issue resolved in cate 2.0.0-dev 22

image

But progress bar doesn't get filled in for ocean colour dat

image

Evadzi avatar Nov 27 '18 09:11 Evadzi

progress bar now get filled in for ocean data as well

image

Specifications

cate-2.0.0-dev-23 Windows 10

Evadzi avatar Nov 27 '18 13:11 Evadzi

Thanks @papesci @forman @Evadzi . I've tested this with 2.0.0-dev.23 using SST, Cloud and aerosol datasets and confirm it is fixed. Closing it.

HelenClifton avatar Nov 27 '18 14:11 HelenClifton

@papesci @HelenClifton @Evadzi At least I have not changed any code. It must be the sequence of steps that causes this problem randomly. I'll reopen it until we found out what's the root cause.

forman avatar Nov 29 '18 16:11 forman