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 in the keymap #281

Closed
fredrikekre opened this issue Dec 29, 2020 · 5 comments
Closed

Error in the keymap #281

fredrikekre opened this issue Dec 29, 2020 · 5 comments

Comments

@fredrikekre
Copy link
Contributor

I get this when pressin +:

┌ Error: Error in the keymap
│   exception =
│    MethodError: no method matching write_prompt(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.Prompt)
│    Closest candidates are:
│      write_prompt(::REPL.Terminals.AbstractTerminal, ::REPL.LineEdit.Prompt, ::Bool) at /home/fredrik/julia16/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1283
│      write_prompt(::REPL.Terminals.AbstractTerminal, ::REPL.LineEdit.PromptState, ::Bool) at /home/fredrik/julia16/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1281
│      write_prompt(::Any, ::Union{AbstractString, Function}, ::Bool) at /home/fredrik/julia16/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1325

Julia 1.6, Debugger 0.6.6

@nandoconde
Copy link

Already mentioned in #271, I think they tried to fix it with #272 but I am having the same problem.

Julia 1.6-rc1 and Debugger 0.6.7

@KristofferC
Copy link
Member

I think I missed one place: #284. Could you try with that?

@nandoconde
Copy link

I tried, everything works perfect now! You may close the issue :)

@w-hc
Copy link

w-hc commented Jun 14, 2021

I have a similar problem when I use C to switch to compile mode (Julia 1.6.1, Debugger 0.6.7).

┌ Error: Error in the keymap
│   exception =
│    MethodError: no method matching write_prompt(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.Prompt)
│    Closest candidates are:
│      write_prompt(::REPL.Terminals.AbstractTerminal, ::REPL.LineEdit.Prompt, ::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1283
│      write_prompt(::REPL.Terminals.AbstractTerminal, ::REPL.LineEdit.PromptState, ::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1281
│      write_prompt(::Any, ::Union{AbstractString, Function}, ::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:1325
│      ...
│    Stacktrace:
│      [1] (::Debugger.var"#13#22"{REPL.LineEdit.Prompt, Debugger.DebuggerState})(::REPL.LineEdit.MIState, ::Nothing, ::Vararg{Any, N} where N)
│        @ Debugger ~/.julia/packages/Debugger/TtP2E/src/repl.jl:111
│      [2] #invokelatest#2
│        @ ./essentials.jl:708 [inlined]
│      [3] invokelatest

I can use the Compiled Mode in VSCode though.

@KristofferC
Copy link
Member

JuliaRegistries/General#38815 should fix that.

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

4 participants