Closed PallHaraldsson closed 2 years ago
More annoying than serious. I tried the ^D option that seems to be undocumented, I get prompt back then in about half a sec:
julia> using Air, CSV │ Packages [Air, CSV] not found, but packages named [Air, CSV] are available from a registry. │ Install packages? │ (@v1.7) pkg> add Air CSV └ (y/n) [y]: ERROR: ArgumentError: Package Air not found in current path: - Run `import Pkg; Pkg.add("Air")` to install the Air package. Stacktrace: [1] require(into::Module, mod::Symbol) @ Base ./loading.jl:967 julia> Unhandled Task ERROR: tried to read a stream that is not readable Stacktrace: [1] error(s::String) @ Base ./error.jl:33 [2] start_reading(stream::Base.TTY) @ Base ./stream.jl:788 [3] wait_readnb(x::Base.TTY, nb::Int64) @ Base ./stream.jl:411 [4] eof(s::Base.TTY) @ Base ./stream.jl:106 [5] eof(io::REPL.Terminals.TTYTerminal) @ Base ./io.jl:416 [6] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState}, term::Union{REPL.Terminals.AbstractTerminal, IOBuffer}, cs::Vector{Char}, keymap::Dict{Char}) (repeats 4 times) @ REPL.LineEdit ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:1482 [7] prompt!(term::REPL.Terminals.TextTerminal, prompt::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState) @ REPL.LineEdit ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:2578 [8] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState) @ REPL.LineEdit ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:2488 [9] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef) @ REPL ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/REPL.jl:1230 [10] (::REPL.var"#49#54"{REPL.LineEditREPL, REPL.REPLBackendRef})() @ REPL ./task.jl:423 ERROR: TaskFailedException Stacktrace: [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) @ Base ./task.jl:777 [2] wait() @ Base ./task.jl:837 [3] wait(c::Base.GenericCondition{ReentrantLock}) @ Base ./condition.jl:123 [4] take_buffered(c::Channel{Any}) @ Base ./channels.jl:389 [5] take! @ ./channels.jl:383 [inlined] [6] repl_backend_loop(backend::REPL.REPLBackend) @ REPL ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/REPL.jl:239 [7] start_repl_backend(backend::REPL.REPLBackend, consumer::Any) @ REPL ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/REPL.jl:229 [8] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool) @ REPL ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/REPL.jl:362 [9] run_repl(repl::REPL.AbstractREPL, consumer::Any) @ REPL ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/REPL.jl:349 [10] (::Base.var"#930#932"{Bool, Bool, Bool})(REPL::Module) @ Base ./client.jl:394 [11] #invokelatest#2 @ ./essentials.jl:716 [inlined] [12] invokelatest @ ./essentials.jl:714 [inlined] [13] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool) @ Base ./client.jl:379 [14] exec_options(opts::Base.JLOptions) @ Base ./client.jl:309 [15] _start() @ Base ./client.jl:495 nested task error: tried to read a stream that is not readable Stacktrace: [1] error(s::String) @ Base ./error.jl:33 [2] start_reading(stream::Base.TTY) @ Base ./stream.jl:788 [3] wait_readnb(x::Base.TTY, nb::Int64) @ Base ./stream.jl:411 [4] eof(s::Base.TTY) @ Base ./stream.jl:106 [5] eof(io::REPL.Terminals.TTYTerminal) @ Base ./io.jl:416 [6] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState}, term::Union{REPL.Terminals.AbstractTerminal, IOBuffer}, cs::Vector{Char}, keymap::Dict{Char}) (repeats 4 times) @ REPL.LineEdit ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:1482 [7] prompt!(term::REPL.Terminals.TextTerminal, prompt::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState) @ REPL.LineEdit ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:2578 [8] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState) @ REPL.LineEdit ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:2488 [9] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef) @ REPL ~/julia-1.7.0-rc3/share/julia/stdlib/v1.7/REPL/src/REPL.jl:1230 [10] (::REPL.var"#49#54"{REPL.LineEditREPL, REPL.REPLBackendRef})() @ REPL ./task.jl:423
https://github.com/JuliaLang/julia/issues/42937 probably?
Possibly, that regression was filed recently, at least I know this also happens on the older rc1.
More annoying than serious. I tried the ^D option that seems to be undocumented, I get prompt back then in about half a sec: