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

Crash on start with ERROR: LoadError: KeyError: key :_apply_latest not found #45

Open
SebastianCallh opened this issue Mar 16, 2021 · 2 comments

Comments

@SebastianCallh
Copy link

  1. Installed lsp-julia from Melpa on doom-emacs 2.0.9, Ubuntu 20.04.
  2. Open a .jl file
  3. Server starts
  4. A few seconds later the server crashes with the following error.
ERROR: LoadError: KeyError: key :_apply_latest not found
Stacktrace:
  [1] getindex
    @ ./dict.jl:482 [inlined]
  [2] getindex
    @ ~/.emacs.d/.local/straight/build-27.1/lsp-julia/languageserver/SymbolServer/src/symbols.jl:20 [inlined]
  [3] load_core()
    @ SymbolServer ~/.emacs.d/.local/straight/build-27.1/lsp-julia/languageserver/SymbolServer/src/symbols.jl:467
  [4] top-level scope
    @ ~/.emacs.d/.local/straight/build-27.1/lsp-julia/languageserver/SymbolServer/src/SymbolServer.jl:203
  [5] include
    @ ./Base.jl:386 [inlined]
  [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
    @ Base ./loading.jl:1213
  [7] top-level scope
    @ none:1
  [8] eval
    @ ./boot.jl:360 [inlined]
  [9] eval(x::Expr)
    @ Base.MainInclude ./client.jl:446
 [10] top-level scope
    @ none:1
in expression starting at /home/sc/.emacs.d/.local/straight/build-27.1/lsp-julia/languageserver/SymbolServer/src/SymbolServer.jl:1
ERROR: Failed to precompile SymbolServer [cf896787-08d5-524d-9de7-132aaa0cb996] to /home/sc/.julia/compiled/v1.6/SymbolServer/jl_lGWxw7.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.PipeEndpoint, internal_stdout::Base.PipeEndpoint)
   @ Base ./loading.jl:1360
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base ./loading.jl:1306
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1021
 [5] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:914
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:901

@gdkrmr
Copy link
Owner

gdkrmr commented Mar 31, 2021

What versions of lsp-julia and julia are you using? Try updating

@fcdimitr
Copy link

Same issue here, on macOS, doom-emacs. @SebastianCallh Did you resolve it?

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

3 participants