forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as not planned
Closed as not planned
Copy link
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
When starting vscode in a python project, the Python extension raises following error and stays in loading state. Previously it was working fine but today I just noticed this problem.
[error] Unable to check if shell integration is active [Error: Extension 'ms-python.python' CANNOT use API proposal: terminalDataWriteEvent.
Its package.json#enabledApiProposals-property declares: quickPickSortByLabel, testObserver but NOT terminalDataWriteEvent.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-python.python
at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:141:57957)
at a.onDidWriteTerminalData (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:163:32414)
at new m (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:816931)
at t.resolveInstance (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1668732)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1670640
at Array.map (<anonymous>)
at t.resolveInstance (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1668506)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1670640
at t.resolve (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1670903)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1654466
at e._get (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1654232)
at e.get (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1652944)
at e.dynamicValue (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1676008)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1670129
at c (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1669175)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1670069
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1669588
at Array.map (<anonymous>)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1669560
at Array.map (<anonymous>)
at t.resolveInstance (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1668506)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1670640
at t.resolve (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1670903)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1654466
at e._get (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1654232)
at e.get (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:1652944)
at a.get (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:477070)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:397424
at async t.activateComponents (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:395711)
at async /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:2588580
at async e (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:2588112)
at async a.n (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:143:6361)
at async a.m (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:143:6324)
at async a.l (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:143:5781)]
2024-08-28 05:53:09.398 [error] extension activation failed [Error: Extension 'ms-python.python' CANNOT use API proposal: terminalShellIntegration.
Its package.json#enabledApiProposals-property declares: quickPickSortByLabel, testObserver but NOT terminalShellIntegration.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-python.python
at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:141:57957)
at Object.onDidStartTerminalShellExecution (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:163:32827)
at t.onDidStartTerminalShellExecution (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:338602)
at t.registerTriggerForPipInTerminal (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:662828)
at t.registerAllCreateEnvironmentFeatures (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:697793)
at t.activateFeatures (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:397935)
at /home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:2588639
at async e (/home/milad/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/out/client/extension.js:2:2588112)
at async a.n (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:143:6361)
at async a.m (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:143:6324)
at async a.l (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:143:5781)]
2024-08-28 05:53:09.398 [info] VS Code was launched from an activated environment: 'vira', selecting it as the interpreter for workspace.
2024-08-28 05:53:09.918 [info] > pyenv which python
2024-08-28 05:53:09.918 [info] cwd: .
2024-08-28 05:53:09.947 [info] > ~/virtualEnvironments/vira/bin/python -I ~/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/python_files/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2024.12.3-linux-x64/python_files/interpreterInfo.py
2024-08-28 05:53:12.631 [info] Starting Jedi language server for finder.
2024-08-28 05:53:20.778 [info] Python interpreter path: ~/virtualEnvironments/vira/bin/python
Extension version: 2024.12.3
VS Code version: Code - OSS 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-07T07:53:34.265Z)
OS version: Linux x64 6.1.94-1-MANJARO
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 x 2500) |
| 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_graphite: disabled_off video_decode: enabled video_encode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
| Load (avg) | 1, 2, 2 |
| Memory (System) | 15.54GB (8.10GB free) |
| Process Argv | . |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | plasmawayland |
| XDG_CURRENT_DESKTOP | KDE |
| XDG_SESSION_DESKTOP | KDE |
| XDG_SESSION_TYPE | wayland |
fschrempf
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team