# Cant install OpenSpecFun\_jll

**URL:** <https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593>\
**Category:** General Usage\
**Created:** [January 20, 2020, 4:48pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593 "2020-01-20T16:48:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mariok90](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mariok90/32/7076_2.png) [@mariok90](https://discourse.julialang.org/u/mariok90)\
**Post date:** [January 20, 2020, 4:48pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/1 "2020-01-20T16:48:32Z")

</div>

When I install JuMP I get the following error. Any idea on how to fix this?

```julia
Installed OpenSpecFun_jll ──── v0.5.3+1
ERROR: Unable to automatically install 'OpenSpecFun' from '/homes2/ivw/kendzior/.julia/packages/OpenSpecFun_jll/XrUb6/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

```

```julia

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) Xeon(R) Silver 4114 CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

```

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [January 20, 2020, 10:56pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/2 "2020-01-20T22:56:59Z")

</div>

Could you please try to run the following command?

```julia
using Pkg.PlatformEngines
probe_platform_engines!(verbose=true)
mktempdir() do dir
    download_verify(
        "https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+1/OpenSpecFun.v0.5.3.x86_64-linux-gnu-libgfortran3.tar.gz",
        "1eb16d69bf7c6b1cfe0eaae51cd932b13917a5ae05ed4629090ae695ecd074a8",
        joinpath(dir, "foo");
        verbose=true,
	)
end

```

---

<div class="post-metadata">

**Author:** ![mariok90](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mariok90/32/7076_2.png) [@mariok90](https://discourse.julialang.org/u/mariok90)\
**Post date:** [January 21, 2020, 10:37am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/3 "2020-01-21T10:37:46Z")

</div>

Thanks for the answer. Then I receive:

```julia
[ Info: Downloading https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+1/OpenSfortran3.tar.gz to /tmp/jl_DX8eXx/foo...

curl: (77) Error reading ca cert file /etc/ssl/certs/ca-certificates.crt - mbedTLS: (-0x3E00) PK - Read/write of file fail
ERROR: Could not download https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+1u-libgfortran3.tar.gz to /tmp/jl_DX8eXx/foo:
ProcessFailedException(Base.Process[Process(`curl -C - '-#' -f -o /tmp/jl_DX8eXx/foo -L https://github.com/JuliaBinaryWrapwnload/OpenSpecFun-v0.5.3+1/OpenSpecFun.v0.5.3.x86_64-linux-gnu-libgfortran3.tar.gz`, ProcessExited(77))])
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] #download#82(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::String) at /buildworker/worker/package_linux3/Pkg/src/PlatformEngines.jl:591
 [3] #download at ./none:0 [inlined]
 [4] #download_verify#83(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /buildworker/are/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_DX8eXx/foo -L https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll0.5.3+1/OpenSpecFun.v0.5.3.x86_64-linux-gnu-libgfortran3.tar.gz`, ProcessExited(77)) [77]

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_linux3/Pkg/src/PlatformEngines.jl:586
 [5] #download at ./none:0 [inlined]
 [6] #download_verify#83(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /buildworker/are/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

```

I also had some trouble installing other packages because some files could not be downloaded. A way to fix it was to download it manually and copy paste it. However, here I dont know where to put the downloaded file…

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [January 21, 2020, 11:30am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/4 "2020-01-21T11:30:39Z")

</div>

It looks like you have this error:  
[https://askubuntu.com/q/636962/211014](https://askubuntu.com/q/636962/211014)  
? What are the permissions of `/etc/ssl/certs/ca-certificates.crt`? You can check with

```nohighlight
ls -l /etc/ssl/certs/ca-certificates.crt

```

---

<div class="post-metadata">

**Author:** ![mariok90](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mariok90/32/7076_2.png) [@mariok90](https://discourse.julialang.org/u/mariok90)\
**Post date:** [January 21, 2020, 11:39am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/5 "2020-01-21T11:39:39Z")

</div>

I get:

```julia
[kendzior@cluster-i ~]$ ls -l /etc/ssl/certs/ca-certificates.crt
ls: cannot access /etc/ssl/certs/ca-certificates.crt: No such file or directory

```

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [January 21, 2020, 11:47am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/6 "2020-01-21T11:47:36Z")

</div>

Well, then it looks like you have some problems with your curl installation.

---

<div class="post-metadata">

**Author:** ![mariok90](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mariok90/32/7076_2.png) [@mariok90](https://discourse.julialang.org/u/mariok90)\
**Post date:** [January 21, 2020, 1:14pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/7 "2020-01-21T13:14:58Z")

</div>

I contacted the system admin. It was indeed a problem with the curl installation. Everything works as expected now. Thanks a lot for the help!

---

<div class="post-metadata">

**Author:** ![Lin](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Lin](https://discourse.julialang.org/u/Lin)\
**Post date:** [March 11, 2020, 8:20am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/8 "2020-03-11T08:20:17Z")

</div>

Hi,  
I also got ERROR: Unable to automatically install ‘OpenSpecFun’ while installed FlashWeave.  
May be the same curl installation problem.  
I tried the command “using Pkg.PlatformEngines  
probe\_platform\_engines!(verbose=true)  
mktempdir() do dir  
download\_verify(  
“[https://github.com/JuliaBinaryWrappers/OpenSpecFun\_jll.jl/releases/download/OpenSpecFun-v0.5.3+1/OpenSpecFun.v0.5.3.x86\_64-linux-gnu-libgfortran3.tar.gz](https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+1/OpenSpecFun.v0.5.3.x86_64-linux-gnu-libgfortran3.tar.gz)”,  
“1eb16d69bf7c6b1cfe0eaae51cd932b13917a5ae05ed4629090ae695ecd074a8”,  
joinpath(dir, “foo”);  
verbose=true,  
)  
end”  
still doens’t work. How can I solve this problem?  
Appreciate your help.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 11, 2020, 9:25am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/9 "2020-03-11T09:25:36Z")

</div>

That command shouldn’t fix anything, just provide more information about the issue. Did you get more insight about what’s the problem? Could you please post the output of the command [quoting the code](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530)?

---

<div class="post-metadata">

**Author:** ![Lin](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Lin](https://discourse.julialang.org/u/Lin)\
**Post date:** [March 11, 2020, 10:41pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/10 "2020-03-11T22:41:46Z")

</div>

Hi,  
After I installed FlashWeave, I got the following error:

(v1.3) pkg\> add FlashWeave  
Updating registry at `C:\Users\user\.julia\registries\General`  
Updating git-repo `https://github.com/JuliaRegistries/General.git`  
Resolving package versions…  
Updating git-repo `https://github.com/JuliaBinaryWrappers/OpenBLAS_jll.jl.git`

Installed OpenBLAS\_jll ──────── v0.3.7+7  
Updating git-repo `https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl.g it`  
Installed OpenSpecFun\_jll ── v0.5.3+3  
Updating git-repo `https://github.com/JuliaIO/FileIO.jl.git`  
Installed FileIO ──────────────────── v1.2.3  
ERROR: Unable to automatically install ‘OpenSpecFun’ from ‘C:\Users\user.julia  
packages\OpenSpecFun\_jll\HMSwk\Artifacts.toml’  
Stacktrace:  
[1] error(::String) at .\error.jl:33  
[2] #ensure\_artifact\_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typ  
eof(Pkg.Artifacts.ensure\_artifact\_installed), ::String, ::Dict{String,Any}, ::St  
ring) at D:\buildbot\worker\package\_win32\build\usr\share\julia\stdlib\v1.3\Pkg  
src\Artifacts.jl:873  
[3] (::Pkg.Artifacts.var"#kw##ensure\_artifact\_installed")(::NamedTuple{(:platfo  
rm, :verbose),Tuple{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.e  
nsure\_artifact\_installed), ::String, ::Dict{String,Any}, ::String) at .\none:0  
[4] #ensure\_all\_artifacts\_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothin  
g, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure\_all\_artifacts\_installed), ::Str  
ing) at D:\buildbot\worker\package\_win32\build\usr\share\julia\stdlib\v1.3\Pkg\s  
rc\Artifacts.jl:919  
[5] #ensure\_all\_artifacts\_installed at D:\buildbot\worker\package\_win32\build\u  
sr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:0 [inlined]  
[6] #download\_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.  
Operations.download\_artifacts), ::Array{String,1}) at D:\buildbot\worker\package  
\_win32\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.Windows, ::Bool, ::typeof(Pkg.  
Operations.download\_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot  
\worker\package\_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:57  
0  
[9] (::Pkg.Operations.var"#kw##download\_artifacts")(::NamedTuple{(:platform,),T  
uple{Pkg.BinaryPlatforms.Windows}}, ::typeof(Pkg.Operations.download\_artifacts),  
::Array{Pkg.Types.PackageSpec,1}) at .\none:0  
[10] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.ad  
d), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1})  
at D:\buildbot\worker\package\_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\O  
perations.jl:1017  
[11] #add at D:\buildbot\worker\package\_win32\build\usr\share\julia\stdlib\v1.3  
\Pkg\src\API.jl:0 [inlined]  
[12] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Unio  
n{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.  
Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package\_win32\b  
uild\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102  
[13] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot  
worker\package\_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72  
[14] do\_add!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbo  
l,Any}) at D:\buildbot\worker\package\_win32\build\usr\share\julia\stdlib\v1.3\Pk  
g\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 D:\buildbot\worker  
\package\_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\REPLMode.jl:412  
[18] #do\_cmd#23(::Bool, ::typeof(Pkg.REPLMode.do\_cmd), ::REPL.LineEditREPL, ::S  
tring) at D:\buildbot\worker\package\_win32\build\usr\share\julia\stdlib\v1.3\Pkg  
\src\REPLMode.jl:391  
[19] do\_cmd at D:\buildbot\worker\package\_win32\build\usr\share\julia\stdlib\v1  
.3\Pkg\src\REPLMode.jl:387 [inlined]  
[20] (::Pkg.REPLMode.var"#28#31"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REP  
L.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at D:\buildb  
ot\worker\package\_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\REPLMode.jl:61  
9  
[21] #invokelatest#1 at .\essentials.jl:709 [inlined]  
[22] invokelatest at .\essentials.jl:708 [inlined]  
[23] run\_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterfac  
e, ::REPL.LineEdit.MIState) at D:\buildbot\worker\package\_win32\build\usr\share  
julia\stdlib\v1.3\REPL\src\LineEdit.jl:2306  
[24] run\_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at D:\buildbot\wo  
rker\package\_win32\build\usr\share\julia\stdlib\v1.3\REPL\src\REPL.jl:1045  
[25] run\_repl(::REPL.AbstractREPL, ::Any) at D:\buildbot\worker\package\_win32\b  
uild\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

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 11, 2020, 11:55pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/11 "2020-03-11T23:55:15Z")

</div>

> [@giordano](#):
>
> Could you please post the output of the command [quoting the code](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530)?

👆

Please, post the output of this snippet _ **quoting the code** _:

```julia
using Pkg, Pkg.Artifacts, Pkg.BinaryPlatforms, Pkg.PlatformEngines

# Initialize Pkg code
probe_platform_engines!(; verbose=true)

# Change these to whatever you need them to be, to debug your artifacts code
artifacts_toml_url = "https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/master/Artifacts.toml"
artifact_name = "OpenSpecFun"

mktempdir() do tmp_dir
  # First, download Artifacts.toml file to temporary directory
  artifacts_toml = joinpath(tmp_dir, "Artifacts.toml")
  @info("Downloading Artifacts.toml to $(artifacts_toml)...")
  Pkg.PlatformEngines.download(artifacts_toml_url, artifacts_toml; verbose=true)
  
  # Extract artifact metadata for the current platform (you can override this)
  platform = platform_key_abi()
  @info("Extracting artifact info for platform $(triplet(platform))...")
  artifact_dict = Pkg.Artifacts.load_artifacts_toml(artifacts_toml)
  meta = artifact_meta(artifact_name, artifact_dict, artifacts_toml; platform=platform)
  
  treehash = meta["git-tree-sha1"]
  tarball_url = first(meta["download"])["url"]
  tarball_hash = first(meta["download"])["sha256"]
  @info("Found meta object with git-tree-sha1 $(treehash), attempting download...")
  destdir = joinpath(tmp_dir, "unpacked")
  download_verify_unpack(tarball_url, tarball_hash, destdir; verbose=true)
  
  if !Sys.iswindows()
    @info("Double-checking git-tree-sha (this is skipped on Windows)")
    calc_treehash = bytes2hex(Pkg.GitTools.tree_hash(destdir))
    if calc_treehash != treehash
      @warn("Calculated treehash ($(calc_treehash)) != promised treehash ($(treehash))!")
    end
  end
end

```

---

<div class="post-metadata">

**Author:** ![Lin](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Lin](https://discourse.julialang.org/u/Lin)\
**Post date:** [March 12, 2020, 3:05am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/14 "2020-03-12T03:05:32Z")

</div>

Hi Giordano,  
I attached the command link here, cause I am not allowed to show command because of new user.

> <https://gist.github.com/Lin936/818afe76f2f76d47b945194eed7daa93>

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 12, 2020, 11:03am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/15 "2020-03-12T11:03:15Z")

</div>

You have to paste the entire snippet into the REPL at once, if you don’t paste the closing `end`s you get syntax errors

> [@Lin](#):
>
> I am not allowed to show command because of new user.

???

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 12, 2020, 11:34am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/16 "2020-03-12T11:34:38Z")

</div>

> [@giordano](#):
>
> ???

I think it is some discourse thing (to avoid spam?).

---

<div class="post-metadata">

**Author:** ![Lin](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Lin](https://discourse.julialang.org/u/Lin)\
**Post date:** [March 12, 2020, 10:16pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/17 "2020-03-12T22:16:49Z")

</div>

Hi,  
I pasted the entire snippet into the REPL, than the following error:

ERROR: syntax: incomplete: “do” at REPL[7]:1 requires end  
Stacktrace:  
[1] top-level scope at REPL[6]:0

I don’t understand what it means.  
Thank you

> <https://gist.github.com/Lin936/dc3ba5ea6d36ea34e77f6e06d452a6f7>

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 12, 2020, 11:14pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/18 "2020-03-12T23:14:02Z")

</div>

Ok, let’s make it super simple. Enter the package manager mode as usual with `]` and install the package [`DebugArtifacts.jl`](https://github.com/giordano/DebugArtifacts.jl) with

```julia
add https://github.com/giordano/DebugArtifacts.jl.git

```

After that, exit from the package manager mode and run the two following commands:

```julia
using DebugArtifacts
debug_artifact("OpenSpecFun")

```

---

<div class="post-metadata">

**Author:** ![Lin](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Lin](https://discourse.julialang.org/u/Lin)\
**Post date:** [March 12, 2020, 11:25pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/19 "2020-03-12T23:25:00Z")

</div>

Hi Giordano,  
still have the following error running the two commands

> <https://gist.github.com/Lin936/01d84c643a5c591cbc759c041d7f81b3>

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 12, 2020, 11:41pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/20 "2020-03-12T23:41:58Z")

</div>

> [@Lin](#):
>
> still have the following error running the two commands

This wasn’t meant to solve anything, but only to try to understand what’s the problem.

_Maybe_ you’re facing the issue mentioned in [Fail to download registries from Pkg Server on Windows · Issue #1642 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/issues/1642)

---

<div class="post-metadata">

**Author:** ![Lin](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Lin](https://discourse.julialang.org/u/Lin)\
**Post date:** [March 13, 2020, 6:15am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/21 "2020-03-13T06:15:55Z")

</div>

Thank you so much.  
I will try to solve this problem.

---

<div class="post-metadata">

**Author:** ![Fritz\_Ratnasamy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fritz_ratnasamy/32/13715_2.png) [@Fritz\_Ratnasamy](https://discourse.julialang.org/u/Fritz_Ratnasamy)\
**Post date:** [June 4, 2020, 6:09pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/22 "2020-06-04T18:09:51Z")

</div>

was a solution found out for this issue? I am having the same error message in Julia. I have tried the debug procedures you have mentioned above and it ran without any error (“no hash cache found”), however when trying to install Flux package:  
Error: Tree Hash Mismatch!  
│ Expected git-tree-sha1: 0fd0fb67de786e5d7b2eb67181d35e4bcab639cf  
│ Calculated git-tree-sha1: b5dfbf709a492a96aa4dcaf46616293ce08b7eab  
ERROR: Unable to automatically install ‘CompilerSupportLibraries’ from ‘/~/.julia/packages/CompilerSupportLibraries\_jll/kmL78/Artifacts.toml’

[Next page](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593.md?page=2)
