Panic on windows environments during server startup
anupdhml opened this issue · 1 comments
anupdhml commented
Seeing following panic during tremor-language-server startup on windows:
C:\Users\juju\TREMOR>set RUST_BACKTRACE=full
C:\Users\juju\TREMOR>tremor-language-server --version
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." }', src\libcore\result.rs:1188:5
stack backtrace:
0: 0x7ff603958a19 - onig_get_regex_by_callout_args
1: 0x7ff603970cdb - onig_get_regex_by_callout_args
2: 0x7ff603955294 - onig_get_regex_by_callout_args
3: 0x7ff60395b4f9 - onig_get_regex_by_callout_args
4: 0x7ff60395b14c - onig_get_regex_by_callout_args
5: 0x7ff60395bd2c - onig_get_regex_by_callout_args
6: 0x7ff60395b8b0 - onig_get_regex_by_callout_args
7: 0x7ff60396d20d - onig_get_regex_by_callout_args
8: 0x7ff60396d30f - onig_get_regex_by_callout_args
9: 0x7ff6034fbc21 - <unknown>
10: 0x7ff603537529 - <unknown>
11: 0x7ff60349ba91 - <unknown>
12: 0x7ff603513bc9 - <unknown>
13: 0x7ff6034b8a20 - <unknown>
14: 0x7ff60350d346 - <unknown>
15: 0x7ff60395b707 - onig_get_regex_by_callout_args
16: 0x7ff60395fd72 - onig_get_regex_by_callout_args
17: 0x7ff60395bf52 - onig_get_regex_by_callout_args
18: 0x7ff6034b8bd7 - <unknown>
19: 0x7ff6039a47b4 - onig_unicode_define_user_property
20: 0x7fff856b7bd4 - BaseThreadInitThunk
21: 0x7fff85f6ce51 - RtlUserThreadStart
Tested with v0.7.4
of the server (via cargo install tremor-language-server
), on rustc 1.41.1 (f3e1a954d 2020-02-24)
, windows 10.
The server does not error out on linux and mac environments. Fixing this will enable editors like vscode to use the server on windows too.
darach commented
Closing. Fixed by the passage of time:
PS D:\native\code\oss\tremor-rs\tremor-language-server> .\target\debug\tremor-language-server.exe --version
tremor-language-server 0.13.0-rc.18
PS D:\native\code\oss\tremor-rs\tremor-language-server>