Sarrus1 / sourcepawn-studio

VSCode extension for SourcePawn scripting
https://sarrus1.github.io/sourcepawn-studio/
MIT License
147 stars 23 forks source link

Sourcepawn language server crashing #301

Closed TheBv closed 1 year ago

TheBv commented 1 year ago

Basic informations

Further Information

Sourcepawn language server just immediately crashes on startup. I feel like this wasn't an issue for me a couple months ago, but I might be wrong.

Error messages

[Info  - 6:48:58 PM] Connection to server got closed. Server will restart.
[2023-04-30T16:48:58.266Z INFO] Starting SourcePawn server version 0.9.10
Received config [Object {"disableSyntaxLinter": Bool(true), "includesDirectories": Array [String("C:\\Users\\Patrick\\sourcemodAPI\\addons\\sourcemod\\scripting\\include"), String("./includes")], "linterArguments": Array [], "mainPath": String(""), "spcompPath": String("C:\\Users\\Patrick\\sourcemodAPI\\addons\\sourcemod\\scripting\\spcomp.exe")}]
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ()', src\store.rs:149:61
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 6:48:58 PM] The SourcePawn Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
Sarrus1 commented 1 year ago

Fixed in 39f1bfc5b899bff12c7bbff1d380c17032aa326d.