Closed
Description
Hello,
This issue also has a little discussion at this discourse link.
After upgrading to v1.11, I have an issue where if I start a REPL with -O3
I get an error when I press ]
to enter Pkg mode:
cg:~> julia -O3
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.11.0 (2024-10-07)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.11) pkg> Unhandled Task ERROR: ArgumentError: Package REPLExt [e5eb5ef1-03cf-53a7-ae1d-5a66b08e832b] is required but does not seem to be installed:
- Run `Pkg.instantiate()` to install all recorded dependencies.
Stacktrace:
[1] _require(pkg::Base.PkgId, env::Nothing)
@ Base ./loading.jl:2423
[2] __require_prelocked(uuidkey::Base.PkgId, env::Nothing)
@ Base ./loading.jl:2300
[3] #invoke_in_world#3
@ ./essentials.jl:1088 [inlined]
[4] invoke_in_world
@ ./essentials.jl:1085 [inlined]
[5] _require_prelocked
@ ./loading.jl:2287 [inlined]
[6] _require_prelocked
@ ./loading.jl:2286 [inlined]
[7] macro expansion
@ ./loading.jl:2587 [inlined]
[8] macro expansion
@ ./lock.jl:273 [inlined]
[9] require_stdlib(package_uuidkey::Base.PkgId, ext::String)
@ Base ./loading.jl:2542
[10] macro expansion
@ ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/Pkg_beforeload.jl:8 [inlined]
[11] macro expansion
@ ./lock.jl:273 [inlined]
[12] load_pkg()
@ REPL ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/Pkg_beforeload.jl:7
[13] (::REPL.var"#119#137"{REPL.LineEdit.MIState, REPL.LineEditREPL, REPL.LineEdit.Prompt})()
@ REPL ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1233
If I instantiate a REPL without the flag, it works fine:
cg:~> julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.11.0 (2024-10-07)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.11) pkg>
(@v1.11) pkg> # pressed enter, no error
I have recreated this issue on two machines with the following versioninfo:
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: 12 × 12th Gen Intel(R) Core(TM) i7-1260P
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
Threads: 1 default, 0 interactive, 1 GC (on 12 virtual cores)
Environment:
LD_LIBRARY_PATH = :/opt/knitro-13.2.0-Linux-64/lib:/opt/knitro-13.2.0-Linux-64/lib:/opt/knitro-13.2.0-Linux-64/lib
and
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: 128 × AMD EPYC 9554P 64-Core Processor
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, znver4)
Threads: 1 default, 0 interactive, 1 GC (on 128 virtual cores)
Environment:
LD_LIBRARY_PATH = :/u/g/e/geoga/private/knitro-13.2.0-Linux-64/lib
It seems like several other commenters on the discourse thread are experiencing something similar.
Is there a simple fix to this, or is this the result of a mistake on my end? I installed the updated version with juliaup
, if that is relevant.
Thanks so much!