dmalyuta / julia-staticlint

Emacs integration for StaticLint.jl
Creative Commons Zero v1.0 Universal
7 stars 4 forks source link

X not stored on disc #3

Open rdiaz02 opened 1 year ago

rdiaz02 commented 1 year ago

I am trying to understand why julia-staticlint is not working for me (using Julia 1.8.2). I followed https://github.com/dmalyuta/julia-staticlint/issues/1#issuecomment-772074767

and when doing julia julia_staticlint_server.jl I got a bunch of

[ Info: [Wednesday October 2022 00:48:33] Initializing server
┌ Warning: LibSSH2_jll not stored on disc
└ @ SymbolServer ~/.julia/packages/SymbolServer/LMSFX/src/SymbolServer.jl:247
┌ Warning: MbedTLS_jll not stored on disc
└ @ SymbolServer ~/.julia/packages/SymbolServer/LMSFX/src/SymbolServer.jl:247
┌ Warning: Zlib_jll not stored on disc
└ @ SymbolServer ~/.julia/packages/SymbolServer/LMSFX/src/SymbolServer.jl:247
┌ Warning: Requires not stored on disc
└ @ SymbolServer ~/.julia/packages/SymbolServer/LMSFX/src/SymbolServer.jl:247
┌ Warning: libblastrampoline_jll not stored on disc
└ @ SymbolServer ~/.julia/packages/SymbolServer/LMSFX/src/SymbolServer.jl:247
ERROR: LoadError: type FileServer has no field symbolserver

(...)

Stacktrace:
 [1] setproperty!(x::StaticLint.FileServer, f::Symbol, v::Dict{Symbol, SymbolServer.ModuleStore})
   @ Base ./Base.jl:39
 [2] top-level scope
   @ ~/.emacs.d/elpa/julia-staticlint-20210521.204304/julia_staticlint_server.jl:308
in expression starting at /home/ramon/.emacs.d/elpa/julia-staticlint-20210521.204304/julia_staticlint_server.jl:308

I removed all of my .julia and started from scratch after installing just Pkg.add(["OhMyREPL", "Revise", "PackageCompiler", "LanguageServer", "SymbolServer", "StaticLint", "Printf", "Sockets", "CSTParser"]) but the same error shows up. Interestingly, all the "X not stored on disc" have, actually, been installed.

I guess this is really an issue with SymbolServer.jl, and I should report it there. Is this correct? (I am new to Julia). Anything else I should report?

dmalyuta commented 1 year ago

Perhaps you are right in your analysis. I am actually not using Emacs anymore for Julia - have switched to VS Code. So this repo is unsupported, sorry about that.

rdiaz02 commented 1 year ago

Thanks for your reply anyway, and for making the code available.