Skip to content

gopls: automated issue report (initialization) #1301

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
fabulias opened this issue Mar 12, 2021 · 1 comment
Closed

gopls: automated issue report (initialization) #1301

fabulias opened this issue Mar 12, 2021 · 1 comment
Labels
automatedReport Automatically created issues FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@fabulias
Copy link

gopls version: v0.6.4
gopls flags:
extension version: 0.23.1
environment: Visual Studio Code win32
initialization error: Error: JSON RPC parse error: json: cannot unmarshal number into Go struct field RenameClientCapabilities.prepareSupportDefaultBehavior of type bool: JSON RPC parse error
manual restart count: 0
total start count: 2

All plugins about Go are not working, I tried to update this plugin because visual studio alert me Couldn't start gopls

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.

  Message: JSON RPC parse error: json: cannot unmarshal number into Go struct field RenameClientCapabilities.prepareSupportDefaultBehavior of type bool: JSON RPC parse error
  Code: -32700 
gopls: failed reading header line: &{%!w(string=EOF)}
[Error - 10:38:40 PM] Starting client failed
  Message: JSON RPC parse error: json: cannot unmarshal number into Go struct field RenameClientCapabilities.prepareSupportDefaultBehavior of type bool: JSON RPC parse error
  Code: -32700 
gopls: failed reading header line: &{%!w(string=EOF)}```

By policies company, I don't have access to work with PowerShell.
@hyangah
Copy link
Contributor

hyangah commented Mar 12, 2021

Thank you for the report, and sorry for the trouble. @fabulias

This is a duplicate of #1300
The latest gopls is v0.6.6.

By the way, didn't the vscode pop up a notification to suggest updates before?
We need to find a better way to enforce updates. :-(

@hyangah hyangah added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Mar 12, 2021
@hyangah hyangah closed this as completed Mar 12, 2021
@hyangah hyangah added the automatedReport Automatically created issues label Mar 13, 2021
@golang golang locked and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automatedReport Automatically created issues 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

3 participants