Skip to content

gopls: automated issue report (initialization) #1443

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

Closed
fringe-wb opened this issue Apr 20, 2021 · 4 comments
Closed

gopls: automated issue report (initialization) #1443

fringe-wb opened this issue Apr 20, 2021 · 4 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@fringe-wb
Copy link

gopls version: v0.6.10
gopls flags:
update flags: proxy
extension version: 0.24.1
go version: 1.15.6
environment: Visual Studio Code darwin
initialization error: Error: JSON RPC parse error: json: cannot unmarshal number into Go struct field RenameClientCapabilities.capabilities.textDocument.rename.prepareSupportDefaultBehavior of type bool: JSON RPC parse error
manual restart count: 0
total start count: 1

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.

Failed to auto-collect gopls trace: no gopls log.

OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.

NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.

<OPTIONAL: ATTACH LOGS HERE>

@gopherbot gopherbot added this to the Untriaged milestone Apr 20, 2021
@findleyr
Copy link
Member

Hi, this is a known issue with older versions of gopls (#1300). Are you sure you're using gopls v0.6.10? You can see where gopls is installed by running Go: Locate Configured Go Tools, and then running gopls -v version.

@findleyr findleyr modified the milestones: Untriaged, Backlog Apr 20, 2021
@findleyr findleyr added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Apr 20, 2021
@zcqzcg
Copy link

zcqzcg commented Apr 21, 2021

I am in the same satiation here;
By the way, it's gopls version to get version, which on my deepin is

gopls version                                                                                                                                                                                   2 ↵
golang.org/x/tools/gopls v0.6.5
    golang.org/x/tools/[email protected] h1:kLt9rD/dWtVdvc8LmdcxagDFih6zxYXREpKSYYZu5KE=

VsCode is the latest version of linux, I am currently on Deepin 20.2

@findleyr
Copy link
Member

@zcqzcg you need at least gopls v0.6.6 -- see also #1300. Did you get a prompt to update?

Any any case, you can update gopls via these instructions, or manually with the go command.

@hyangah
Copy link
Contributor

hyangah commented May 3, 2021

Closing. @fringe-wb and @zcqzcg Please update the gopls to the latest version. Thanks!

@hyangah hyangah closed this as completed May 3, 2021
@golang golang locked and limited conversation to collaborators May 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants