-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtriage-needed
Description
VS Code installed from Microsoft repo. Fedora 43. Python 3.14. Mypy v2025.2.0
code.x86_64 1.109.5-1771531703.el8 code
2026-02-23 10:43:49.399 [info] [Error - 10:43:49 AM] Server initialization failed.
2026-02-23 10:43:49.399 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2026-02-23 10:43:49.399 [info] [Info - 10:43:49 AM] Connection to server got closed. Server will restart.
2026-02-23 10:43:49.399 [info] true
2026-02-23 10:43:49.399 [info] [Error - 10:43:49 AM] Mypy Type Checker client: couldn't create connection to server.
2026-02-23 10:43:49.399 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2026-02-23 10:43:49.399 [info] [Error - 10:43:49 AM] Restarting server failed
2026-02-23 10:43:49.399 [info] Message: Pending response rejected since connection got disposed
Code: -32097
2026-02-23 10:43:49.732 [info] Traceback (most recent call last):
2026-02-23 10:43:49.732 [info] File "/home/cpn/.vscode/extensions/ms-python.mypy-type-checker-2025.2.0/bundled/tool/lsp_server.py", line 76, in <module>
LSP_SERVER = server.LanguageServer(
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pygls.server' has no attribute 'LanguageServer'
Virtual environment
(.venv) cpn@d3:~/Documents/Projetos$ python -m pip list | grep -E "(pygls|mypy)"
mypy 1.19.1
mypy_extensions 1.1.0
pygls 2.0.1
I tried with both useBundled and fromEnvironment options in mypy-type-checker.importStrategy
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtriage-needed