-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: server stucks with a lot of meaningless messages of errors #32857
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
Comments
@inliquid: Can you confirm that this happens with the latest version of |
I'm updating gopls from master regularly. Gonna update now and see if this happens again. It also may be somehow related to vscode-go extension itself, because recently I seen quite similar messages from linter output. |
@stamblerre I think |
Hm, well And yes, |
Are you able to share the full |
Sorry, what do you mean? |
Oh, I'm sorry, typo - meant to say - can you share the full |
Ah, ok when I next time see this error I'll share more logs. |
Logs from few occasions where similar behaviour happened. Thanks
|
@DrGo: It looks like you are using an old version of |
Thanks Rebecca, While using it briefly this morning, I am getting a different error that I do not understand
I do not see anything different about this file. gopls does not complain about other files in the same package. Also, do you know why I am getting this error when opening a mod file
Many thanks, |
@DrGo: For your first error, can you please share additional information as described here? In particular, what is the output of Regarding the error with the |
correct. 2019/08/10 12:51:38 Info:Build infogolang.org/x/tools/gopls v0.1.2 Go infogo version go1.13beta1 darwin/amd64 GO111MODULE="on" |
Ok, in that case, I don't think that this should be a problem that necessarily needs fixing, though I did actually remove this logging in https://golang.org/cl/189039. Logged messages are just for troubleshooting, only the errors in the Problems pane should affect the user. |
Problem is not "errors" and "logging". problem is that at the same time |
@stamblerre gopls freezes in my case too forcing multiple restarts. However, I have disabled gopls so I do not know if the issue was fixed more recently. |
@DrGo: If you choose to re-enable |
A lot has changed in |
VS Code.

Actually this happens all the time, if you work more than 30 min with some editing. It just stops working normally forcing to restart VS Code. And in fact there are no errors in files. See screenshot and logs for more information.
The text was updated successfully, but these errors were encountered: