Closed ykl1377 closed 3 months ago
Thanks for your feedback!
The cancelled error which you highlighted, isn't really an error. It's a way to cancel request in the LSP.
This one seem to be the real error: [Error - 11:31:32 PM] Server process exited with code 101. Do you have logs around that?
P.S. I work in a remote ssh mode all the time, and it works fine for me, so it should be something specific either to your project, or to configuration of your machine.
called Result::unwrap() on an Err value: RecvError
This seems to be relevant. I have seen panics related to that, but they are pretty rare, and I am don't know what they are caused by. Do you have anything related to shutdown in the output? Do you use hardlinks in the structure of your project?
[Error - 11:31:32 PM] Server process exited with code 101.
So this message has timestamp 31:32, i.e. likely after the full log, i.e. messages are printed out of order. My guess is that the process is terminated due to some error which I would like to find in the logs.
Also, often it's much easier to solve problems like this via chat. Consider joining our discord and contacting the tooltitude-support account directly: https://discord.gg/f9MHBXsVwr
called Result::unwrap() on an Err value: RecvError
This seems to be relevant. I have seen panics related to that, but they are pretty rare, and I am don't know what they are caused by. Do you have anything related to shutdown in the output? Do you use hardlinks in the structure of your project?
It should be caused by the soft links. My old working directory is "/home/xxxx/source/word_base", "/home/xxxx" is a soft link, this situation does not work. After I copy the project directory outside like "/home/word_base", it worked normally.
Could you help confirm why soft links are not supported?
[Error - 11:31:32 PM] Server process exited with code 101.
So this message has timestamp 31:32, i.e. likely after the full log, i.e. messages are printed out of order. My guess is that the process is terminated due to some error which I would like to find in the logs.
When I restart the language server, this error will be reported. It should be normal.
It should be caused by the soft links. My old working directory is "/home/xxxx/source/word_base", "/home/xxxx" is a soft link, this situation does not work. After I copy the project directory outside like "/home/word_base", it worked normally.
Thanks a lot! This is very helpful. Will investigate what's going on there further.
Could you help confirm why soft links are not supported?
It's not intended behavior. It was just my guess of what might be causing this issue based on my previous experience.
@ykl1377 Kind of reproduced it. If I open via a symlink, no code lenses are shown, but I don't see any errors like the one mentioned by you. Will investigate further
@ykl1377 Reproduced and fixed it. It wasn't the bug which I was thinking about. It's fixed now, and available in 0.87.1, which is out now. Please update, and let us now if it still reproduces.
@ykl1377 Reproduced and fixed it. It wasn't the bug which I was thinking about. It's fixed now, and available in 0.87.1, which is out now. Please update, and let us now if it still reproduces.
It works fine after the update, thanks.
@ykl1377 Ok. Thanks. Closing the issue.
It works fine on my macpro, but it doesn't work properly in vscode ssh mode
Tooltitude Version: v0.86.3
OS Version: debian 10
VS Code Version: 1.92.1
Go Version: 1.22.5
Code Repository (if open source):
What did you try to do?
Is there anything interesting in the tooltitude output channel? (should be open if you are reporting error from within VS Code)
Steps to reproduce
Step 1 Open go project in macpro. It works fine
Step 2 Use vscode ssh mode to open files on remote development machines. It doesn't work well
Step 3 err logs