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

Error with REPL on Juno !matched write_prompt #41708

Closed
gsivori opened this issue Jul 26, 2021 · 1 comment
Closed

Error with REPL on Juno !matched write_prompt #41708

gsivori opened this issue Jul 26, 2021 · 1 comment

Comments

@gsivori
Copy link

gsivori commented Jul 26, 2021

Running latest Julia and Juno as of today. Occasionally, the REPL would throw the following error. Re-running the cell works and doesn't yield the error. So it is hard to replicate. But this happens every ~15 cell-block runs approximately. Let me know if you need information and please let me know how to retrieve such information (i.e. terminal comands, etc.)

MethodError: no method matching write_prompt(::Base.TTY, ::REPL.LineEdit.Prompt)
Closest candidates are:
  write_prompt(!Matched::REPL.Terminals.AbstractTerminal, ::REPL.LineEdit.Prompt, !Matched::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1283
  write_prompt(::Any, !Matched::Union{AbstractString, Function}, !Matched::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1325
  write_prompt(::Any, !Matched::REPL.LineEdit.PrefixSearchState, !Matched::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1797
hideprompt(f::Atom.var"#200#205"{String, Int64, String, Module, Bool}) at repl.jl:144
macro expansion at eval.jl:117 [inlined]
macro expansion at dynamic.jl:24 [inlined]
eval(text::String, line::Int64, path::String, mod::String, errorinrepl::Bool) at eval.jl:114
invokelatest(::Any, ::Any, ::Vararg{Any, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) at essentials.jl:708
invokelatest(::Any, ::Any, ::Vararg{Any, N} where N) at essentials.jl:706
macro expansion at eval.jl:41 [inlined]
(::Atom.var"#184#185")() at task.jl:411
@KristofferC
Copy link
Member

This looks like it should be reported to Atom.jl where the function is defined.

https://github.com/JunoLab/Atom.jl/blob/afcf72a055cf6166369807d37ca6edfc833bb594/src/repl.jl#L102

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