-
-
Notifications
You must be signed in to change notification settings - Fork 419
Open
Description
Autocompletion works well, but errors inside output cell occured every time.
- The output of
versioninfo()
:
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, tigerlake)
Threads: 1 on 8 virtual cores
- How you installed Julia
wget https://julialang-s3.julialang.org/bin/linux/x64/1.9/julia-1.9.4-linux-x86_64.tar.gz
tar zxvf julia-1.9.4-linux-x86_64.tar.gz
- A minimal working example (MWE), also known as a minimum reproducible example:
using Pkg; Pkg.add("IJulia"); using IJulia; notebook()
Settings -> Settings Editor -> Code Completion -> Enable autocompletion -> true
In first evaluation (Shift + Enter) everything works fine, but after second evaluation of the same code occurs error message:
If autocompletion is disabled, then everything works normal.
KERNEL EXCEPTION
BoundsError: attempt to access empty String at index [1:40]
Stacktrace:
[1] checkbounds
@ ./strings/basic.jl:216 [inlined]
[2] getindex(s::String, r::UnitRange{Int64})
@ Base ./strings/string.jl:276
[3] complete_request(socket::ZMQ.Socket, msg::Msg)
@ IJulia ~/.julia/packages/IJulia/Vo51o/src/handlers.jl:115
[4] #invokelatest#2
@ ./essentials.jl:819 [inlined]
[5] invokelatest
@ ./essentials.jl:816 [inlined]
[6] eventloop(socket::ZMQ.Socket)
@ IJulia ~/.julia/packages/IJulia/Vo51o/src/eventloop.jl:8
[7] (::IJulia.var"#15#18")()
@ IJulia ./task.jl:514
Metadata
Metadata
Assignees
Labels
No labels