Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when updating TimeZones? #279

Closed
ccoffrin opened this issue Jul 18, 2020 · 4 comments
Closed

Error when updating TimeZones? #279

ccoffrin opened this issue Jul 18, 2020 · 4 comments

Comments

@ccoffrin
Copy link

This may be a non issue, but thought I would mention just the same. A recent package update and got the following message,

   Building TimeZones → `~/.julia/packages/TimeZones/cAGJs/deps/build.log`
┌ Error: Error building `TimeZones`: 
│ 
│ curl: (22) The requested URL returned error: 503
│ ERROR: LoadError: Unable to automatically install 'tzdata2020a' from '/home/cjc/.julia/packages/TimeZones/cAGJs/Artifacts.toml'
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] ensure_artifact_installed(::String, ::Dict{String,Any}, ::String; platform::Pkg.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:894
│  [3] do_artifact_str(::String, ::Dict{String,Any}, ::String, ::Module) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:1023
│  [4] #invokelatest#1 at ./essentials.jl:712 [inlined]
│  [5] invokelatest at ./essentials.jl:711 [inlined]
│  [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:1058 [inlined]
│  [7] build(::String, ::Array{String,1}, ::String, ::String, ::String; verbose::Bool) at /home/cjc/.julia/packages/TimeZones/cAGJs/src/tzdata/build.jl:52
│  [8] build(::String) at /home/cjc/.julia/packages/TimeZones/cAGJs/src/tzdata/build.jl:113
│  [9] build(::String; force::Bool) at /home/cjc/.julia/packages/TimeZones/cAGJs/src/build.jl:11
│  [10] build at /home/cjc/.julia/packages/TimeZones/cAGJs/src/build.jl:11 [inlined] (repeats 2 times)
│  [11] top-level scope at /home/cjc/.julia/packages/TimeZones/cAGJs/deps/build.jl:3
│  [12] include(::String) at ./client.jl:439
│  [13] top-level scope at none:5
│ in expression starting at /home/cjc/.julia/packages/TimeZones/cAGJs/deps/build.jl:3

└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:899

However another call to ] build TimeZones seemed to work fine.

@omus
Copy link
Member

omus commented Jul 20, 2020

Thanks for the report. We can possibly implement an automated retry but I'd like to see how rare this issue is first

@ccoffrin
Copy link
Author

sounds good.

@oxinabox
Copy link
Contributor

oxinabox commented Oct 19, 2020

A very similar his error occurred today for one of our internal packages during nightly CI.

┌ Error: Error building `TimeZones`: 
│ [ Info: Downloading 2020a tzdata
│ ┌ Error: Download failed: curl: (7) Failed to connect to data.iana.org port 443: Connection refused
│ └ @ Base download.jl:43
│ ERROR: LoadError: failed process: Process(`curl -s -S -g -L -f -o /eph/builds/.../depot/packages/TimeZones/OjMoF/deps/tzarchive/tzdata2020a.tar.gz https://data.iana.org/time-zones/releases/tzdata2020a.tar.gz`, ProcessExited(7)) [7]

@omus
Copy link
Member

omus commented Aug 22, 2023

In PR #441 the deps/build.jl was removed so this is no longer an issue. Included in TimeZones release 1.12

@omus omus closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants