Code Monkey home page Code Monkey logo

Comments (3)

Doaxan avatar Doaxan commented on September 25, 2024

The problem occurred when the extension itself installed nimlangserver. After nimble install nimlangserver@#head the error does not occur

nimble install nimlangserver
Downloading https://github.com/nim-lang/langserver using git
Installing nimlangserver@0.1.0

nimble install nimlangserver@#head
Downloading https://github.com/nim-lang/langserver using git
Installing nimlangserver@1.1.0

from vscode-nim.

Doaxan avatar Doaxan commented on September 25, 2024

Although the initially described problem has disappeared, the extension is still unstable

image

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/doaxan/Projects/Nim/untitled/main.nim
DBG Received the following configuration       configuration="[{\"project\":[],\"projectMapping\":[],\"test-project\":\"\",\"buildOnSave\":false,\"buildCommand\":\"c\",\"runOutputDirectory\":\"\",\"lintOnSave\":true,\"enableNimsuggest\":false,\"provider\":\"lsp\",\"useNimsuggestCheck\":false,\"logNimsuggest\":false,\"licenseString\":\"\",\"nimsuggestRestartTimeout\":60,\"nimprettyIndent\":0,\"nimprettyMaxLineLen\":80,\"lsp\":{\"path\":\"\"},\"inlayHints\":{\"typeHints\":{\"enable\":\"true\"},\"exceptionHints\":{\"enable\":\"true\",\"hintStringLeft\":\"🔔\",\"hintStringRight\":\"\"}}}]"
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Document associated with the following projectFile uri=file:///home/doaxan/Projects/Nim/untitled/main.nim projectFile=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Failed to parse the configuration.        
DBG Failed to parse the configuration.        
INF Starting nimsuggest                        root=/home/doaxan/Projects/Nim/untitled/main.nim timeout=120000 path=nimsuggest fullPath=/home/doaxan/.nimble/bin/nimsuggest workingDir=/home/doaxan/Projects/Nim/untitled
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
[Error - 9:42:50 AM] Server process exited with signal SIGSEGV.
[Info  - 9:42:50 AM] Connection to server got closed. Server will restart.
true
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/doaxan/Projects/Nim/untitled/main.nim
DBG Received the following configuration       configuration="[{\"project\":[],\"projectMapping\":[],\"test-project\":\"\",\"buildOnSave\":false,\"buildCommand\":\"c\",\"runOutputDirectory\":\"\",\"lintOnSave\":true,\"enableNimsuggest\":false,\"provider\":\"lsp\",\"useNimsuggestCheck\":false,\"logNimsuggest\":false,\"licenseString\":\"\",\"nimsuggestRestartTimeout\":60,\"nimprettyIndent\":0,\"nimprettyMaxLineLen\":80,\"lsp\":{\"path\":\"\"},\"inlayHints\":{\"typeHints\":{\"enable\":\"true\"},\"exceptionHints\":{\"enable\":\"true\",\"hintStringLeft\":\"🔔\",\"hintStringRight\":\"\"}}}]"
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Document associated with the following projectFile uri=file:///home/doaxan/Projects/Nim/untitled/main.nim projectFile=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Failed to parse the configuration.        
DBG Failed to parse the configuration.        
INF Starting nimsuggest                        root=/home/doaxan/Projects/Nim/untitled/main.nim timeout=120000 path=nimsuggest fullPath=/home/doaxan/.nimble/bin/nimsuggest workingDir=/home/doaxan/Projects/Nim/untitled
DBG Router: dispatching                        method=textDocument/codeAction id=1
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: sending response                   method=textDocument/codeAction id=1
DBG Router: dispatching                        method=textDocument/inlayHint id=2
DBG inlayHint received...                     
DBG Failed to parse the configuration.        
DBG Router: dispatching                        method=textDocument/codeAction id=3
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: sending response                   method=textDocument/codeAction id=3
DBG Router: dispatching                        method=textDocument/documentSymbol id=4
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
[Error - 9:42:50 AM] Server process exited with signal SIGSEGV.
[Info  - 9:42:50 AM] Connection to server got closed. Server will restart.
true
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/doaxan/Projects/Nim/untitled/main.nim
DBG Received the following configuration       configuration="[{\"project\":[],\"projectMapping\":[],\"test-project\":\"\",\"buildOnSave\":false,\"buildCommand\":\"c\",\"runOutputDirectory\":\"\",\"lintOnSave\":true,\"enableNimsuggest\":false,\"provider\":\"lsp\",\"useNimsuggestCheck\":false,\"logNimsuggest\":false,\"licenseString\":\"\",\"nimsuggestRestartTimeout\":60,\"nimprettyIndent\":0,\"nimprettyMaxLineLen\":80,\"lsp\":{\"path\":\"\"},\"inlayHints\":{\"typeHints\":{\"enable\":\"true\"},\"exceptionHints\":{\"enable\":\"true\",\"hintStringLeft\":\"🔔\",\"hintStringRight\":\"\"}}}]"
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Document associated with the following projectFile uri=file:///home/doaxan/Projects/Nim/untitled/main.nim projectFile=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Failed to parse the configuration.        
DBG Failed to parse the configuration.        
INF Starting nimsuggest                        root=/home/doaxan/Projects/Nim/untitled/main.nim timeout=120000 path=nimsuggest fullPath=/home/doaxan/.nimble/bin/nimsuggest workingDir=/home/doaxan/Projects/Nim/untitled
DBG Router: dispatching                        method=textDocument/documentSymbol id=1
DBG Router: dispatching                        method=textDocument/codeAction id=2
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: sending response                   method=textDocument/codeAction id=2
DBG Router: dispatching                        method=textDocument/inlayHint id=3
DBG inlayHint received...                     
DBG Failed to parse the configuration.        
DBG Router: dispatching                        method=$/cancelRequest id=null
DBG Cancelling:                                id=1
DBG Router: dispatching                        method=textDocument/documentSymbol id=4
DBG Started nimsuggest                         port=37697 root=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Failed to parse the configuration.        
DBG Running diagnostics                        uri=file:///home/doaxan/Projects/Nim/untitled/main.nim
DBG processQueue                               size=1
DBG Started...                                 benchmark="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG timeoutCallback is set                     timeout=120000 command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Sending result(s)                          length=119 command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG CPU Time                                   benchmark="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" time=0.252 command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Started...                                 benchmark="known \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" command="known \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG timeoutCallback is set                     timeout=120000 command="known \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Found diagnostics                          file="{\"/home/doaxan/.choosenim/toolchains/nim-2.0.2/lib/pure/times.nim\"}"
DBG Sending diagnostics                        count=2 path=/home/doaxan/.choosenim/toolchains/nim-2.0.2/lib/pure/times.nim
DBG Sending result(s)                          length=1 command="known \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG CPU Time                                   benchmark="known \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" time=0.249 command="known \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Started...                                 benchmark="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG timeoutCallback is set                     timeout=120000 command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Sending result(s)                          length=1 command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG CPU Time                                   benchmark="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" time=0.250 command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Started...                                 benchmark="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints" command="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints"
DBG timeoutCallback is set                     timeout=120000 command="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints"
DBG Router: sending response                   method=textDocument/documentSymbol id=1
DBG Sending result(s)                          length=1 command="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints"
DBG CPU Time                                   benchmark="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints" time=0.250 command="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints"
DBG Started...                                 benchmark="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG timeoutCallback is set                     timeout=120000 command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Router: sending response                   method=textDocument/inlayHint id=3
DBG Sending result(s)                          length=1 command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG CPU Time                                   benchmark="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" time=0.250 command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Router: sending response                   method=textDocument/documentSymbol id=4
DBG Router: dispatching                        method=textDocument/hover id=5
DBG processQueue                               size=1
DBG Started...                                 benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":7:30" command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":7:30"
DBG timeoutCallback is set                     timeout=120000 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":7:30"
DBG Sending result(s)                          length=1 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":7:30"
DBG CPU Time                                   benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":7:30" time=0.062 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":7:30"
DBG Router: sending response                   method=textDocument/hover id=5
DBG Router: dispatching                        method=textDocument/hover id=6
DBG processQueue                               size=1
DBG Started...                                 benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:30" command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:30"
DBG timeoutCallback is set                     timeout=120000 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:30"
DBG Router: dispatching                        method=$/cancelRequest id=null
DBG Cancelling:                                id=6
DBG Future cancelled.                          id=6
DBG Future cancelled, throwing...              id=6
DBG Call was cancelled before sending the result command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:30"
DBG CPU Time                                   benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:30" time=0.157 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:30"
DBG Router: dispatching                        method=textDocument/hover id=7
DBG processQueue                               size=1
DBG Started...                                 benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:25" command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:25"
DBG timeoutCallback is set                     timeout=120000 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:25"
DBG Sending result(s)                          length=1 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:25"
DBG CPU Time                                   benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:25" time=0.195 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:25"
DBG Router: sending response                   method=textDocument/hover id=7
DBG Router: dispatching                        method=textDocument/hover id=8
DBG processQueue                               size=1
DBG Started...                                 benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:33" command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:33"
DBG timeoutCallback is set                     timeout=120000 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:33"
DBG Sending result(s)                          length=1 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:33"
DBG CPU Time                                   benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:33" time=0.181 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":5:33"
DBG Router: sending response                   method=textDocument/hover id=8
DBG Router: dispatching                        method=textDocument/hover id=9
DBG processQueue                               size=1
DBG Started...                                 benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:10" command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:10"
DBG timeoutCallback is set                     timeout=120000 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:10"
DBG Router: dispatching                        method=$/cancelRequest id=null
DBG Cancelling:                                id=9
DBG Future cancelled.                          id=9
DBG Future cancelled, throwing...              id=9
DBG Call was cancelled before sending the result command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:10"
DBG CPU Time                                   benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:10" time=0.149 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:10"
DBG Router: dispatching                        method=textDocument/hover id=10
DBG processQueue                               size=1
DBG Started...                                 benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:9" command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:9"
DBG timeoutCallback is set                     timeout=120000 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:9"
DBG Sending result(s)                          length=0 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:9"
DBG CPU Time                                   benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:9" time=0.132 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":11:9"
DBG Router: sending response                   method=textDocument/hover id=10
DBG Router: dispatching                        method=textDocument/hover id=11
DBG processQueue                               size=1
DBG Started...                                 benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:11" command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:11"
DBG timeoutCallback is set                     timeout=120000 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:11"
DBG Sending result(s)                          length=1 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:11"
DBG CPU Time                                   benchmark="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:11" time=0.088 command="def \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:11"
DBG Router: sending response                   method=textDocument/hover id=11
DBG Router: dispatching                        method=textDocument/documentHighlight id=12
DBG processQueue                               size=1
DBG Started...                                 benchmark="highlight \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:13" command="highlight \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:13"
DBG timeoutCallback is set                     timeout=120000 command="highlight \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:13"
DBG Sending result(s)                          length=0 command="highlight \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:13"
DBG CPU Time                                   benchmark="highlight \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:13" time=0.065 command="highlight \"/home/doaxan/Projects/Nim/untitled/main.nim\":3:13"
DBG Router: sending response                   method=textDocument/documentHighlight id=12
DBG Router: dispatching                        method=textDocument/codeAction id=13
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: sending response                   method=textDocument/codeAction id=13
DBG Router: dispatching                        method=textDocument/didChange id=null
DBG Failed to parse the configuration.        
DBG Router: dispatching                        method=textDocument/codeAction id=14
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: sending response                   method=textDocument/codeAction id=14
DBG Router: dispatching                        method=textDocument/didSave id=null
DBG processQueue                               size=1
DBG Started...                                 benchmark="changed \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" command="changed \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG timeoutCallback is set                     timeout=120000 command="changed \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Failed to parse the configuration.        
DBG Checking project                           uri=file:///home/doaxan/Projects/Nim/untitled/main.nim
DBG Failed to parse the configuration.        
DBG Running diagnostics                        uri=file:///home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: dispatching                        method=textDocument/documentSymbol id=15
DBG Sending result(s)                          length=0 command="changed \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG CPU Time                                   benchmark="changed \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" time=0.222 command="changed \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Started...                                 benchmark="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG timeoutCallback is set                     timeout=120000 command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
>> SIGSEGV: Illegal storage access. (Attempt to read from nil?)
DBG Router: dispatching                        method=textDocument/codeAction id=16
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: sending response                   method=textDocument/codeAction id=16
DBG Router: dispatching                        method=textDocument/inlayHint id=17
DBG inlayHint received...                     
DBG Failed to parse the configuration.        
WRN Server stopped.                            projectFile=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Failed to parse the configuration.        
DBG Failed to parse the configuration.        
INF Starting nimsuggest                        root=/home/doaxan/Projects/Nim/untitled/main.nim timeout=120000 path=nimsuggest fullPath=/home/doaxan/.nimble/bin/nimsuggest workingDir=/home/doaxan/Projects/Nim/untitled
DBG Server socket closed                       command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Call cancelled before sending error        command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Call was cancelled before sending the result command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG CPU Time                                   benchmark="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0" time=0.918 command="chk \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Nimsuggest is not working, returning empty result... command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG Nimsuggest is not working, returning empty result... command="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints"
DBG Stopping nimsuggest for                    root=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: sending response                   method=textDocument/documentSymbol id=15
DBG Router: sending response                   method=textDocument/inlayHint id=17
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
[Error - 9:43:08 AM] Server process exited with signal SIGSEGV.
[Info  - 9:43:08 AM] Connection to server got closed. Server will restart.
true
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/doaxan/Projects/Nim/untitled/main.nim
DBG Received the following configuration       configuration="[{\"project\":[],\"projectMapping\":[],\"test-project\":\"\",\"buildOnSave\":false,\"buildCommand\":\"c\",\"runOutputDirectory\":\"\",\"lintOnSave\":true,\"enableNimsuggest\":false,\"provider\":\"lsp\",\"useNimsuggestCheck\":false,\"logNimsuggest\":false,\"licenseString\":\"\",\"nimsuggestRestartTimeout\":60,\"nimprettyIndent\":0,\"nimprettyMaxLineLen\":80,\"lsp\":{\"path\":\"\"},\"inlayHints\":{\"typeHints\":{\"enable\":\"true\"},\"exceptionHints\":{\"enable\":\"true\",\"hintStringLeft\":\"🔔\",\"hintStringRight\":\"\"}}}]"
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Document associated with the following projectFile uri=file:///home/doaxan/Projects/Nim/untitled/main.nim projectFile=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Failed to parse the configuration.        
DBG Failed to parse the configuration.        
INF Starting nimsuggest                        root=/home/doaxan/Projects/Nim/untitled/main.nim timeout=120000 path=nimsuggest fullPath=/home/doaxan/.nimble/bin/nimsuggest workingDir=/home/doaxan/Projects/Nim/untitled
DBG Router: dispatching                        method=textDocument/documentSymbol id=1
DBG Router: dispatching                        method=textDocument/codeAction id=2
DBG Failed to parse the configuration.        
DBG getProjectFile                             project=/home/doaxan/Projects/Nim/untitled/main.nim
DBG Router: sending response                   method=textDocument/codeAction id=2
DBG Router: dispatching                        method=textDocument/inlayHint id=3
DBG inlayHint received...                     
DBG Failed to parse the configuration.        
DBG Router: dispatching                        method=$/cancelRequest id=null
DBG Cancelling:                                id=3
DBG Router: dispatching                        method=textDocument/inlayHint id=4
DBG inlayHint received...                     
DBG Failed to parse the configuration.        
>> SIGSEGV: Illegal storage access. (Attempt to read from nil?)
ERR Failed to read nimsuggest port            
WRN Server stopped.                            projectFile=/home/doaxan/Projects/Nim/untitled/main.nim
DBG processQueue                               size=1
DBG Nimsuggest is not working, returning empty result... command="known \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG processQueue                               size=1
DBG Nimsuggest is not working, returning empty result... command="outline \"/home/doaxan/Projects/Nim/untitled/main.nim\":0:0"
DBG processQueue                               size=1
DBG Nimsuggest is not working, returning empty result... command="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints"
DBG processQueue                               size=1
DBG Nimsuggest is not working, returning empty result... command="inlayHints \"/home/doaxan/Projects/Nim/untitled/main.nim\":1:0:12:0 +exceptionHints"
DBG Router: sending response                   method=textDocument/documentSymbol id=1
DBG Router: sending response                   method=textDocument/inlayHint id=3
DBG Router: sending response                   method=textDocument/inlayHint id=4

from vscode-nim.

jmgomez avatar jmgomez commented on September 25, 2024

This is an issue with the langserver rather than the extension. Likely the settings that are being sent to the server. Can you open the issue in the langserver repo and share your conf?

from vscode-nim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.