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

Unable to automatically download/install artifact 'iso_codes' #7888

Closed
PetrKryslUCSD opened this issue Jan 2, 2024 · 1 comment
Closed

Comments

@PetrKryslUCSD
Copy link

PetrKryslUCSD commented Jan 2, 2024

Julia 1.10 on Windows 11.

(Examples) pkg> add https://github.com/PetrKryslUCSD/VisualStructures.jl.git                                                                                                                                     
    Updating git-repo `https://github.com/PetrKryslUCSD/VisualStructures.jl.git`                                                                                                                                 
   Resolving package versions...                                                                                                                                                                                 
  Downloaded artifact: iso_codes                                                                                                                                                                                 
  Downloaded artifact: iso_codes                                                                                                                                                                                 
ERROR: Unable to automatically download/install artifact 'iso_codes' from sources listed in 'C:\Users\pkonl\SublimeJulia_1_10_0\assets\.julia-1.10.0-depot\packages\iso_codes_jll\wcUPz\Artifacts.toml'.         
Sources attempted:                                                                                                                                                                                               
- https://pkg.julialang.org/artifact/71f68a3d55d73f2e15a3969c241fae2349b1feb5                                                                                                                                    
    Error: Tree Hash Mismatch!                                                                                                                                                                                   
  Expected git-tree-sha1:   71f68a3d55d73f2e15a3969c241fae2349b1feb5                                                                                                                                             
  Calculated git-tree-sha1: 409d6ac4c02dae43ff4fe576b5c5820d0386fb3f                                                                                                                                             
- https://github.com/JuliaBinaryWrappers/iso_codes_jll.jl/releases/download/iso_codes-v4.11.0+0/iso_codes.v4.11.0.any.tar.gz                                                                                     
    Error: Tree Hash Mismatch!                                                                                                                                                                                   
  Expected git-tree-sha1:   71f68a3d55d73f2e15a3969c241fae2349b1feb5                                                                                                                                             
  Calculated git-tree-sha1: 409d6ac4c02dae43ff4fe576b5c5820d0386fb3f                                                                                                                                             
                                                                                                                                                                                                                 
Stacktrace:                                                                                                                                                                                                      
  [1] error(s::String)                                                                                                                                                                                           
    @ Base .\error.jl:35                                                                                                                                                                                         
  [2] ensure_artifact_installed(name::String, meta::Dict{String, Any}, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool, io::Base.TTY)                       
    @ Pkg.Artifacts C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\Artifacts.jl:422                                                                                     
  [3] download_artifacts(env::Pkg.Types.EnvCache; platform::Base.BinaryPlatforms.Platform, julia_version::VersionNumber, verbose::Bool, io::Base.TTY)                                                            
    @ Pkg.Operations C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:755                                                                                   
  [4] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)                                      
    @ Pkg.Operations C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1394                                                                                  
  [5] add                                                                                                                                                                                                        
    @ C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1376 [inlined]                                                                                       
  [6] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{io::Base.TTY})                                
    @ Pkg.API C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\API.jl:278                                                                                                 
  [7] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})                                                                                                                                  
    @ Pkg.API C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\API.jl:159                                                                                                 
  [8] add(pkgs::Vector{Pkg.Types.PackageSpec})                                                                                                                                                                   
    @ Pkg.API C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\API.jl:148                                                                                                 
  [9] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)                                                                                                                                            
    @ Pkg.REPLMode C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\REPLMode\REPLMode.jl:412                                                                              
 [10] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)                                                                                                                                           
    @ Pkg.REPLMode C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\REPLMode\REPLMode.jl:390                                                                              
 [11] do_cmd                                                                                                                                                                                                     
    @ Pkg.REPLMode C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\REPLMode\REPLMode.jl:380 [inlined]                                                                    
 [12] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)                                                                                   
    @ Pkg.REPLMode C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\REPLMode\REPLMode.jl:557                                                                              
 [13] #invokelatest#2                                                                                                                                                                                            
    @ Base .\essentials.jl:887 [inlined]                                                                                                                                                                         
 [14] invokelatest                                                                                                                                                                                               
    @ Base .\essentials.jl:884 [inlined]                                                                                                                                                                         
 [15] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)                                                                                            
    @ REPL.LineEdit C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\REPL\src\LineEdit.jl:2656                                                                                    
 [16] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)                                                                                                                                        
    @ REPL C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\REPL\src\REPL.jl:1312                                                                                                 
 [17] (::REPL.var"#62#68"{REPL.LineEditREPL, REPL.REPLBackendRef})()                                                                                                                                             
    @ REPL C:\Users\pkonl\SublimeJulia_1_10_0\assets\julia-1.10.0\share\julia\stdlib\v1.10\REPL\src\REPL.jl:386                                                                                                  
                                                                                                                                                                                                                 
(Examples) pkg>
@giordano
Copy link
Member

giordano commented Jan 2, 2024

Duplicate of #7860, this is an upstream bug in Pkg: JuliaLang/Pkg.jl#3643, please refer to that one.

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

2 participants