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

Julia Extension does not work / compile - what is the solution #73

Open
hoegge opened this issue Jul 20, 2023 · 1 comment
Open

Julia Extension does not work / compile - what is the solution #73

hoegge opened this issue Jul 20, 2023 · 1 comment

Comments

@hoegge
Copy link

hoegge commented Jul 20, 2023

The FAQ: docs/src/faq.md does not say what to do. This folder has normal write permissions - the extension made it itself. So does not seem to be the problem.

The Language Server failed to precompile.
Please make sure you have permissions to write to the LS depot path at
	/home/morten/.config/Code/User/globalStorage/julialang.language-julia/lsdepot/v1

┌ Error: Some Julia code in the VS Code extension crashed
└ @ Main ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/error_handler.jl:15
ERROR: Failed to precompile LanguageServer [2b0e0bc5-e4fd-59b4-8912-456d1b03d8d7] to "/home/morten/.config/Code/User/globalStorage/julialang.language-julia/lsdepot/v1/compiled/v1.9/LanguageServer/jl_IHNStU".
Stacktrace:
 [1] top-level scope
   @ ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/languageserver/main.jl:77
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:457
 [3] exec_options(opts::Base.JLOptions)
   @ Base ./client.jl:307
 [4] _start()
   @ Base ./client.jl:522
[Error - 5:31:19 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 5:31:19 PM] The Julia Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 5:31:19 PM] Julia Language Server client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 5:31:19 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 

Done on a clean install of :

  • Pop_OS! 22.04 LTS,
  • clean install of Julia v1.9.1,
  • clean install of VS Code v1.80.1 and
  • Julia extension v1.47.2
@hoegge
Copy link
Author

hoegge commented Jul 21, 2023

And wonder why it is released if tests are failing?
image

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

1 participant