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

XGO build lsp conn error #36

Closed
mrjosh opened this issue Jun 14, 2023 · 2 comments
Closed

XGO build lsp conn error #36

mrjosh opened this issue Jun 14, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mrjosh
Copy link
Owner

mrjosh commented Jun 14, 2023

@qvalentin Helllo! Hope you're going fine

Since you change the build tool from gox to xgo
I do get this error while running the helm_ls_darwin_amd64 building with xgo on macOS

[ERROR][2023-06-14 05:38:24] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/josh/.bin/helm_ls_darwin_amd64"	"stderr"	'panic: request "initialize" was never replied to\n\ngoroutine 7 [running]:\ngo.lsp.dev/jsonrpc2.ReplyHandler.func1({0x1014fbc28, 0xc000128018}, 0xc000040f40, {0x10ccdc058?, 0xc000056100?})\n\t/go/pkg/mod/go.lsp.dev/[email protected]/handler.go:44 +0x165\ngo.lsp.dev/jsonrpc2.(*conn).run(0xc00047dcc0, {0x1014fbc28, 0xc000128018}, 0xc00027c450)\n\t/go/pkg/mod/go.lsp.dev/[email protected]/conn.go:206 +0x22b\ncreated by go.lsp.dev/jsonrpc2.(*conn).Go\n\t/go/pkg/mod/go.lsp.dev/[email protected]/conn.go:189 +0xb0\n'

Can you please double check and see if it's anything wrong with xgo build?
Cause i'm fine while building with go build -o ./bin/helm_ls

Thanks

@mrjosh mrjosh added the bug Something isn't working label Jun 14, 2023
@qvalentin
Copy link
Collaborator

qvalentin commented Jun 16, 2023

Hi, I can confirm it is currently broken (also on linux). But the problem seems to come from updating the dependencies in this commit: b5b1aef

qv@nixos ~/d/g/helm-ls ((4edaec41)|BISECTING)> git bisect bad

Bisecting: 0 revisions left to test after this (roughly 0 steps)

[b5b1aef46b6dc67070f916b0b2cffda00b634fcf] [FIX] removing macOS arm64 due to conflicts with packages that crashes helm_ls

@mrjosh
Copy link
Owner Author

mrjosh commented Jun 17, 2023

The issue was from loading values.yaml file while the WorkspaceFolders.URI was returning the file:https:// string type path.
With the WorkspaceFolders.Name problem is solved 6a1cce9

@mrjosh mrjosh closed this as completed Jun 17, 2023
@mrjosh mrjosh self-assigned this Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants