-
-
Notifications
You must be signed in to change notification settings - Fork 914
golang + tramp, Flycheck checker go-build explodes #3342
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
I don't think that any of these is picked by tramp. If these are esential for starting gopls, create a wrapper script that sets them and starts gopls. Note that if the binary that you have provided to lsp-mode is crashing there is nothing lsp-mode can do. |
@yyoncho right, that's why i added
and
seemed to imply that the binary indeed started up EDIT: I copied the gopls binary to under /usr/local/bin and /usr/bin, same error so i dont think its because the binary not seen and the lsp-log buffer does say
|
Check stderr which will be in /tmp on the remote machine. Also, you may try to start gopls in eshell buffer to check what the error is.
I meant that things like |
thank you, checked /tmp and found the gopls-remote-n-stdeer, it always says
|
Most likely this: #2375 . There are several attempts to fix this |
gotcha - so the input is too large wrt the time to complete available for the async read? thank you for the quick replies |
Tramp for some reason(unknown to me) converts |
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
Trying to get golang coding over tramp working and running into issues
in Messages , I have
which seems to imply that gopls-remote is working correctly but then it explodes on a missing go.mod
the remote machine's .bashrc uses gimme for golang,
and my ( i think only relevant parts) of emacs init.el
appreciate any insight, help
Steps to reproduce
wrote the config code used
Expected behavior
should not crash exit 2
Which Language Server did you use?
gopls with lsp
OS
Linux
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: