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

Language Server Crashes on Neovim Windows 11 #1330

Open
HariharanJayashankar opened this issue Nov 20, 2024 · 2 comments
Open

Language Server Crashes on Neovim Windows 11 #1330

HariharanJayashankar opened this issue Nov 20, 2024 · 2 comments

Comments

@HariharanJayashankar
Copy link

Hello

Recently the julia language server has stopped working for me on Neovim on Windows.

Here is the relevant LspLog

[ERROR][2024-11-20 13:39:15] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"[ Info: Starting LS with Julia 1.11.1\n"
[ERROR][2024-11-20 13:39:16] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"  Activating"
[ERROR][2024-11-20 13:39:16] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	" "
[ERROR][2024-11-20 13:39:16] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"project at `C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\packages\\julia-lsp\\extension\\scripts\\environments\\languageserver\\v1.11`\n"
[ERROR][2024-11-20 13:39:16] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"[ Info: Starting the Julia Language Server\n"
[ERROR][2024-11-20 13:39:17] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"[ Info: Symbol server store is at 'C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\packages\\julia-lsp\\bin\\..\\store\\symbolstorev5'.\n"
[ERROR][2024-11-20 13:39:18] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"[ Info: Starting LS at 1732127959\n"
[ERROR][2024-11-20 13:39:28] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"┌ Error: Some Julia code in the VS Code extension crashed\n└ @ Main C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\packages\\julia-lsp\\extension\\scripts\\error_handler.jl:15\n"
[ERROR][2024-11-20 13:39:29] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"ERROR: "
[ERROR][2024-11-20 13:39:29] .../vim/lsp/rpc.lua:770	"rpc"	"C:\\Users\\harih\\AppData\\Local\\nvim-data\\mason\\bin\\julia-lsp.CMD"	"stderr"	"This should not happen"

I have neovim version NVIM v0.10.2.

I am using Mason-lsp config to handle the language servers on neovim.

For reference the langauge server does seem to work on vscode.

Any help would be appreciated

@jwortmann
Copy link
Contributor

I have opened a pull request months ago, that I believe would fix this bug: #1319. However, it seems like this repository is currently abandoned, and there has not been any reaction to that PR yet. So your current alternatives would either be to downgrade to an older version of LanguageServer.jl, use Linux or macOS, or use a client which uses lowercase drive letters in file paths (VSCode).

@HariharanJayashankar
Copy link
Author

I see, maybe I'll give your fix a try on my local PC. It is strange that this issue only started for me a couple of weeks ago.

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

2 participants