Repository navigation
Virtual environment not activated in new terminal for Zsh #22881
Copy link
Copy link
Closed as not planned
Labels
area-terminalbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugexperimentingFeature is part of an experimentFeature is part of an experimentneeds PRReady to be worked onReady to be worked onregressionBug didn't exist in a previous releaseBug didn't exist in a previous releasetriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behaviour
Expected vs. Actual
Terminal should run .../bin/activate as first command when opened, but no longer does and virtual environment is not actually active in terminal.
Steps to reproduce:
- Open workspace where virtualenv/pipenv is to be used.
- Open new terminal.
- Terminal automatically runs .../bin/activate command for environment (this no longer happens)
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.11.4
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): PipEnv
- Value of the
python.languageServersetting: Default
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
2024-02-08 11:27:51.655 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 11:27:51.655 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:27:51.655 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:02.455 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:02.465 [debug] Clearing context for python dependencies not installed: <redacted>
2024-02-08 11:28:02.466 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:04.061 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 11:28:04.062 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:11.072 [debug] Clearing context for python dependencies not installed: <redacted>
2024-02-08 11:28:11.072 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.424 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonTestAdapter' is active
2024-02-08 11:28:23.424 [debug] Getting roots
2024-02-08 11:28:23.424 [debug] Getting roots
2024-02-08 11:28:23.424 [debug] Getting roots
2024-02-08 11:28:23.424 [debug] Found roots
2024-02-08 11:28:23.424 [debug] Start watching file for changes /home/joel/.conda/environments.txt
2024-02-08 11:28:23.424 [debug] Start watching: /home/joel/.conda with pattern environments.txt using VSCode API
2024-02-08 11:28:23.424 [debug] Found roots
2024-02-08 11:28:23.424 [debug] Start watching root <redacted> for globs ["python","*/python","*/bin/python"]
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern python using VSCode API
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern */python using VSCode API
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern */bin/python using VSCode API
2024-02-08 11:28:23.424 [debug] Found roots
2024-02-08 11:28:23.424 [debug] Start watching root <redacted> for globs ["python","*/python","*/bin/python"]
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern python using VSCode API
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern */python using VSCode API
2024-02-08 11:28:23.424 [debug] Start watching:<redacted> with pattern */bin/python using VSCode API
2024-02-08 11:28:23.505 [info] Default formatter is set to null for workspace <redacted>
2024-02-08 11:28:23.505 [info] Default formatter is set to null for workspace <redacted>
2024-02-08 11:28:23.511 [debug] Waiting for test server to start...
2024-02-08 11:28:23.517 [info] Test server listening.
2024-02-08 11:28:23.517 [debug] Test server started.
2024-02-08 11:28:23.517 [debug] Testing: Setting up watcher for <redacted>
2024-02-08 11:28:23.517 [debug] Testing: Setting up watcher for <redacted>
2024-02-08 11:28:23.519 [debug] Needed to validate /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python with latest info
2024-02-08 11:28:23.519 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.520 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.532 [debug] Needed to validate /bin/python3 with latest info
2024-02-08 11:28:23.541 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.541 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.815 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-08 11:28:23.816 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-08 11:28:24.555 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-02-08 11:28:24.555 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.566 [debug] Dump environment variables {
"CHROME_DESKTOP": "code-url-handler.desktop",
"DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
"DESKTOP_SESSION": "ubuntu",
"DISPLAY": ":0",
"GDK_BACKEND": "wayland",
"GDMSESSION": "ubuntu",
"GIO_LAUNCHED_DESKTOP_FILE": "/home/joel/.local/share/applications/code.desktop",
"GIO_LAUNCHED_DESKTOP_FILE_PID": "130373",
"GJS_DEBUG_OUTPUT": "stderr",
"GJS_DEBUG_TOPICS": "JS ERROR;JS LOG",
"GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
"GNOME_SETUP_DISPLAY": ":1",
"GNOME_SHELL_SESSION_MODE": "ubuntu",
"GTK_MODULES": "gail:atk-bridge",
"HOME": "/home/joel",
"INVOCATION_ID": "177034eca7944e68992ae8c8b4252a24",
"JOURNAL_STREAM": "8:43484",
"LANG": "en_US.UTF-8",
"LANGUAGE": "en",
"LC_ADDRESS": "en_US.UTF-8",
"LC_IDENTIFICATION": "en_US.UTF-8",
"LC_MEASUREMENT": "en_US.UTF-8",
"LC_MONETARY": "en_US.UTF-8",
"LC_NAME": "en_US.UTF-8",
"LC_NUMERIC": "en_US.UTF-8",
"LC_PAPER": "en_US.UTF-8",
"LC_TELEPHONE": "en_US.UTF-8",
"LC_TIME": "en_US.UTF-8",
"LESS": "-R -FRXK",
"LOGNAME": "joel",
"LSCOLORS": "Gxfxcxdxbxegedabagacad",
"MANAGERPID": "3232",
"NVM_BIN": "/home/joel/.nvm/versions/node/v16.20.0/bin",
"NVM_CD_FLAGS": "-q",
"NVM_DIR": "/home/joel/.nvm",
"NVM_INC": "/home/joel/.nvm/versions/node/v16.20.0/include/node",
"OLDPWD": "/home/joel",
"ORIGINAL_XDG_CURRENT_DESKTOP": "ubuntu:GNOME",
"P9K_SSH": "0",
"PAGER": "less",
"PAPERSIZE": "letter",
"PWD": "/home/joel",
"PYENV_ROOT": "/home/joel/.pyenv",
"PYENV_SHELL": "zsh",
"QT_ACCESSIBILITY": "1",
"QT_IM_MODULE": "ibus",
"SESSION_MANAGER": "<redacted>",
"SHELL": "/bin/zsh",
"SHLVL": "0",
"SSH_AGENT_LAUNCHER": "openssh",
"SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
"SYSTEMD_EXEC_PID": "3473",
"USER": "joel",
"USERNAME": "joel",
"VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
"VSCODE_CODE_CACHE_PATH": "/home/joel/.config/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937",
"VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
"VSCODE_CWD": "/home/joel",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_IPC_HOOK": "/run/user/1000/vscode-8635d590-1.86-main.sock",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"osLocale\":\"en\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
"VSCODE_PID": "130373",
"WAYLAND_DISPLAY": "wayland-0",
"XAUTHORITY": "/run/user/1000/.mutter-Xwaylandauth.K02QI2",
"XDG_ACTIVATION_TOKEN": "<redacted>",
"XDG_CURRENT_DESKTOP": "Unity",
"XDG_DATA_DIRS": "/usr/local/share/:/usr/share/:/var/lib/snapd/desktop",
"XDG_MENU_PREFIX": "gnome-",
"XDG_RUNTIME_DIR": "/run/user/1000",
"XDG_SESSION_CLASS": "user",
"XDG_SESSION_DESKTOP": "ubuntu",
"XDG_SESSION_TYPE": "wayland",
"XMODIFIERS": "@im=ibus",
"ZSH": "/home/joel/.oh-my-zsh",
"_": "/usr/share/code/code",
"ELECTRON_RUN_AS_NODE": "1",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
"PATH": "/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin"
}
2024-02-08 11:28:24.602 [debug] Delay Trigger[Test Configuration Change]: triggered=4, called=1
2024-02-08 11:28:24.616 [debug] Activation Commands received source /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/activate for shell /usr/bin/zsh, resource /home/joel/viimed/sites/reporting/edge and interpreter /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.616 [debug] Activating Environment to capture Environment variables, . /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/joel/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/printEnvVariables.py
2024-02-08 11:28:24.616 [info] > . ~/.local/share/virtualenvs/edge-K9fIdVPi/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/printEnvVariables.py
2024-02-08 11:28:24.616 [info] shell: zsh
2024-02-08 11:28:24.644 [debug] Activated environment variables for /home/joel/viimed/sites/reporting/edge {
CHROME_DESKTOP: 'code-url-handler.desktop',
DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus',
DESKTOP_SESSION: 'ubuntu',
DISPLAY: ':0',
GDK_BACKEND: 'wayland',
GDMSESSION: 'ubuntu',
GIO_LAUNCHED_DESKTOP_FILE: '/home/joel/.local/share/applications/code.desktop',
GIO_LAUNCHED_DESKTOP_FILE_PID: '130373',
GJS_DEBUG_OUTPUT: 'stderr',
GJS_DEBUG_TOPICS: 'JS ERROR;JS LOG',
GNOME_DESKTOP_SESSION_ID: 'this-is-deprecated',
GNOME_SETUP_DISPLAY: ':1',
GNOME_SHELL_SESSION_MODE: 'ubuntu',
GTK_MODULES: 'gail:atk-bridge',
HOME: '/home/joel',
INVOCATION_ID: '177034eca7944e68992ae8c8b4252a24',
JOURNAL_STREAM: '8:43484',
LANG: 'en_US.UTF-8',
LANGUAGE: 'en',
LC_ADDRESS: 'en_US.UTF-8',
LC_IDENTIFICATION: 'en_US.UTF-8',
LC_MEASUREMENT: 'en_US.UTF-8',
LC_MONETARY: 'en_US.UTF-8',
LC_NAME: 'en_US.UTF-8',
LC_NUMERIC: 'en_US.UTF-8',
LC_PAPER: 'en_US.UTF-8',
LC_TELEPHONE: 'en_US.UTF-8',
LC_TIME: 'en_US.UTF-8',
LESS: '-R -FRXK',
LOGNAME: 'joel',
LSCOLORS: 'Gxfxcxdxbxegedabagacad',
MANAGERPID: '3232',
NVM_BIN: '/home/joel/.nvm/versions/node/v16.20.0/bin',
NVM_CD_FLAGS: '-q',
NVM_DIR: '/home/joel/.nvm',
NVM_INC: '/home/joel/.nvm/versions/node/v16.20.0/include/node',
OLDPWD: '/home/joel',
ORIGINAL_XDG_CURRENT_DESKTOP: 'ubuntu:GNOME',
P9K_SSH: '0',
PAGER: 'less',
PAPERSIZE: 'letter',
PWD: '/home/joel',
PYENV_ROOT: '/home/joel/.pyenv',
PYENV_SHELL: 'zsh',
QT_ACCESSIBILITY: '1',
QT_IM_MODULE: 'ibus',
SESSION_MANAGER: '<redacted>',
SHELL: '/bin/zsh',
SHLVL: '0',
SSH_AGENT_LAUNCHER: 'openssh',
SSH_AUTH_SOCK: '/run/user/1000/keyring/ssh',
SYSTEMD_EXEC_PID: '3473',
USER: 'joel',
USERNAME: 'joel',
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
VSCODE_CODE_CACHE_PATH: '/home/joel/.config/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937',
VSCODE_CRASH_REPORTER_PROCESS_TYPE: 'extensionHost',
VSCODE_CWD: '/home/joel',
VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
VSCODE_IPC_HOOK: '/run/user/1000/vscode-8635d590-1.86-main.sock',
VSCODE_NLS_CONFIG: '{"locale":"en-us","osLocale":"en","availableLanguages":{},"_languagePackSupport":true}',
VSCODE_PID: '130373',
WAYLAND_DISPLAY: 'wayland-0',
XAUTHORITY: '/run/user/1000/.mutter-Xwaylandauth.K02QI2',
XDG_ACTIVATION_TOKEN: '<redacted>',
XDG_CURRENT_DESKTOP: 'Unity',
XDG_DATA_DIRS: '/usr/local/share/:/usr/share/:/var/lib/snapd/desktop',
XDG_MENU_PREFIX: 'gnome-',
XDG_RUNTIME_DIR: '/run/user/1000',
XDG_SESSION_CLASS: 'user',
XDG_SESSION_DESKTOP: 'ubuntu',
XDG_SESSION_TYPE: 'wayland',
XMODIFIERS: '@im=ibus',
ZSH: '/home/joel/.oh-my-zsh',
_: '/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python',
ELECTRON_RUN_AS_NODE: '1',
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: '1',
PATH: '/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin:/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin',
PYTHONUNBUFFERED: '1',
PYTHONIOENCODING: 'utf-8',
VIRTUAL_ENV: '/home/joel/.local/share/virtualenvs/edge-K9fIdVPi',
PS1: '(edge) '
}
2024-02-08 11:28:24.650 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/printEnvVariables.py
2024-02-08 11:28:24.650 [info] shell: zsh
2024-02-08 11:28:24.678 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.678 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.679 [debug] Prepending environment variable PATH in collection with /home/joel/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/deactivate/zsh:/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin:
2024-02-08 11:28:24.679 [debug] Setting environment variable VIRTUAL_ENV in collection to /home/joel/.local/share/virtualenvs/edge-K9fIdVPi
2024-02-08 11:28:24.679 [debug] Prepending environment variable PS1 in collection with (edge-K9fIdVPi)
2024-02-08 11:28:24.679 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.679 [debug] PS1 is not set when shell integration is disabled.
2024-02-08 11:28:24.679 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/deactivate/zsh/envVars.txt
2024-02-08 11:28:24.693 [debug] Time taken to get env vars using terminal is 14ms
2024-02-08 11:28:24.741 [info] Starting Pylance language server.
2024-02-08 11:28:24.742 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.767 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.768 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.778 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.779 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.809 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 11:28:24.809 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-08 11:28:24.810 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python"}
2024-02-08 11:28:24.810 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python"}
2024-02-08 11:28:24.811 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 11:28:24.822 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 11:28:24.823 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python"}
2024-02-08 11:28:24.823 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-08 11:28:24.824 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 11:28:24.824 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python"}
2024-02-08 11:28:27.192 [debug] Clearing context for python dependencies not installed: /home/joel/viimed/sites/reporting/edge/bi/management/commands/bi.py
2024-02-08 11:28:29.508 [debug] Terminal shell path '/usr/bin/zsh' identified as shell 'zsh'
2024-02-08 11:28:29.508 [debug] Shell identified as zsh
2024-02-08 11:28:29.508 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:31.664 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 11:28:31.665 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:31.665 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
User Settings
User: ``` "python.venvPath": "~/.pyenv", "python.analysis.autoFormatStrings": true, "python.analysis.autoImportCompletions": true, "python.analysis.logLevel": "Trace", "python.analysis.userFileIndexingLimit": 2500, ```
Workspace:
"python.analysis.exclude": [
...
],
"python.defaultInterpreterPath": "/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python",
"python.envFile": "${workspaceFolder}/edge/.env",
"python.pipenvPath": "/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/pipenv",
"python.terminal.activateEnvInCurrentTerminal": true
Extension version: 2024.1.10391007
VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:27:46.147Z)
OS version: Linux x64 6.5.0-15-generic
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | 12th Gen Intel(R) Core(TM) i7-1265U (12 x 3730) |
| 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, 1, 1 |
| Memory (System) | 31.01GB (20.56GB free) |
| Process Argv | --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --unity-launch --crash-reporter-id 98758e18-3450-461d-b249-7ef8ad9f8b40 |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | ubuntu |
| XDG_CURRENT_DESKTOP | Unity |
| XDG_SESSION_DESKTOP | ubuntu |
| XDG_SESSION_TYPE | wayland |
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30959800
dsvsc019b:30953937
8082a590:30958339
3ef8e399:30949928
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-terminalbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugexperimentingFeature is part of an experimentFeature is part of an experimentneeds PRReady to be worked onReady to be worked onregressionBug didn't exist in a previous releaseBug didn't exist in a previous releasetriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team

Activity
MicaelJarniac commentedon Feb 8, 2024
I'm having the same issue with Zsh and Zsh for Humans. It used to work before, but yesterday I noticed it stopped working. If I switch my terminal to Bash it works again, so I'm guessing this has to do with Zsh or Zsh for Humans.
Logs
Python
Scarfmonster commentedon Feb 9, 2024
[-]Virtual environment not activated in new terminal[/-][+]Virtual environment not activated in new terminal for Zsh[/+]karrtikr commentedon Feb 9, 2024
karrtikr commentedon Feb 9, 2024
JoelFeiner-viimed Micael Jarniac (@MicaelJarniac) Can you try the latest release version of the extension and see if it helps?
A fix was recently merged in yesterday: #22872, and I wonder if that is the cause due to which pre-release is not working.
matt-hires commentedon Feb 9, 2024
Kartik Raj (@karrtikr) It did on my side, virtual environment is now activated automatically in zsh.
karrtikr commentedon Feb 9, 2024
Fantastic, we'll work on publishing a fix right away.
44 remaining items
JoelFeiner-viimed commentedon Feb 13, 2024
Logs attached.
logs.txt
karrtikr commentedon Feb 13, 2024
What about the PATH variable, upon installation of latest stable release.
JoelFeiner-viimed commentedon Feb 13, 2024
Looks the same.
karrtikr commentedon Feb 13, 2024
Thanks, I assume this is from the Zsh terminal in VS Code. It actually seems different than pre-release, it doesn't seem to contain:
which tells me that automatic shell integration actually does not seem to work in your case, even though the screenshot says that it's activated.
JoelFeiner-viimed commentedon Feb 13, 2024
Note that I did that with the release version, not the pre-release. But yes, it does not appear to be working.
karrtikr commentedon Feb 13, 2024
Closing as duplicate of #22899, will make sure to open an issue on VS Code's end once the investigation concludes.
karrtikr commentedon Feb 13, 2024
Opened microsoft/vscode#205133.
JoelFeiner-viimed commentedon Feb 13, 2024
Thank you. I'm following it and will provide info as needed if they request it or if I feel something may be useful. Thanks for working on this so quickly.
DrR0X-glitch commentedon Feb 15, 2024
Just tried out the pre-release and it also appears to fix all issues for my zsh. Thanks for fixing this so quick! Haven't found any other issues with shell extensions and zsh, will report if I do.
Merged PR posit-dev/positron-python#395: Merge upstream: `v2024.2.0`
Merged PR posit-dev/positron-python#395: Merge upstream: `v2024.2.0`