Closed greimel closed 3 years ago
oh sorry I thought i replied to this ages ago.
Something is going wrong with HTTP.download
's ability to detect the filename.
That will have to be solved upstream in https://github.com/JuliaWeb/HTTP.jl/issues/696
Luckly this is one of the cases where the simpler way of determining the filename works:
julia> DataDeps.fetch_base(url, pwd())
"/Users/oxinabox/temp/11/gadm1_nuts2_gadm1_nuts2_aug2020.tsv"
Which means we have a work around by setting the fetch_method
sci_dep = DataDep(
"sci-nuts2",
"",
"https://data.humdata.org/dataset/e9988552-74e4-4ff4-943f-c782ac8bca87/resource/7570bcc3-a208-49c4-8821-17f8df93c0e2/download/gadm1_nuts2_gadm1_nuts2_aug2020.tsv";
fetch_method=DataDeps.fetch_base, # workaround https://github.com/JuliaWeb/HTTP.jl/issues/696
)
Closing as there is no action we can take here, needs to be solved in the upstream
Thanks for investigating!
Hi,
I would like to save this dataset
f = download(url)
works fine, it downloads the 83 MB file to a temporary file. When I define aDataDep
however, there is an error.I get
then it hangs for a wile. (note the size: 28 KB i/o 83 MB)
Do you have any idea what's going wrong?
The same error occurs when registering the DataDep and then doing
datadep"sci_nuts2"
.