-
Notifications
You must be signed in to change notification settings - Fork 45
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
regression: 0.28.3 fails to respond to initialize
request, stalls and consumes high CPU
#95
Comments
@pappasam I would be delighted to test; I can pull and |
Ok, these instructions should get you up and running: git clone https://github.com/pappasam/jedi-language-server
cd jedi-language-server
python -m venv venv
source venv/bin/activate
pip install poetry
poetry install
which jedi-language-server As long as your virtual environment is active, you should be using the development version of |
Got it! It didn't go exactly as planned, but I was able to crowbar in a full path to the development build, and confirmed that the server responds as expected to initialization and other requests that I tested. Thanks very much! I really appreciate the quick fix. While I'm at it, I just wanted to throw some love your way for generating fully qualified snippet information for function completions. It makes this client developer's life much happier, and my customers will appreciate it as well. ❤️ |
These changes should be reflected in the latest release |
So, I did
Unclear to me where the issue lies, and it may not be your issue to solve. |
I'm working on an LSP client, and hoping to support jedi-language-server. When I started implementing, 0.27.2 was current, and this worked well. However, in testing, one of my testers reported that the client was hanging waiting for jedi-language-server.
Upon investigation, I found that the relevant difference was that the tester was running 0.28.3 rather than my 0.27.2, and upon updating my own installation of jedi-language-server to 0.28.3 I was able to reproduce the same symptom.
Platform: macOS 10.15.7
Python: 3.9.2
jedi-language-server: 0.28.3
Client: n/a
I don't have a clean test harness for reproducing this; I thought I could start
jedi-language-server
in a Terminal window and pipe or paste JSON into it, but that doesn't seem to work as expected. However, I have provided the JSON that is being sent to the server when it starts up, perhaps that is useful.The regression is reproducible: use
pip install -U jedi-language-server
to install the current version (0.28.3 as I write this), and the server never responds to theinitialize
message. Sometimes it appears to continue running and consume high CPU, I have attached a macOSsample
report, in case that is helpful.Then, use
pip uninstall jedi-language-server
followed bypip install -Iv jedi-language-server==0.27.2
to install the older version, and the language server responds immediately and as expected toinitialize
and other protocol requests.Thanks for reading; please let me know if there's any additional information I can provide.
initialize.json.zip
jedi-ls-sample.txt
The text was updated successfully, but these errors were encountered: