vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

gopls: automated issue report (initialization)

Open nat2k5us opened this issue 2 years ago • 1 comments

gopls version: (devel) (undefined) gopls flags: update flags: proxy extension version: 0.35.2 go version: 1.13.4 environment: Visual Studio Code win32 initialization error: Error: json: cannot unmarshal object into Go struct field .capabilities.textDocument.publishDiagnostics.tagSupport of type bool issue timestamp: Sat, 17 Sep 2022 18:36:46 GMT restart history: Sat, 17 Sep 2022 18:36:20 GMT: activation (enabled: true)

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: unrecognized crash pattern.

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>

nat2k5us avatar Sep 17 '22 18:09 nat2k5us

Thanks for the report. Can you please share the log you see in the gopls output channel and tell us when you observed this popup (e.g. I was updating gopls, I just opened the vscode, I did refactoring, ...)? Screen Shot 2021-01-27 at 2 53 49 PM

findleyr avatar Sep 19 '22 18:09 findleyr

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

gopherbot avatar Oct 19 '22 18:10 gopherbot

[Trace - 07:10:27.533 AM] Received notification 'textDocument/publishDiagnostics'. Params: {"uri":"file:///Users/me/dev/ts/starling/pkg/data/datafile_test.go","diagnostics":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":37}},"severity":1,"code":"BrokenImport","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal?utm_source=gopls#BrokenImport"},"source":"compiler","message":"could not import github.com/stretchr/testify/assert (no required module provides package "github.com/stretchr/testify/assert"(workspace configuration error: 1 modules have errors:\n\tgitlab.x.xx.com/rocket/starling:pattern gitlab.x.xxxx.com/rocket/starling/...: lstat /Users/me/dev/ts/starling/vendor: no such file or directory\n))"}]}

[Error - 7:10:27 AM] 2022/10/20 07:10:27 errors loading workspace: 1 modules have errors: gitlab.trad.tradestation.com/rocket/starling:pattern gitlab.x.xx.com/rocket/starling/...: lstat /Users/me/dev/ts/starling/vendor: no such file or directory

snapshot=14
directory=file:///Users/me/dev/ts/starling

nat2k5us avatar Oct 20 '22 12:10 nat2k5us