-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Having pygls.protocol.json_rpc ValueError after updating to 2025.6.0 from 2025.4.0 #25060
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
Comments
Encountered the same problem on remote ssh. |
@mondwan You are using Python3.8 which is deprecated. You need to pin the extension to older version for Python 3.8 support. |
@karthiknadig Before raising this ticket, I had considered that the issue might be version-related. However, since there was no version information included in the release log, I wasn't able to confirm this on my own. That’s why I proceeded to raise the ticket for clarification. As a suggestion, it might be helpful to include version changes in future release logs to make it easier for others to identify such issues proactively. Thanks again |
I am using Python 3.12, after update the extension to 2025.6.0, I also encounter the same issue. I had to change the python language server to Pylance for now. Upgrading Jedi is not working. Hovering on any variable or methods just shows "loading...". logs: 2025-06-02 17:04:13.207 [info] WARNING:pygls.protocol.json_rpc:Cancel notification for unknown message id "2"
2025-06-02 17:04:13.243 [info] WARNING:pygls.protocol.json_rpc:Cancel notification for unknown message id "3"
2025-06-02 17:04:13.389 [info] semantic_tokens_full file:///Users/zerry/Work/Libs/ctc-forced-aligner/ctc_forced_aligner/align.py
2025-06-02 17:04:13.397 [info] semantic_tokens_range file:///Users/zerry/Work/Libs/ctc-forced-aligner/ctc_forced_aligner/align.py 101:0-264:0
2025-06-02 17:04:13.500 [info] ERROR:pygls.protocol.json_rpc:Exception occurred for message "6": _pickle.UnpicklingError: unpickling stack underflow
NoneType: None
2025-06-02 17:04:13.500 [info] [Error - 5:04:13 PM] Request textDocument/semanticTokens/full failed.
2025-06-02 17:04:13.500 [info] Message: _pickle.UnpicklingError: unpickling stack underflow
Code: -32603
[object Object] |
Type: Bug
Behaviour
Once updated the python extension from 2025.4.0 to 2025.6.0, the vscode python extension starts behaved strange.
Before the updates, there will be a tooltip for the documentation on whatever varaible, modules I highlighted. After the updates, it stopped working after a while.
It worked fine if I rollback to 2025.4.0. Is it because I am still using python3.8 instead?
Steps to reproduce:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2025.6.0
VS Code version: Code 1.100.0 (19e0f9e681ecb8e5c09d8784acaa601316ca4571, 2025-05-07T12:48:53.763Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.4.0-200-generic
python.languageServer
setting: JediUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
The text was updated successfully, but these errors were encountered: