JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
520 stars 75 forks source link

Pkg.build("Interact") fails #322

Closed tkoolen closed 5 years ago

tkoolen commented 5 years ago

I'm getting errors related to downloading:

julia> Pkg.build("Interact")
  Building WebIO ───────→ `~/.julia/packages/WebIO/Rk8wc/deps/build.log`
  Building Knockout ────→ `~/.julia/packages/Knockout/JE2Yq/deps/build.log`
  Building InteractBase → `~/.julia/packages/InteractBase/l8cEC/deps/build.log`
┌ Error: Error building `InteractBase`: 
│   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
100  664k  100  664k    0     0  2102k      0 --:--:-- --:--:-- --:--:-- 2102k
│   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
│ curl: (22) The requested URL returned error: 500 
│ ERROR: LoadError: failed process: Process(`curl -g -L -f -o /home/twan/.julia/packages/InteractBase/l8cEC/assets/prism.css https://www.gitcdn.xyz/repo/piever/InteractResources/v0.1.0/highlight/prism.css`, ProcessExited(22)) [22]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
│  [2] pipeline_error at ./process.jl:785 [inlined]
│  [3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
│  [4] run at ./process.jl:724 [inlined]
│  [5] download(::String, ::String) at ./download.jl:27
│  [6] top-level scope at /home/twan/.julia/packages/InteractBase/l8cEC/deps/build.jl:18 [inlined]
│  [7] top-level scope at ./none:0
│  [8] include at ./boot.jl:326 [inlined]
│  [9] include_relative(::Module, ::String) at ./loading.jl:1038
│  [10] include(::Module, ::String) at ./sysimg.jl:29
│  [11] include(::String) at ./client.jl:403
│  [12] top-level scope at none:0
│ in expression starting at /home/twan/.julia/packages/InteractBase/l8cEC/deps/build.jl:17
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075
  Building Interact ────→ `~/.julia/packages/Interact/0klKX/deps/build.log`
┌ Error: Error building `Interact`: 
│   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
│ curl: (22) The requested URL returned error: 500 
│ ERROR: LoadError: failed process: Process(`curl -g -L -f -o /home/twan/.julia/packages/Interact/0klKX/assets/bulma.min.css https://www.gitcdn.xyz/repo/piever/InteractResources/v0.4.0/bulma/main.min.css`, ProcessExited(22)) [22]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
│  [2] pipeline_error at ./process.jl:785 [inlined]
│  [3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
│  [4] run at ./process.jl:724 [inlined]
│  [5] download(::String, ::String) at ./download.jl:27
│  [6] top-level scope at /home/twan/.julia/packages/Interact/0klKX/deps/build.jl:12 [inlined]
│  [7] top-level scope at ./none:0
│  [8] include at ./boot.jl:326 [inlined]
│  [9] include_relative(::Module, ::String) at ./loading.jl:1038
│  [10] include(::Module, ::String) at ./sysimg.jl:29
│  [11] include(::String) at ./client.jl:403
│  [12] top-level scope at none:0
│ in expression starting at /home/twan/.julia/packages/Interact/0klKX/deps/build.jl:11
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

If I just open the links in a browser, I get "Internal server error":

piever commented 5 years ago

Thanks for reporting! The links work for me now. I'm not sure if it was a temporary thing or if there are some other issues. Any idea what could be a reliable service to download text files from?

tkoolen commented 5 years ago

The links work for me now.

Yep, can confirm.

Any idea what could be a reliable service to download text files from?

I have no idea, I don't know much about this stuff.