Replies: 3 comments 2 replies
-
@damca did you even get this working? I've been trying off and on to accomplish the same thing to no avail. It's as if it processes the buffer and then "shuts down" the server. |
Beta Was this translation helpful? Give feedback.
-
If Pyright is crashing, you can run it from the command line usually to reproduce the crash. Then you'd be able to just debug the pyright code. |
Beta Was this translation helpful? Give feedback.
-
I've made a really silly mistake of setting the I reached the point of cloning Pyright locally, peppering it with logs, and still there were no logs indicating the issue. Perhaps it's an OS thing or logs are being misdirected, idk. I've been experiencing the exact issue. I have a Python wrapper around the Things I've tried:
The fact that I am experiencing the same issue from Python seems telling that the issue might be more prevalent. |
Beta Was this translation helpful? Give feedback.
-
The
pyright
server connects for a few seconds, provides accurate intellisense and then dies. I would like to troubleshoot the crash, but don't know how to find the logs. My overall goal is to get apyright
server within a docker container to communicate with Neovim on the host.Setup:
docker exec -i conda /bin/bash --login -c 'pyright-langserver --stdio'
from host starts a usual server. Note that if-it
is passed then the Neovim side crashes with the errorthe input device is not a TTY
(as found in~/.local/state/nvim/lsp.log
).docker_conda_pyright
. And start the language server with the following lua function:When calling
start_docker_pyright
on a file, the language server seems to work for ~5 seconds and then crashes. Any thoughts on how to best proceed troubleshooting this?Beta Was this translation helpful? Give feedback.
All reactions