-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Type: Bug
Behaviour
Ubuntu 22.04.1
VS Code:
Version: 1.88.0
Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
Date: 2024-04-03T13:25:57.039Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Linux x64 6.5.0-26-generic snap
Any time I open a new terminal within VS Code I receive:
((.venv) ) ubuntu@system$
Expected:
(.venv) ubuntu@system$
:or just:
ubuntu@system$
Steps to reproduce:
open new terminal session with ctrl `, or with the + in the Terminal panel header within an existing terminal session
to deactivate the venv:
source deactivate
which returns:
((.venv) ) ubuntu@system:$ source deactivate$
grep: /usr/bin/envVars.txt: No such file or directory
grep: /usr/bin/envVars.txt: No such file or directory
grep: /usr/bin/envVars.txt: No such file or directory
ubuntu@tid:
Getting back into venv creates the venv correctly:
ubuntu@system:~$ source .venv/bin/activate
(.venv) ubuntu@system:$
Diagnostic data
blank Python output panel is blank on all terminal start/deactivate/source commands
n/a
VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:25:57.039Z)
OS version: Linux x64 6.5.0-26-generic snap
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.10.12
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Pylance"
testing
• pytestArgs: "<placeholder>"
• pytestEnabled: true
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| Docker | ms-azuretools.vscode-docker | 1.29.0 |
| Edit csv | janisdd.vscode-edit-csv | 0.9.1 |
| Flake8 | ms-python.flake8 | 2023.10.0 |
| JavaScript Debugger | ms-vscode.js-debug | 1.88.0 |
| JavaScript Debugger Companion Extension | ms-vscode.js-debug-companion | 1.1.2 |
| JMESPath for VSCode | joshwong.vscode-jmespath | 0.0.6 |
| Markdown Preview Enhanced | shd101wyy.markdown-preview-enhanced | 0.8.13 |
| markdownlint | DavidAnson.vscode-markdownlint | 0.54.0 |
| OpenAPI (Swagger) Editor | 42Crunch.vscode-openapi | 4.25.1 |
| Pylance | ms-python.vscode-pylance | 2024.4.1 |
| Python | ms-python.python | 2024.4.0 |
| Python Debugger | ms-python.debugpy | 2024.4.0 |
| Table Visualizer for JavaScript Profiles | ms-vscode.vscode-js-profile-table | 1.0.8 |
| Transform with JMESPath | Thoroughcity.json-transform-vscode | 1.0.6 |
| YAML | redhat.vscode-yaml | 1.14.0 |
System Info
| Item | Value |
|---|---|
| CPUs | 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 1804) |
| GPU Status | 2d_canvas: unavailable_software canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: disabled_software multiple_raster_threads: enabled_on opengl: disabled_off rasterization: disabled_software raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: disabled_software video_encode: disabled_software vulkan: disabled_off webgl: unavailable_software webgl2: unavailable_software webgpu: disabled_off |
| Load (avg) | 0, 0, 0 |
| Memory (System) | 15.57GB (8.74GB free) |
| Process Argv | --no-sandbox --force-user-env --unity-launch --crash-reporter-id 5905ff75-e1b0-4bfd-85cd-f02f19938995 |
| Screen Reader | no |
| VM | 40% |
| DESKTOP_SESSION | ubuntu |
| XDG_CURRENT_DESKTOP | Unity |
| XDG_SESSION_DESKTOP | ubuntu |
| XDG_SESSION_TYPE | wayland |
Extensions (12)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-openapi | 42C | 4.25.1 |
| vscode-markdownlint | Dav | 0.54.0 |
| vscode-edit-csv | jan | 0.9.1 |
| vscode-jmespath | jos | 0.0.6 |
| vscode-docker | ms- | 1.29.0 |
| debugpy | ms- | 2024.4.0 |
| flake8 | ms- | 2023.10.0 |
| python | ms- | 2024.4.0 |
| vscode-pylance | ms- | 2024.4.1 |
| vscode-yaml | red | 1.14.0 |
| markdown-preview-enhanced | shd | 0.8.13 |
| json-transform-vscode | Tho | 1.0.6 |
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
dsvsc021:30996838
gd77d436:30999572