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

updating to v1.3.0: Unable to automatically install 'OpenSpecFun' #527

Closed
ghost opened this issue Nov 27, 2019 · 47 comments
Closed

updating to v1.3.0: Unable to automatically install 'OpenSpecFun' #527

ghost opened this issue Nov 27, 2019 · 47 comments

Comments

@ghost
Copy link

ghost commented Nov 27, 2019

I having difficulties in updating packages to v1.3.0 and @fredrikekre suggested I file an issue here. Here's the beginning of the stack trace:

  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
 Installed Plots ─ v0.28.0
┌ Error: Tree Hash Mismatch!
│   Expected git-tree-sha1:   d322d52dbe634d659d67312eea8a78c16112127e
│   Calculated git-tree-sha1: 0aee4fdfd24ee5162c06e2507d82c11a8f6a9ad2
└ @ Pkg.Artifacts /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:724
ERROR: Unable to automatically install 'OpenSpecFun' from '/home/healyp/.julia/packages/OpenSpecFun_jll/XrUb6/Artifacts.toml'
Stacktrace:
 [1] error(::String) at ./error.jl:33

On suggestion of @giordano, versinoinfo() gives

julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, sandybridge)
Environment:
  JULIAPATH = .:/home/healyp/src/julia-1.3.0/bin/
  JULIA_PKGDIR = /home/healyp/.julia/
  JULIA_NUM_THREADS = 8

All suggestions appreciated.

Many thanks.

@giordano
Copy link
Member

What's the output of

using Pkg.BinaryPlatforms
platform_key_abi()

I think I have your same platform and the hash is correct for me. Maybe a corrupted download? But that would have had a mismatch in the hash of the tarball

@fredrikekre
Copy link
Member

Might be possible that the hash is wrong in the Artifacts file.

@giordano
Copy link
Member

Might be possible that the hash is wrong in the Artifacts file.

I assume I'd have had the same error installing SpecialFunctions.jl in an empty environment, no?

@fredrikekre
Copy link
Member

Thats true, maybe we just compute it wrong? But I assume the same function is used when creating the artifacts file as when unpacking the tarball.

@ghost
Copy link
Author

ghost commented Nov 27, 2019

julia> platform_key_abi()
Linux(:x86_64, libc=:glibc, compiler_abi=CompilerABI(libgfortran_version=v"4.0.0", cxxstring_abi=:cxx11))

@giordano
Copy link
Member

giordano commented Nov 27, 2019

No, ok, your platform is x86_64-linux-gnu-libgfortran4, I have libgfortran5 instead of 4. There is then the possibility that the hash is wrong in Artifacts.toml

@ghost
Copy link
Author

ghost commented Nov 27, 2019

Might be possible that the hash is wrong in the Artifacts file.

I assume I'd have had the same error installing SpecialFunctions.jl in an empty environment, no?

I should say that this same difficulty comes up in both cases, both upgrading from v1.1.1 and doing a first-time install on another machine.

Thanks,
PH

@fredrikekre
Copy link
Member

fredrikekre commented Nov 27, 2019

On my machine all the hashes look correct;

using Pkg
Pkg.PlatformEngines.probe_platform_engines!()

toml = read(`curl -sL https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/master/Artifacts.toml`);
artifacts = Pkg.TOML.parse(IOBuffer(toml))
for a in artifacts["OpenSpecFun"]
    for dl in a["download"]
        dir = mktempdir()
        @assert Pkg.PlatformEngines.download_verify_unpack(dl["url"], dl["sha256"], dir; ignore_existence=true, verbose=true)
        treehash = bytes2hex(Pkg.GitTools.tree_hash(dir))
        treehash == a["git-tree-sha1"] || error("hash mismatch!")
    end
end

passes. Does that error for you?

@PhilipLoewen
Copy link

PhilipLoewen commented Nov 28, 2019

I see the same error message, with the same expected and calculated hash values, as the OP.

Running the code suggested by @fredrikekre above produces an interesting result:

           for dl in a["download"]
               dir = mktempdir()
               @assert Pkg.PlatformEngines.download_verify_unpack(dl["url"], dl["sha256"], dir; ignore_existence=true, verbose=true)
               treehash = bytes2hex(Pkg.GitTools.tree_hash(dir))
               treehash == a["git-tree-sha1"] || error("hash mismatch!")
           end
       end
[ Info: Downloading https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+1/OpenSpecFun.v0.5.3.powerpc64le-linux-gnu-libgfortran3.tar.gz to /tmp/jl_y2QFE6-download.gz...
######################################################################## 100.0%
[ Info: No hash cache found
[ Info: Calculated hash 964c133100e41f1b99c11d2177e78ebb72523ec154118c70ca25bbc51b81d3e1 for file /tmp/jl_y2QFE6-download.gz
[ Info: Unpacking /tmp/jl_y2QFE6-download.gz into /tmp/jl_UN4hrU...
ERROR: hash mismatch!
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] top-level scope at ./REPL[6]:6

At least, I think it's interesting because (I am unfamiliar with the basics, but) the downloaded item seems to have "powerpc64le" in its name, whereas my CPU comes from Intel. Details:

Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, haswell)

I hope there is something relevant in here. Thanks.

@ghost
Copy link
Author

ghost commented Nov 28, 2019

On my machine all the hashes look correct;
:
passes. Does that error for you?

Yes. There's a hash mismatch. The end of the trace:

--2019-11-28 09:50:35--  https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+1/OpenSpecFun.v0.5.3.powerpc64le-linux-gnu-libgfortran3.tar.gz
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/205283016/20afff80-d9f9-11e9-8611-37a93729c4cf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191128%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191128T095035Z&X-Amz-Expires=300&X-Amz-Signature=e4f42b31dd8f0a51568cb309490f62169913a88deead0ab2643dbf63bd962596&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DOpenSpecFun.v0.5.3.powerpc64le-linux-gnu-libgfortran3.tar.gz&response-content-type=application%2Foctet-stream [following]
--2019-11-28 09:50:35--  https://github-production-release-asset-2e65be.s3.amazonaws.com/205283016/20afff80-d9f9-11e9-8611-37a93729c4cf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191128%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191128T095035Z&X-Amz-Expires=300&X-Amz-Signature=e4f42b31dd8f0a51568cb309490f62169913a88deead0ab2643dbf63bd962596&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DOpenSpecFun.v0.5.3.powerpc64le-linux-gnu-libgfortran3.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.36.20
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.36.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 205399 (201K) [application/octet-stream]
Saving to: ‘/tmp/jl_9bkc5j-download.gz’

/tmp/jl_9bkc5j-down 100%[===================>] 200.58K   143KB/s    in 1.4s    

2019-11-28 09:50:37 (143 KB/s) - ‘/tmp/jl_9bkc5j-download.gz’ saved [205399/205399]

[ Info: No hash cache found
[ Info: Calculated hash 964c133100e41f1b99c11d2177e78ebb72523ec154118c70ca25bbc51b81d3e1 for file /tmp/jl_9bkc5j-download.gz
[ Info: Unpacking /tmp/jl_9bkc5j-download.gz into /tmp/jl_glFMHm...
ERROR: hash mismatch!
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] top-level scope at ./REPL[15]:6

julia> 

@fredrikekre
Copy link
Member

fredrikekre commented Nov 28, 2019

At least, I think it's interesting because (I am unfamiliar with the basics, but) the downloaded item seems to have "powerpc64le" in its name, whereas my CPU comes from Intel. Details:

The snippet there downloads all different versions.

So it looks like we compute the hash wrong then, alternatively that your unpacking engines do something weird.

@fredrikekre
Copy link
Member

fredrikekre commented Nov 28, 2019

What unpack engine do you get from:

julia> Pkg.PlatformEngines.probe_platform_engines!()

julia> Pkg.PlatformEngines.gen_unpack_cmd("file.tar.gz", "/tmp/file")
`tar -xzf file.tar.gz -C/tmp/file`

Edit:

$ tar --version
tar (GNU tar) 1.28

@giordano
Copy link
Member

For the record, I don't have any hash mismatch and get the same unpack command as Fredrik

@ghost
Copy link
Author

ghost commented Nov 28, 2019

julia> Pkg.PlatformEngines.gen_unpack_cmd("file.tar.gz", "/tmp/file")
`tar -xzf file.tar.gz -C/tmp/file`

and

$ tar --version
tar (GNU tar) 1.30

This is the version of tar that is running on /both/ machines where I'm encountering this difficulty.

@giordano
Copy link
Member

% tar --version
tar (GNU tar) 1.32

@PhilipLoewen
Copy link

julia> Pkg.PlatformEngines.gen_unpack_cmd("file.tar.gz", "/tmp/file")
`tar -xzf file.tar.gz -C/tmp/file`

julia> exit()
philip@ella1804 ~ $ tar --version
tar (GNU tar) 1.29

@giordano
Copy link
Member

Suggested by @StefanKarpinski: what's your umask?

% umask 
022

@StefanKarpinski
Copy link

It's unclear from this discussion to me if the problem is that different tar versions are extracting tarballs differently or if GitTools.tree_hash is computing hashes differently. In particular, I find this line a bit fishy:

https://github.com/JuliaLang/Pkg.jl/blob/258d74ecd4104aadb34ff65f38/src/GitTools.jl#L205

This line looks like it only checks if the group executable bit is set, which seems like the wrong criterion for whether a file is considered executable or not. Seems like something that could be messed up by a strict umask setting. cc: @staticfloat, @simonbyrne — why is that the check?

@ghost
Copy link
Author

ghost commented Nov 28, 2019

Suggested by @StefanKarpinski: what's your umask?

% umask 
022

My for-the-worried umask

$ umask
0077

Too strict, perhaps?

@StefanKarpinski
Copy link

It's certainly not your fault! We should fix the git tree hash computation code to do the right thing. Which, I suspect is either

  • !iszero(filemode(path) & 0o111) or
  • !iszero(filemode(path) & 0o100).

The former considers a file to be executable if any executable bit is set while the latter considers it to be executable if and only if the user executable bit is set. It's possible that's what this code was meant to do, but instead it's considering a file executable if and only if the group executable bit is set, which is just kind of odd. We should do the same thing as git does.

@StefanKarpinski
Copy link

Looks like just looking at the user executable bit is the right thing.

@ghost
Copy link
Author

ghost commented Nov 28, 2019

I can confirm that /temporarily/ :-) setting umask to 022 removed the blockage and has allowed the update to complete.

I have to express astonishment (and huge gratitude) for the attention that this issue was given. Thanks to all who helped.

@PhilipLoewen
Copy link

I'm delighted to confirm that this fix (setting umask to 0022) works for me, too. Add my thanks to that already sent by healy-pa!

@StefanKarpinski
Copy link

StefanKarpinski commented Nov 29, 2019

I have to confess that I had already noticed that line and been a bit suspicious of it and wish that I had investigated more before we made the 1.3.0 release. Apologies for the breakage—we may want to release a 1.3.1 release with this fix included somewhat soon so that people with strict umasks can use the 1.3 Julia release. Thank you for reporting the issue!

@StefanKarpinski
Copy link

Ok, this should now be fixed with Pkg master as of JuliaLang/Pkg.jl#1513. In order to close this, someone (quite possibly me) needs to set a strict umask and reproduce this failure with 1.3.0 and then try it with the fix and verify that it is indeed fixed.

staticfloat added a commit to JuliaLang/julia that referenced this issue Nov 30, 2019
This fixes some recently-reported issues with restrictive `umask`'s and
the `Pkg.Artifacts` git tree hash calculation.

X-ref: JuliaPackaging/BinaryBuilder.jl#527
@staticfloat
Copy link
Member

Yes, it should be only the user flag, not the group flag. I or Simon must have missed a 0 when typing up the octal constant.

I have confirmed that building Julia with the latest Pkg works to fix the issue with a restrictive umask.

staticfloat added a commit to JuliaLang/julia that referenced this issue Dec 2, 2019
This fixes some recently-reported issues with restrictive `umask`'s and
the `Pkg.Artifacts` git tree hash calculation.

X-ref: JuliaPackaging/BinaryBuilder.jl#527
fredrikekre pushed a commit to JuliaLang/julia that referenced this issue Dec 2, 2019
This fixes some recently-reported issues with restrictive `umask`'s and
the `Pkg.Artifacts` git tree hash calculation.

X-ref: JuliaPackaging/BinaryBuilder.jl#527
@daxinnan
Copy link

daxinnan commented Dec 16, 2019

I have a similar problem about OpenBLAS, I don't know whether it's happened by the same reason or not:

(v1.3) pkg> up
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
   Cloning [336ed68f-0bac-5ca0-87d4-7b16caf5d00b] CSV from https://github.com/JuliaData/CSV.jl.git
 Installed CSV ─ v0.5.20
ERROR: Unable to automatically install 'OpenBLAS' from '/home/lxc/.julia/packages/OpenBLAS_jll/vi57R/Artifacts.toml'
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:810
 [3] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Linux,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at ./none:0
 [4] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Linux, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:852
 [5] #ensure_all_artifacts_installed at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:0 [inlined]
 [6] #download_artifacts#78(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:580
 [7] #download_artifacts at ./none:0 [inlined]
 [8] #download_artifacts#73(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:570
 [9] download_artifacts(::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:569
 [10] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Pkg.Types.UpgradeLevel) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1103
 [11] #up#43(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.up), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:170
 [12] up at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:146 [inlined]
 [13] do_up!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:492
 [14] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Base.invokelatest), ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
 [15] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:708
 [16] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:412
 [17] #do_cmd#23(::Bool, ::typeof(Pkg.REPLMode.do_cmd), ::REPL.LineEditREPL, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:391
 [18] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:387 [inlined]
 [19] (::Pkg.REPLMode.var"#28#31"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:619
 [20] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [21] invokelatest at ./essentials.jl:708 [inlined]
 [22] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2306
 [23] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045
 [24] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201
 [25] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382
 [26] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [27] invokelatest at ./essentials.jl:708 [inlined]
 [28] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366
 [29] exec_options(::Base.JLOptions) at ./client.jl:304
 [30] _start() at ./client.jl:460

versioninfo

julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
Environment:
  JULIA_NUM_THREADS = 4
  JULIA_REVISE = manual

@jw3126
Copy link

jw3126 commented Jan 14, 2020

Similar looking error with IntelOpenMP here:

(ImageFiltering) pkg> up
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
ERROR: Unable to automatically install 'IntelOpenMP' from '/home/jan/.julia/packages/IntelOpenMP_jll/hsAKN/Artifacts.toml'
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:873
 [3] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Linux,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at ./none:0
 [4] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:919
 [5] #ensure_all_artifacts_installed at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:0 [inlined]
 [6] #download_artifacts#78(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:580
 [7] #download_artifacts at ./none:0 [inlined]
 [8] #download_artifacts#73(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:570
 [9] download_artifacts(::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:569
 [10] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Pkg.Types.UpgradeLevel) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1103
 [11] #up#43(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.up), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:170
 [12] up at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:146 [inlined]
 [13] do_up!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:492
 [14] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Base.invokelatest), ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
 [15] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:708
 [16] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:412
 [17] #do_cmd#23(::Bool, ::typeof(Pkg.REPLMode.do_cmd), ::REPL.LineEditREPL, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:391
 [18] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:387 [inlined]
 [19] (::Pkg.REPLMode.var"#28#31"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:619
 [20] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [21] invokelatest at ./essentials.jl:708 [inlined]
 [22] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2306
 [23] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045
 [24] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201
 [25] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382
 [26] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [27] invokelatest at ./essentials.jl:708 [inlined]
 [28] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366
 [29] exec_options(::Base.JLOptions) at ./client.jl:304
 [30] _start() at ./client.jl:460

(ImageFiltering) pkg> ^C

julia> versioninfo()
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
  JULIA_NUM_THREADS = 8

@jw3126
Copy link

jw3126 commented Jan 14, 2020

Also ZeroMQ

(v1.3) pkg> add IJulia
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
ERROR: Unable to automatically install 'ZeroMQ' from '/home/jan/.julia/packages/ZeroMQ_jll/SbMEz/Artifacts.toml'
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:873
 [3] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Linux,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at ./none:0
 [4] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:919
 [5] #ensure_all_artifacts_installed at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:0 [inlined]
 [6] #download_artifacts#78(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:580
 [7] #download_artifacts at ./none:0 [inlined]
 [8] #download_artifacts#73(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:570
 [9] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPlatforms.Linux}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at ./none:0
 [10] #add#112(::Bool, ::Pkg.BinaryPlatforms.Linux, ::typeof(Pkg.Operations.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1017
 [11] #add at ./none:0 [inlined]
 [12] #add#25(::Bool, ::Pkg.BinaryPlatforms.Linux, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:102
 [13] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:72
 [14] do_add!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:505
 [15] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Base.invokelatest), ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
 [16] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:708
 [17] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:412
 [18] #do_cmd#23(::Bool, ::typeof(Pkg.REPLMode.do_cmd), ::REPL.LineEditREPL, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:391
 [19] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:387 [inlined]
 [20] (::Pkg.REPLMode.var"#28#31"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:619
 [21] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [22] invokelatest at ./essentials.jl:708 [inlined]
 [23] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2306
 [24] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045
 [25] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201
 [26] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382
 [27] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [28] invokelatest at ./essentials.jl:708 [inlined]
 [29] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366
 [30] exec_options(::Base.JLOptions) at ./client.jl:304
 [31] _start() at ./client.jl:460

(v1.3) pkg> ^C

julia> versioninfo()
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
  JULIA_NUM_THREADS = 8

@jw3126
Copy link

jw3126 commented Jan 14, 2020

Hi! I was also getting an ERROR when trying to install the OpenSpecFun.
It looks like it was a conflict with the curl binary becasuse of the path. It was using the ...julia/usr/bin/curl
Just removing it solves the issue.

For me it was essentially the same problem.

@staticfloat
Copy link
Member

staticfloat commented Jan 14, 2020

@jw3126 if you still have the curl binary that came with Julia around, can you try manually downloading something with it (from Julia) by running the following:

using Pkg.PlatformEngines
probe_platform_engines!(verbose=true)
mktempdir() do dir
    download_verify(
        "https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz",
        "3ce85d89aa9a21402a47081eefb66688214d3fdd033becebf18a3396fc2b165a",
        joinpath(dir, "foo");
        verbose=true,
	)
end

I'm curious what errors you're encountering.

@jw3126
Copy link

jw3126 commented Jan 14, 2020

julia> mktempdir() do dir
           download_verify(
               "https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz",
               "3ce85d89aa9a21402a47081eefb66688214d3fdd033becebf18a3396fc2b165a",
               joinpath(dir, "foo");
               verbose=true,
               )
       end
[ Info: Downloading https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz to /tmp/jl_LRqqpT/foo...
curl: /home/jan/juliadev/usr/lib/libcurl.so.4: no version information available (required by curl)
#=#=#                                                                         
curl: (60) Cert verify failed: BADCERT_NOT_TRUSTED
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
ERROR: Could not download https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz to /tmp/jl_LRqqpT/foo:
ProcessFailedException(Base.Process[Process(`curl -C - '-#' -f -o /tmp/jl_LRqqpT/foo -L https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz`, ProcessExited(60))])
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] #download#82(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:591
 [3] #download at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:0 [inlined]
 [4] #download_verify#83(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:642
 [5] #download_verify at ./none:0 [inlined]
 [6] #3 at ./REPL[3]:2 [inlined]
 [7] #mktempdir#18(::String, ::typeof(mktempdir), ::var"#3#4", ::String) at ./file.jl:634
 [8] mktempdir(::Function, ::String) at ./file.jl:632 (repeats 2 times)
 [9] top-level scope at REPL[3]:1
caused by [exception 1]
failed process: Process(`curl -C - '-#' -f -o /tmp/jl_LRqqpT/foo -L https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz`, ProcessExited(60)) [60]

Stacktrace:
 [1] pipeline_error at ./process.jl:525 [inlined]
 [2] #run#565(::Bool, ::typeof(run), ::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:440
 [3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:438
 [4] #download#82(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:586
 [5] #download at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:0 [inlined]
 [6] #download_verify#83(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:642
 [7] #download_verify at ./none:0 [inlined]
 [8] #3 at ./REPL[3]:2 [inlined]
 [9] #mktempdir#18(::String, ::typeof(mktempdir), ::var"#3#4", ::String) at ./file.jl:634
 [10] mktempdir(::Function, ::String) at ./file.jl:632 (repeats 2 times)
 [11] top-level scope at REPL[3]:1

@staticfloat
Copy link
Member

What OS version are you on?

@jw3126
Copy link

jw3126 commented Jan 14, 2020

You mean

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

?

@daxinnan
Copy link

Maybe it's a network error, set proxy and try again.

@staticfloat
Copy link
Member

Hmmm, I can't reproduce on a fresh 18.04 installation. Can you give me any further details about your system? Are you behind a firewall or a proxy of some sort?

@jw3126
Copy link

jw3126 commented Jan 15, 2020

It's my private computer, there is no proxy or firewall. Nothing unusual about it come to my mind.

@staticfloat
Copy link
Member

  • When you type which curl, what path does it give you?

  • Can you manually, (from a terminal) run curl -C - '-#' -f -o /tmp/foo -L https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz?

  • What is the output of ldd $(which curl) and shasum -a 256 $(which curl)?

@jw3126
Copy link

jw3126 commented Jan 15, 2020

jan@jan-GE60-0NC-GE60-0ND:~$ which curl
/usr/bin/curl
jan@jan-GE60-0NC-GE60-0ND:~$ curl -C - '-#' -f -o /tmp/foo -L https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz
curl: /home/jan/juliadev/usr/lib/libcurl.so.4: no version information available (required by curl)
##O=-#     #                                                                                                                                                                            
curl: (60) Cert verify failed: BADCERT_NOT_TRUSTED
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
jan@jan-GE60-0NC-GE60-0ND:~$ ldd $(which curl)
/usr/bin/curl: /home/jan/juliadev/usr/lib/libcurl.so.4: no version information available (required by /usr/bin/curl)
	linux-vdso.so.1 (0x00007ffd707f5000)
	libcurl.so.4 => /home/jan/juliadev/usr/lib/libcurl.so.4 (0x00007f4776bba000)
	libz.so.1 => /home/jan/juliadev/usr/lib/libz.so.1 (0x00007f477699d000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f477677e000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f477638d000)
	libssh2.so.1 => /home/jan/juliadev/usr/lib/libssh2.so.1 (0x00007f477614d000)
	libmbedtls.so.12 => /home/jan/juliadev/usr/lib/libmbedtls.so.12 (0x00007f4775f0d000)
	libmbedx509.so.0 => /home/jan/juliadev/usr/lib/libmbedx509.so.0 (0x00007f4775cf2000)
	libmbedcrypto.so.3 => /home/jan/juliadev/usr/lib/libmbedcrypto.so.3 (0x00007f4775a7f000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4775877000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f4777072000)
jan@jan-GE60-0NC-GE60-0ND:~$ shasum -a 256 $(which curl)
c02e0efd22db6c4316631be5e7ad0edb27838384571f63031693f7d46e15cff9  /usr/bin/curl

@staticfloat
Copy link
Member

You are picking up /home/jan/juliadev/usr/lib/libcurl.so.4 even from your shell? Do you have LD_LIBRARY_PATH defined in your environment?

@jw3126
Copy link

jw3126 commented Jan 15, 2020

Yes I have:

jan@jan-GE60-0NC-GE60-0ND:~$ echo $LD_LIBRARY_PATH
/home/jan/juliadev/usr/lib/

It was part of a hack to circumvent some bug when building julia a long time ago that forgot about.
I removed it now and now curl works and I can install ZMQ etc. Thanks a lot for the help @staticfloat

@jw3126
Copy link

jw3126 commented Jan 15, 2020

I think it was this one https://discourse.julialang.org/t/problem-building-julia-version-jl-llvm-6-0-not-found/11545

@staticfloat
Copy link
Member

Great; I'm going to close this issue. If anyone has similar problems, please feel free to open a new issue.

@Whale-fall
Copy link

I can confirm that /temporarily/ :-) setting umask to 022 removed the blockage and has allowed the update to complete.

I have to express astonishment (and huge gratitude) for the attention that this issue was given. Thanks to all who helped.

I met the same problem on windows, can you give me some advice to fix it?

@giordano
Copy link
Member

@Whale-fall could you please open a new issue, providing the full error message that you get?

@AsadiMarziehAF
Copy link

Hey,
I need to specify the full path to the Julia software on my computer and connect Julia to R and I need to execute the command in Julia but I have been getting errors.
The following text is the code that I used and the problem that occurred, and I can't install 'OpenSpecFun'.
Does anybody know how can I fix that?
Thank you so much
Marzieh

           _

_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 1.5.3 (2020-11-09)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |

julia> ENV["R_HOME"]="C:/PROGRA1/R/R-401. 3"
"C:/PROGRA1/R/R-401. 3"

julia> Base.include(Main,"C:/Users/ASADI/Documents/R/win-library/4.0/JuliaCall/j
ulia/setup.jl")
ERROR: LoadError: ArgumentError: Package RCall not found in current path:

  • Run import Pkg; Pkg.add("RCall") to install the RCall package.

Stacktrace:
[1] require(::Module, ::Symbol) at .\loading.jl:893
[2] include(::Function, ::Module, ::String) at .\Base.jl:380
[3] include(::Module, ::String) at .\Base.jl:368
[4] top-level scope at REPL[2]:1
in expression starting at C:\Users\ASADI\Documents\R\win-library\4.0\JuliaCall\j
ulia\setup.jl:72

julia> import Pkg;

julia> Pkg.add("RCall")
Updating registry at C:\Users\ASADI\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions...
Downloading artifact: OpenSpecFun
Exception setting "SecurityProtocol": "Cannot convert null to type "System.Net.
SecurityProtocolType" due to invalid enumeration values. Specify one of the fol
lowing enumeration values and try again. The possible enumeration values are "S
sl3, Tls"."
At line:1 char:35

  • [System.Net.ServicePointManager]:: <<<< SecurityProtocol =
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyAssignmentException

Exception calling "DownloadFile" with "2" argument(s): "The underlying connecti
on was closed: An unexpected error occurred on a send."
At line:12 char:24

  • $webclient.DownloadFile <<<< ("https://pkg.julialang.org/artifact/e6e3e56185c
    a54f071864e989e828f00f281f32f", "C:\Users\ASADI\AppData\Local\Temp\jl_NsBHhEfP2
    O-download.gz")
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : DotNetMethodException
      Downloading artifact: OpenSpecFun
      Exception setting "SecurityProtocol": "Cannot convert null to type "System.Net.
      SecurityProtocolType" due to invalid enumeration values. Specify one of the fol
      lowing enumeration values and try again. The possible enumeration values are "S
      sl3, Tls"."
      At line:1 char:35
  • [System.Net.ServicePointManager]:: <<<< SecurityProtocol =
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyAssignmentException

Exception calling "DownloadFile" with "2" argument(s): "The underlying connecti
on was closed: An unexpected error occurred on a send."
At line:7 char:24

  • $webclient.DownloadFile <<<< ("https://github.com/JuliaBinaryWrappers/OpenSpe
    cFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.x86_64-w6
    4-mingw32-libgfortran5.tar.gz", "C:\Users\ASADI\AppData\Local\Temp\jl_g5JQbhrxA
    O-download.gz")
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : DotNetMethodException
      ERROR: Unable to automatically install 'OpenSpecFun' from 'C:\Users\ASADI.julia
      \packages\OpenSpecFun_jll\Xw8XK\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 C:\buildb
      ot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Artifacts.jl:8
      99
      [3] ensure_all_artifacts_installed(::String; platform::Pkg.BinaryPlatforms.Plat
      form, pkg_uuid::Nothing, include_lazy::Bool, verbose::Bool, quiet_download::Bool
      ) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src
      Artifacts.jl:963
      [4] download_artifacts(::Pkg.Types.Context, ::Array{String,1}; platform::Pkg.Bi
      naryPlatforms.Windows, verbose::Bool) at C:\buildbot\worker\package_win64\build
      usr\share\julia\stdlib\v1.5\Pkg\src\Operations.jl:663
      [5] download_artifacts(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; p
      latform::Pkg.BinaryPlatforms.Windows, verbose::Bool) at C:\buildbot\worker\packa
      ge_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Operations.jl:642
      [6] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUI
      D,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Windows)
      at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Op
      erations.jl:1141
      [7] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Ty
      pes.PreserveLevel, platform::Pkg.BinaryPlatforms.Windows, kwargs::Base.Iterators
      .Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\buildbot\worker\pa
      ckage_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\API.jl:188
      [8] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\buildbot\w
      orker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\API.jl:139
      [9] #add#21 at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1
      .5\Pkg\src\API.jl:67 [inlined]
      [10] add at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5
      Pkg\src\API.jl:67 [inlined]
      [11] #add#20 at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
      1.5\Pkg\src\API.jl:66 [inlined]
      [12] add at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5
      Pkg\src\API.jl:66 [inlined]
      [13] add(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTu
      ple{(),Tuple{}}}) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdl
      ib\v1.5\Pkg\src\API.jl:65
      [14] add(::String) at C:\buildbot\worker\package_win64\build\usr\share\julia\st
      dlib\v1.5\Pkg\src\API.jl:65
      [15] top-level scope at REPL[4]:1

julia>

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

10 participants