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

Server failed with nimsuggest process crashed #103

Open
joetifa2003 opened this issue Sep 15, 2022 · 1 comment
Open

Server failed with nimsuggest process crashed #103

joetifa2003 opened this issue Sep 15, 2022 · 1 comment

Comments

@joetifa2003
Copy link

image
LSP doesn't work at all

vscode
Windows 11 (wsl ubuntu)

@joetifa2003
Copy link
Author

DBG Router: dispatching method=initialize id=0
DBG Initialize received...
DBG Router: sending response method=initialize id=0
DBG Router: dispatching method=initialized id=null
DBG Client initialized.
DBG Requesting configuration from the client
DBG Router: dispatching method=textDocument/didOpen id=null
DBG New document opened for URI: uri=file:///home/joetifa/projects/nim/wind-nim/src/compiler/compiler.nim
DBG Router: dispatching method=textDocument/documentSymbol id=1
DBG Router: dispatching method=$/cancelRequest id=null
DBG Cancelling: id=1
DBG Router: dispatching method=textDocument/documentSymbol id=2
DBG Received the following configuration configuration="[{"project":[],"projectMapping":{},"test-project":"","buildOnSave":false,"buildCommand":"c","runOutputDirectory":"","lintOnSave":true,"enableNimsuggest":true,"provider":"lsp","useNimsuggestCheck":false,"logNimsuggest":false,"licenseString":"","nimsuggestRestartTimeout":60,"nimprettyIndent":0,"nimprettyMaxLineLen":80}]"
DBG Failed to parse the configuration.
DBG Found nimble project projectFile=/home/joetifa/projects/nim/wind-nim/src/wind.nim
DBG getProjectFile project=/home/joetifa/projects/nim/wind-nim/src/wind.nim
DBG Document associated with the following projectFile uri=file:///home/joetifa/projects/nim/wind-nim/src/compiler/compiler.nim projectFile=/home/joetifa/projects/nim/wind-nim/src/wind.nim
DBG Failed to parse the configuration.
DBG Starting nimsuggest root=/home/joetifa/projects/nim/wind-nim/src/wind.nim timeout=120000 path=nimsuggest fullPath=/home/joetifa/.nimble/bin/nimsuggest
nimsuggest(/home/joetifa/projects/nim/wind-nim/src/wind.nim)>>command line(1, 2) Error: invalid command line option: '--v3'
ERR Failed to read nimsuggest port
WRN Server stopped. projectFile=/home/joetifa/projects/nim/wind-nim/src/wind.nim
DBG processQueue size=1
DBG Nimsuggest is not working, returning empty result... command="known /home/joetifa/projects/nim/wind-nim/src/compiler/compiler.nim:0:0"
DBG processQueue size=1
DBG Nimsuggest is not working, returning empty result... command="outline /home/joetifa/projects/nim/wind-nim/src/compiler/compiler.nim:0:0"
DBG processQueue size=1
DBG Nimsuggest is not working, returning empty result... command="outline /home/joetifa/projects/nim/wind-nim/src/compiler/compiler.nim:0:0"

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