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

gopls: automated issue report (crash)

Open AnanthiSubash opened this issue 3 years ago • 3 comments

gopls version: v0.9.0 (go1.17.1) gopls flags: update flags: proxy extension version: 0.34.1 go version: 1.17.1 environment: Visual Studio Code linux initialization error: undefined issue timestamp: Mon, 11 Jul 2022 06:45:00 GMT restart history: Mon, 11 Jul 2022 06:31:39 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: 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>

AnanthiSubash avatar Jul 11 '22 06:07 AnanthiSubash

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

suzmue avatar Jul 11 '22 19:07 suzmue

I just opened the vscode

On Tue, 12 Jul, 2022, 1:04 am Suzy Mueller, @.***> wrote:

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, ...)? [image: Screen Shot 2021-01-27 at 2 53 49 PM] https://user-images.githubusercontent.com/4999471/106151310-3899a680-614a-11eb-9be7-42f2ae0592c9.png

— Reply to this email directly, view it on GitHub https://github.com/golang/vscode-go/issues/2331#issuecomment-1180786784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZKMPBKL33HUG4IWGUE6CTVTRZL3ANCNFSM53GNJNOA . You are receiving this because you authored the thread.Message ID: @.***>

AnanthiSubash avatar Jul 12 '22 00:07 AnanthiSubash

Hi, did you by any chance run the go:generate codelens? (or do you have something that automatically runs it?)

findleyr avatar Jul 12 '22 23:07 findleyr

Yes I ran go generate

On Wed, 13 Jul, 2022, 5:23 am findleyr, @.***> wrote:

Hi, did you by any chance run the go:generate codelens? (or do you have something that automatically runs it?)

— Reply to this email directly, view it on GitHub https://github.com/golang/vscode-go/issues/2331#issuecomment-1182606302, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZKMPG6KXNIDA7UI25DM4TVTYAQLANCNFSM53GNJNOA . You are receiving this because you authored the thread.Message ID: @.***>

AnanthiSubash avatar Oct 11 '22 06:10 AnanthiSubash

Ok, there was a bug in the go:generate codelens, in v0.9.2, which has since been fixed. Please update to the latest version of gopls.

findleyr avatar Oct 21 '22 19:10 findleyr