Skip to content

gopls: automated issue report (initialization) #1529

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
ypshe opened this issue May 26, 2021 · 2 comments
Closed

gopls: automated issue report (initialization) #1529

ypshe opened this issue May 26, 2021 · 2 comments
Labels
automatedReport Automatically created issues FrozenDueToAge

Comments

@ypshe
Copy link

ypshe commented May 26, 2021

gopls version: v0.5.3
gopls flags:
update flags: proxy
extension version: 0.25.1
go version: 1.15.1
environment: iCoding linux
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.

Starting client failed
  Message: JSON RPC parse error: json: cannot unmarshal number into Go struct field RenameClientCapabilities.capabilities.textDocument.rename.prepareSupportDefaultBehavior of type bool: JSON RPC parse error
  Code: -32700 

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 May 26, 2021
@suzmue
Copy link
Contributor

suzmue commented May 26, 2021

This is a known compatibility problem with older versions of gopls on recent versions of the extension (#1328). You can update your gopls tool as described in the troubleshooting guide.

@suzmue suzmue modified the milestones: Untriaged, Backlog May 26, 2021
@hyangah
Copy link
Contributor

hyangah commented Jun 21, 2021

Closing. @ypshe, please open a new issue if the problem persists even after updating the gopls. The latest gopls version as of Jun 21 is v0.7.0.

@hyangah hyangah closed this as completed Jun 21, 2021
@hyangah hyangah added the automatedReport Automatically created issues label Jun 21, 2021
@golang golang locked and limited conversation to collaborators Jun 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automatedReport Automatically created issues FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

4 participants