Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

python extension 2025.14.0 fails to work in code server, but 2025.12.0 works

Open
#7,520 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
devtools

Research direction

Start with the logged python_files/run-jedi-language-server.py entry point and trace the bundled jedi and parso imports, especially the missing parso.cache module. Reproduce with Python extension 2025.14.0 in code-server 1.104.3, compare it with 2025.12.0, and confirm that the Jedi server starts without the reported crash.

Written by the indexing model from the issue text.

Description

bug needs-investigation triage

IDE: code server

Version: 1.104.3
Commit: cd40509fbbc684c5e9b566d9cb027f6ee9df36a6
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Embedder: server-distro

log from OUTPUT window:

2025-10-08 09:21:50.483 [info] [Error - 9:21:50 AM] Server initialization failed.
2025-10-08 09:21:50.483 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2025-10-08 09:21:50.483 [info] [Info - 9:21:50 AM] Connection to server got closed. Server will restart.
2025-10-08 09:21:50.483 [info] true
2025-10-08 09:21:50.484 [info] [Error - 9:21:50 AM] Python Jedi client: couldn't create connection to server.
2025-10-08 09:21:50.484 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2025-10-08 09:21:50.484 [info] [Error - 9:21:50 AM] Restarting server failed
2025-10-08 09:21:50.484 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2025-10-08 09:21:50.496 [info] [Error - 9:21:50 AM] Server process exited with code 1.
2025-10-08 09:21:50.711 [info] Traceback (most recent call last):
File "/root/.home/data/home/root/.local/share/code-server/extensions/ms-python.python-2025.14.0-universal/python_files/run-jedi-language-server.py", line 12, in
from jedi_language_server.cli import cli # noqa: E402
File "/root/.home/data/home/root/.local/share/code-server/extensions/ms-python.python-2025.14.0-universal/python_files/lib/jedilsp/jedi_language_server/cli.py", line 8, in
from .server import SERVER
File "/root/.home/data/home/root/.local/share/code-server/extensions/ms-python.python-2025.14.0-universal/python_files/lib/jedilsp/jedi_language_server/server.py", line 13, in
from jedi import Project, Script, version
File "/root/.home/data/home/root/.local/share/code-server/extensions/ms-python.python-2025.14.0-universal/python_files/lib/jedilsp/jedi/init.py", line 32, in
from jedi.api import Script, Interpreter, set_debug_function, preload_module
File "/root/.home/data/home/root/.local/share/code-server/extensions/ms-python.python-2025.14.0-universal/python_files/lib/jedilsp/jedi/api/init.py", line 13, in
import parso
File "/root/.home/data/home/root/.local/share/code-server/extensions/ms-python.python-2025.14.0-universal/python_files/lib/jedilsp/parso/init.py", line 42, in
from parso.grammar import Grammar, load_grammar
File "/root/.home/data/home/root/.local/share/code-server/extensions/ms-python.python-2025.14.0-universal/python_files/lib/jedilsp/parso/grammar.py", line 13, in
from parso.cache import parser_cache, load_module, try_to_save_module
ModuleNotFoundError: No module named 'parso.cache'

2025-10-08 09:21:50.749 [info] [Error - 9:21:50 AM] Server initialization failed.
2025-10-08 09:21:50.749 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2025-10-08 09:21:50.749 [info] [Error - 9:21:50 AM] The Python Jedi server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
2025-10-08 09:21:50.749 [info] [Error - 9:21:50 AM] Python Jedi client: couldn't create connection to server.
2025-10-08 09:21:50.749 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2025-10-08 09:21:50.750 [info] [Error - 9:21:50 AM] Restarting server failed
2025-10-08 09:21:50.750 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2025-10-08 09:21:50.750 [info] [Error - 9:21:50 AM] Server process exited with code 1.

Dominant language
TypeScript
Stars
79.4k
Forks
6.9k
Avg merge
2d 13h
Merged PRs (30d)
39

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/code-server

All issues in coder/code-server

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.