Sarrus1 / sourcepawn-studio

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

Eveything I've found with the pre-release 5.0.3 (Keldra) #281

Closed ddorab closed 1 year ago

ddorab commented 1 year ago

Basic informations

Further Information

To Reproduce

I have no idea :D

Error messages

Didn't notice any errors

I'll be updating the post continously when I come across new stuff

ddorab commented 1 year ago

Everything seems to have gone away, sizeof, continue, break are still missing. They're not that important, simply good to have. Thanks for all the effort.

ddorab commented 1 year ago
[Info  - 11:59:05 PM] Connection to server got closed. Server will restart.
Starting SourcePawn server
Received config [Object {"includesDirectories": Array [String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\include")], "mainPath": String("c:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\komal\\scripting\\komal.sp"), "spcompPath": String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\spcomp.exe")}]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\semantic_analyzer\resolvers.rs:123:18
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.6.0\src\stdio.rs:29:37
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Info  - 11:59:07 PM] Connection to server got closed. Server will restart.
Starting SourcePawn server
Received config [Object {"includesDirectories": Array [String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\include")], "mainPath": String("c:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\komal\\scripting\\komal.sp"), "spcompPath": String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\spcomp.exe")}]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\semantic_analyzer\resolvers.rs:123:18
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.6.0\src\stdio.rs:29:37
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 11:59:08 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.

also hello :D

Sarrus1 commented 1 year ago

Hey thanks again for your feedback :) Do you think I missed any symbol? https://github.com/Sarrus1/sourcepawn-lsp/commit/ad19619ea05ff5daff84a9c9987788a068fd9b65

Sarrus1 commented 1 year ago
[Info  - 11:59:05 PM] Connection to server got closed. Server will restart.
Starting SourcePawn server
Received config [Object {"includesDirectories": Array [String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\include")], "mainPath": String("c:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\komal\\scripting\\komal.sp"), "spcompPath": String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\spcomp.exe")}]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\semantic_analyzer\resolvers.rs:123:18
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.6.0\src\stdio.rs:29:37
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Info  - 11:59:07 PM] Connection to server got closed. Server will restart.
Starting SourcePawn server
Received config [Object {"includesDirectories": Array [String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\include")], "mainPath": String("c:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\komal\\scripting\\komal.sp"), "spcompPath": String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\spcomp.exe")}]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\semantic_analyzer\resolvers.rs:123:18
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.6.0\src\stdio.rs:29:37
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 11:59:08 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.

also hello :D

Can you please send me the file that caused this? Curious as to why this panicked... I've added a better fail safe in the latest build, which should fix the issue.

Sarrus1 commented 1 year ago

Assumed everything is fixed. Feel free to reopen if needed.