You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me, this downloads about 14% of the files, and then hangs.
Expected behavior
I expected all the files to download, rather than getting stuck with a subset of the files downloaded. If one file cannot be downloaded/is unavailable, I would expect a warning or error.
System (please complete the following information):
OS: [e.g. iOS] Ubuntu
OS Version: [e.g. 22] 18.04
R Version: [e.g. 3.5.1] 3.6.2
Additional context
I think this may be an issue that is separate from #69, because there are no errors that arise in the download (hence the infinite while loop of #69 may be irrelevant).
If that call to download() never returns anything, then the error handling below is irrelevant. I'm not totally sure what the best solution here might be...
@mbjoseph Thanks for the alert! I get the same behavior, including the halt at 14%, which makes me think it's a specific file that's causing the problem. But the function should be robust to that, at first glance I don't understand why it's hanging there. We'll get back to you soon.
@mbjoseph Glad to hear it's resolved! I'll leave this issue open for now, in case it happens again. My best guess is that it was related to some issues we were having with the caches, but that's just a guess.
Function
byFileAOP
Describe the bug
The
byFileAOP
function will hang if a file download hangs.To Reproduce
I discovered this while trying to get some leaf area index mosaic data over Niwot Ridge:
For me, this downloads about 14% of the files, and then hangs.
Expected behavior
I expected all the files to download, rather than getting stuck with a subset of the files downloaded. If one file cannot be downloaded/is unavailable, I would expect a warning or error.
System (please complete the following information):
Additional context
I think this may be an issue that is separate from #69, because there are no errors that arise in the download (hence the infinite while loop of #69 may be irrelevant).
In trying to debug this issue, I think I tracked the problem down to this call to the
downloader::download()
function, which goes unresponsive for (at least) one of the files: https://github.com/NEONScience/NEON-utilities/blob/master/neonUtilities/R/byFileAOP.R#L139-L141If that call to
download()
never returns anything, then the error handling below is irrelevant. I'm not totally sure what the best solution here might be...The text was updated successfully, but these errors were encountered: