I installed the new Julia version 1.11 using juliaup on my linux machine.
I start julia without any flags. My startup.jl script is empty.
If enter package mode and attempt to install a package to my empty registry, using e.g. add Optim
, I get the following error below.
To be absolutely precise:
(1) I enter package mode and see the “pkg>” on the left.
(2) I type "add "
(3) The instant I type the character “O”, I get the error message below, before having the chance to finish typing “Optim” .
I wonder if other users have also encountered something similar when using the new Julia version.
The error message:
add ┌ Error: Error in the keymap
│ exception =
│ IOError: stat("Templates"): too many symbolic links encountered (ELOOP)
│ Stacktrace:
│ [1] uv_error
│ @ ./libuv.jl:106 [inlined]
│ [2] stat(path::String)
│ @ Base.Filesystem ./stat.jl:176
│ [3] isdir
│ @ ./stat.jl:494 [inlined]
│ [4] (::REPLExt.var"#3#6"{String, Int64, UnitRange{Int64}})(x::String)
│ @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:42
│ [5] filter!(f::REPLExt.var"#3#6"{String, Int64, UnitRange{Int64}}, a::Vector{String})
│ @ Base ./array.jl:2905
│ [6] complete_expanded_local_dir(s::String, i1::Int64, i2::Int64, expanded_user::Bool, oldi2::Int64)
│ @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:40
│ [7] complete_local_dir(s::String, i1::Int64, i2::Int64)
│ @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:33
│ [8] complete_add_dev(options::Dict{Symbol, Any}, partial::String, i1::Int64, i2::Int64; hint::Bool)
│ @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:156
│ [9] complete_add_dev
│ @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:155 [inlined]
│ [10] #34#35
│ @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:207 [inlined]
│ [11] complete_argument(spec::Pkg.REPLMode.CommandSpec, options::Vector{String}, partial::String, offset::Int64, index::Int64; hint::Bool)
│ @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:221
│ [12] _completions(input::String, final::Bool, offset::Int64, index::Int64; hint::Bool)
│ @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:247
│ [13] _completions
│ @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:224 [inlined]
│ [14] completions(full::String, index::Int64; hint::Bool)
│ @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:278
│ [15] completions
│ @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:266 [inlined]
│ [16] complete_line(c::REPLExt.PkgCompletionProvider, s::REPL.LineEdit.PromptState; hint::Bool)
│ @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/REPLExt.jl:29
│ [17] complete_line(c::REPL.LineEdit.CompletionProvider, s::Any, ::Module; hint::Bool)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:188
│ [18] check_for_hint(s::REPL.LineEdit.MIState)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:385
│ [19] (::REPL.LineEdit.var"#143#199")(s::REPL.LineEdit.MIState, data::Any, c::Union{Char, SubString{String}, String})
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2521
│ [20] #invokelatest#2
│ @ ./essentials.jl:1054 [inlined]
│ [21] invokelatest
│ @ ./essentials.jl:1051 [inlined]
│ [22] (::REPL.LineEdit.var"#30#31"{REPL.LineEdit.var"#143#199", String})(s::Any, p::Any)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:1705
│ [23] macro expansion
│ @ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2855 [inlined]
│ [24] macro expansion
│ @ ./lock.jl:273 [inlined]
│ [25] (::REPL.LineEdit.var"#282#284"{REPL.Terminals.TTYTerminal, REPL.LineEdit.ModalInterface, REPL.LineEdit.MIState, ReentrantLock, REPL.LineEdit.Prompt})()
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2845
└ @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2857
(see also related thread here)
julia> versioninfo()
Julia Version 1.11.0
Commit 501a4f25c2b (2024-10-07 11:40 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 20 × 13th Gen Intel(R) Core™ i9-13900H
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 20 virtual cores)