forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster
Description
Type: Bug
Since recently, Jedi server fails to start. Output shows this exception:
Traceback (most recent call last):
File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/run-jedi-language-server.py", line 9, in <module>
from jedi_language_server.cli import cli
File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/jedi_language_server/cli.py", line 7, in <module>
from .server import SERVER
File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/jedi_language_server/server.py", line 14, in <module>
from pydantic import ValidationError
File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/pydantic/__init__.py", line 2, in <module>
from . import dataclasses
File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/pydantic/dataclasses.py", line 52, in <module>
from typing_extensions import dataclass_transform
File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/typing_extensions.py", line 193, in <module>
class _FinalForm(typing._SpecialForm, _root=True):
AttributeError: module 'typing' has no attribute '_SpecialForm'
[Info - 7:47:21] Connection to server got closed. Server will restart.
[Error - 7:47:21] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 7:47:21] Python Jedi client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
No configuration changed recently on my side AFAIK... 🤔
Extension version: 2022.20.2
VSCodium version: VSCodium 1.74.3 (f8b9aeda40058455453f1298fd606caf6ff8d675, 2023-01-10T19:39:41.226Z)
OS version: Linux x64 6.1.5-200.fc37.x86_64
Modes:
Sandboxed: No
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 5700U with Radeon Graphics (16 x 4290) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off 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_renderer: enabled_on video_decode: disabled_software video_encode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | 1, 1, 1 |
Memory (System) | 15.01GB (8.67GB free) |
Process Argv | --unity-launch |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | gnome |
XDG_CURRENT_DESKTOP | GNOME |
XDG_SESSION_DESKTOP | gnome |
XDG_SESSION_TYPE | wayland |
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster