-
Notifications
You must be signed in to change notification settings - Fork 758
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
Go: Install/Update Tools: "gocode: Failed to close gocode process" #362
Comments
Investigating why this is happening. It fails even if the binary is not installed:
|
https://go-review.googlesource.com/c/vscode-go/+/242780 should have fixed this, but the fix has not yet been released. You can try the Nightly build of the extension to confirm if the fix works for you. |
Oh, actually, I believe that the Nightly build has not yet been released. |
The new nightly version just published includes https://go-review.googlesource.com/c/vscode-go/+/242780 |
for me, the tools do not install at all. it just stuck forever. |
@sanket-bhalerao what is the nightly version? |
@sanket-bhalerao Thanks. Can you manually install those tools? From a directory without go.mod file, run |
I can manually install it |
@sanket-bhalerao glad to hear that you could manually install it. What tool was the problematic one when trying to install with the extension? |
i could not get any of the 17 tools that are listed. |
Change https://golang.org/cl/243700 mentions this issue: |
Also, report the tool version and the installation location in the install success message, and include `-x` output in the install failure message. Update #362 Change-Id: Ie84a755fb1008bf048acec9c707b89a14cd960c0 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/243700 Reviewed-by: Rebecca Stambler <[email protected]>
OK so it works fully for me just now. VSCODE prompted to restart due to a new version of itself, detected that i had upgraded golang to 1.14.5, and prompted me to reinstall all the golang tools. Perfect workflow !!
I think i can close this now ? |
Change https://golang.org/cl/243898 mentions this issue: |
…ready running Fixes #355 Fixes #362 Change-Id: Ifdf229ce52a6a4b1a2e4f0a28ac5596405ff4c56 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/242780 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> (cherry picked from commit db1d1b3) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/243898 Reviewed-by: Rebecca Stambler <[email protected]>
0.15.2 is released including the cl https://go-review.googlesource.com/c/vscode-go/+/242780 I am not sure the cause of the problem @sanket-bhalerao is experiencing. (maybe try Thanks! |
I have had this now twice in the last week. First time i figured well thats handover issues, but 2nd time is not....
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insidersgo env
to get the go development environment detailsShare the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
WHen i run the golang tools install it ran but then failed:
A clear and concise description of what you expected to happen.
Steps to reproduce the behavior:
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
The text was updated successfully, but these errors were encountered: