Skip to content

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

@SebastianCallh

Description

@SebastianCallh
  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions