sublimelsp / LSP-ruff

LSP helper for ruff - an extremely fast Python linter, written in Rust.
https://packagecontrol.io/packages/LSP-ruff
MIT License
31 stars 4 forks source link

LSP-ruff server has crashed 5 times in the last 180 seconds. #65

Closed jaraco closed 2 months ago

jaraco commented 2 months ago

Starting this morning, when opening up any Python file, I get an error.

The LSP-ruff server has crashed 5 times in the last 180 seconds.

You can try to Restart it or you can choose Cancel to disable it for this window for the duration of the current session. Re-enable by running "LSP: Enable Language Server In Project" from the Command Palette.

image

It happens almost immediately after opening any file and if I click restart, the same error returns promptly.

How to troubleshoot?

jaraco commented 2 months ago

I'd looked at the console logs, but there was nothing useful there except the 5 failure notices.

I uninstalled and reinstalled LSP-ruff 1.1.2 and the error is gone. I guess something got corrupted in the install.