[coc.nvim] The "python" server crashed 4 times in the last 3 minutes. The server will not be restarted
See original GitHub issueHi, I’m not sure what happened recently, but I don’t think I changed anything in my config other than updating everything, and now whenever I open a Python file, I hear the Pyright language server spinning up the CPU usage and after a while, it seems to be crashing and I see the message “… server crashed 4 times …”.
I’d really appreciate if you help me solve this issue because it basically killed my usual workflow of using neovim with Python files 🙁
What’s the output of :CocCommand pyright.version
[coc.nvim] coc-pyright 1.1.156 with Pyright 1.1.156
What’s the output of :CocCommand workspace.showOutput Pyright
Workspace: /data/github/wrk
Using python from /data/github/wrk/.direnv/python-3.9.6/bin/python
[Info - 12:13:24 p.m.] Pyright language server 1.1.156 starting
[Info - 12:13:25 p.m.] Server root directory: /home/farzad/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Error: The "java" server crashed 5 times in the last 3 ... - GitHub
nvim ] The "java" server crashed 5 times in the last 3 minutes. The server will not be restarted. I'm on linux and...
Read more >neoclide/coc.nvim - Gitter
[coc.nvim] The "languageserver.python" server crashed 5 times in the last 3 minutes. The server will not be restarted. my coc-settings.json
Read more >coc-java The java server crashed 5 times in the last 3 minutes
This happened to me alot, fixed it by doing :CocCommand java.clean.workspace After u do that restart coc and it should work fine, usually...
Read more >coc-java server gets crashed - Vi and Vim Stack Exchange
[coc.nvim] The "java" server crashed 4 times in the last 3 minutes. The server will not be restarted. I review the :CocCommand workspace....
Read more >The Python Tools server crashed 5 times in the last 3 minutes ...
I had a similar issue, which I resolved based on this answer. What I found was opening the folders individually seemed to work...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @fannheyward , just wanted to thank you again for finding out the root issue
All this time, I was getting duplicate diagnostics etc and the reason I think was that I had both
coc-python
andcoc-pyright
installed. Today, I opened a Python file and it’s much better.I’m happy that I opened this issue 😆
The "python" server crashed ...
, if Pyright failed, the message should bePyright server
. This why I ask you the output of:CocList extensions
python.setInterpreter
commandIt’s ok for this issue, glad to help you.