Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell integration is not working for zsh #22844

Closed
karrtikr opened this issue Feb 3, 2024 · 6 comments
Closed

Shell integration is not working for zsh #22844

karrtikr opened this issue Feb 3, 2024 · 6 comments
Assignees
Labels
experimenting Feature is part of an experiment triage-needed Needs assignment to the proper sub-team

Comments

@karrtikr
Copy link

karrtikr commented Feb 3, 2024

          2024-02-02 09:09:29.686 [info] Shell integration is not working for zsh

2024-02-02 09:09:29.686 [warning] Shell integration is not active, environment activated maybe overriden by the shell.

Im getting this info and warning, which maybe relevant. Shell integration is active, and previously worked fine

Originally posted by @rhizodigital in #22822 (comment)

@karrtikr karrtikr self-assigned this Feb 3, 2024
@karrtikr karrtikr added the triage-needed Needs assignment to the proper sub-team label Feb 3, 2024
@karrtikr
Copy link
Author

karrtikr commented Feb 3, 2024

@rhizodigital
Please provide the debug logs which can help diagnose the issue:

  • Run Developer: Set log level command
  • Select Trace
  • Run Developer: Reload Window command
  • Provide the output:
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

@karrtikr karrtikr added info-needed Issue requires more information from poster experimenting Feature is part of an experiment labels Feb 3, 2024
@rhizodigital
Copy link

rhizodigital commented Feb 3, 2024

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

2024-02-02 17:09:32.047 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-02 17:09:32.047 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-02 17:09:32.047 [info] Experiment 'pythonSurveyNotification' is active
2024-02-02 17:09:32.047 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-02 17:09:32.047 [info] Experiment 'pythonTestAdapter' is active
2024-02-02 17:09:32.047 [info] Default formatter is set to ms-python.black-formatter for workspace /Users/myusername/Sites/django-project
2024-02-02 17:09:32.047 [info] Test server listening.
2024-02-02 17:09:32.047 [info] Python interpreter path: ./.venv/bin/python
2024-02-02 17:09:32.075 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-02-02 17:09:35.735 [info] Starting Pylance language server.
2024-02-02 17:10:09.061 [info] Discover tests for workspace name: django-project - uri: /Users/myusername/Sites/django-project/.vscode/settings.json
2024-02-02 17:10:45.821 [info] Discover tests for workspace name: django-project - uri: /Users/myusername/Sites/django-project
2024-02-02 17:10:45.861 [info] > ./.venv/bin/python -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:02.403 [info] > conda info --json
2024-02-02 17:11:02.409 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-02 17:11:02.413 [info] > ~/.pyenv/versions/3.12.0/bin/python -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:02.415 [info] Found: /opt/homebrew/opt/[email protected]/libexec/bin/python --> /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-02 17:11:02.419 [info] Found: /opt/homebrew/bin/python3 --> /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-02 17:11:02.419 [info] Found: /opt/homebrew/bin/python3.11 --> /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-02 17:11:02.425 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:02.499 [info] > /opt/homebrew/opt/[email protected]/libexec/bin/python -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:02.521 [info] > /opt/homebrew/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:15.526 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-02 17:11:15.527 [info] shell: bash
2024-02-02 17:11:50.982 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-02 17:11:58.437 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-02 17:13:21.510 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-02 17:16:22.305 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-02 17:16:23.266 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-03 09:57:34.418 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-03 09:57:34.418 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-03 09:57:34.418 [info] Experiment 'pythonSurveyNotification' is active
2024-02-03 09:57:34.418 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-03 09:57:34.418 [info] Experiment 'pythonTestAdapter' is active
2024-02-03 09:57:34.418 [debug] Getting roots
2024-02-03 09:57:34.418 [debug] Getting roots
2024-02-03 09:57:34.418 [debug] Found roots
2024-02-03 09:57:34.418 [debug] Start watching file for changes /Users/myusername/.conda/environments.txt
2024-02-03 09:57:34.418 [debug] Start watching: /Users/myusername/.conda with pattern environments.txt using VSCode API
2024-02-03 09:57:34.418 [debug] Found roots
2024-02-03 09:57:34.418 [debug] Start watching root /Users/myusername/Sites/django-project for globs ["python","*/python","*/bin/python"]
2024-02-03 09:57:34.418 [debug] Start watching: /Users/myusername/Sites/django-project with pattern python using VSCode API
2024-02-03 09:57:34.418 [debug] Start watching: /Users/myusername/Sites/django-project with pattern */python using VSCode API
2024-02-03 09:57:34.418 [debug] Start watching: /Users/myusername/Sites/django-project with pattern */bin/python using VSCode API
2024-02-03 09:57:34.418 [info] Default formatter is set to ms-python.black-formatter for workspace /Users/myusername/Sites/django-project
2024-02-03 09:57:34.418 [debug] Waiting for test server to start...
2024-02-03 09:57:34.420 [debug] Needed to validate /Users/myusername/Sites/django-project/.venv/bin/python with latest info
2024-02-03 09:57:34.421 [debug] Needed to validate /usr/bin/python3 with latest info
2024-02-03 09:57:34.422 [debug] Needed to validate /opt/homebrew/opt/[email protected]/libexec/bin/python with latest info
2024-02-03 09:57:34.422 [debug] Needed to validate /opt/homebrew/bin/python3 with latest info
2024-02-03 09:57:34.422 [debug] Needed to validate /Users/myusername/.pyenv/versions/3.12.0/bin/python with latest info
2024-02-03 09:57:34.422 [debug] Needed to validate /Users/myusername/Sites/django-project/.venv/bin/python with latest info
2024-02-03 09:57:34.423 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.542 [debug] Needed to validate /Users/myusername/Sites/django-project/.venv/bin/python with latest info
2024-02-03 09:57:34.542 [info] Python interpreter path: ./.venv/bin/python
2024-02-03 09:57:34.542 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.543 [info] Test server listening.
2024-02-03 09:57:34.543 [debug] Test server started.
2024-02-03 09:57:34.543 [debug] Testing: Setting up watcher for /Users/myusername/Sites/django-project
2024-02-03 09:57:34.553 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.553 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.554 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.555 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.555 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.555 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.695 [info] Send text to terminal: echo /bin/zsh
2024-02-03 09:57:34.695 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.695 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.716 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-03 09:57:34.717 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-03 09:57:34.717 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-03 09:57:34.718 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.718 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-03 09:57:34.719 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-03 09:57:34.719 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-03 09:57:34.721 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.721 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.722 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/myusername/Sites/django-project/.venv/bin/python","id":"/Users/myusername/Sites/django-project/.venv/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/myusername/Sites/django-project/.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/Users/myusername/Sites/django-project/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"/Users/myusername/Sites/django-project","external":"file:///Users/myusername/Sites/django-project","path":"/Users/myusername/Sites/django-project","scheme":"file"},"name":"django-project","index":0}},"version":{"major":3,"minor":11,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.11.6 (main, Oct  2 2023, 13:45:54) [Clang 15.0.0 (clang-1500.0.40.1)]"},"tools":["Venv"]},"id":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.723 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9"},"version":{"major":3,"minor":9,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.9.6 (default, Dec  7 2023, 05:42:47) \n[Clang 15.0.0 (clang-1500.1.0.2.5)]"},"tools":[]},"id":"/usr/bin/python3"}
2024-02-03 09:57:34.724 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/opt/homebrew/opt/[email protected]/libexec/bin/python","id":"/opt/homebrew/opt/[email protected]/libexec/bin/python","executable":{"uri":{"$mid":1,"path":"/opt/homebrew/opt/[email protected]/libexec/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11"},"version":{"major":3,"minor":11,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.11.6 (main, Oct  2 2023, 13:45:54) [Clang 15.0.0 (clang-1500.0.40.1)]"},"tools":[]},"id":"/opt/homebrew/opt/[email protected]/libexec/bin/python"}
2024-02-03 09:57:34.725 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/opt/homebrew/bin/python3","id":"/opt/homebrew/bin/python3","executable":{"uri":{"$mid":1,"path":"/opt/homebrew/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11"},"version":{"major":3,"minor":11,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.11.6 (main, Oct  2 2023, 13:45:54) [Clang 15.0.0 (clang-1500.0.40.1)]"},"tools":[]},"id":"/opt/homebrew/bin/python3"}
2024-02-03 09:57:34.726 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/myusername/.pyenv/versions/3.12.0/bin/python","id":"/Users/myusername/.pyenv/versions/3.12.0/bin/python","executable":{"uri":{"$mid":1,"path":"/Users/myusername/.pyenv/versions/3.12.0/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/myusername/.pyenv/versions/3.12.0"},"version":{"major":3,"minor":12,"micro":0,"release":{"level":"final","serial":0},"sysVersion":"3.12.0 (main, Oct  5 2023, 23:21:56) [Clang 15.0.0 (clang-1500.0.40.1)]"},"tools":["Pyenv"]},"id":"/Users/myusername/.pyenv/versions/3.12.0/bin/python"}
2024-02-03 09:57:34.727 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.728 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.729 [debug] Extension ms-toolsai.jupyter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.738 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.739 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.742 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/myusername/Sites/django-project/.venv/bin/python","id":"/Users/myusername/Sites/django-project/.venv/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/myusername/Sites/django-project/.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/Users/myusername/Sites/django-project/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"/Users/myusername/Sites/django-project","external":"file:///Users/myusername/Sites/django-project","path":"/Users/myusername/Sites/django-project","scheme":"file"},"name":"django-project","index":0}},"version":{"major":3,"minor":11,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.11.6 (main, Oct  2 2023, 13:45:54) [Clang 15.0.0 (clang-1500.0.40.1)]"},"tools":["Venv"]},"id":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.777 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-03 09:57:34.784 [debug] Extension ms-python.black-formatter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.785 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.785 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.786 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.786 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.787 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.787 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.788 [debug] Extension ms-python.isort accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.788 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.789 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.789 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.790 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.790 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.824 [debug] Searching for conda.
2024-02-03 09:57:34.836 [debug] Probing conda binary: conda
2024-02-03 09:57:34.841 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.843 [debug] Dump environment variables {
    "BUN_INSTALL": "/Users/myusername/.bun",
    "COMMAND_MODE": "unix2003",
    "HOME": "/Users/myusername",
    "HOMEBREW_CELLAR": "/opt/homebrew/Cellar",
    "HOMEBREW_PREFIX": "/opt/homebrew",
    "HOMEBREW_REPOSITORY": "/opt/homebrew",
    "INFOPATH": "/opt/homebrew/share/info:",
    "LESS": "-R",
    "LOGNAME": "myusername",
    "LSCOLORS": "Gxfxcxdxbxegedabagacad",
    "LS_COLORS": "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43",
    "MANPATH": "/Users/myusername/.nvm/versions/node/v18.17.1/share/man:/opt/homebrew/share/man::",
    "MallocNanoZone": "0",
    "NVM_BIN": "/Users/myusername/.nvm/versions/node/v18.17.1/bin",
    "NVM_CD_FLAGS": "-q",
    "NVM_DIR": "/Users/myusername/.nvm",
    "NVM_INC": "/Users/myusername/.nvm/versions/node/v18.17.1/include/node",
    "OLDPWD": "/",
    "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
    "P9K_SSH": "0",
    "PAGER": "less",
    "PWD": "/",
    "PYENV_ROOT": "/Users/myusername/.pyenv",
    "PYENV_SHELL": "zsh",
    "SHELL": "/bin/zsh",
    "SHLVL": "0",
    "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.cB7InqFknf/Listeners",
    "TMPDIR": "/var/folders/9x/lyg69c8j2952hgf95fj2tz1h0000gn/T/",
    "USER": "myusername",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_CODE_CACHE_PATH": "/Users/myusername/Library/Application Support/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937",
    "VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
    "VSCODE_CWD": "/",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_IPC_HOOK": "/Users/myusername/Library/Application Support/Code/1.86-main.sock",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en-gb\",\"osLocale\":\"en-gb\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
    "VSCODE_PID": "61801",
    "XPC_FLAGS": "0x0",
    "XPC_SERVICE_NAME": "application.com.microsoft.VSCode.85822493.85822499",
    "ZSH": "/Users/myusername/.oh-my-zsh",
    "_": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron",
    "__CFBundleIdentifier": "com.microsoft.VSCode",
    "__CF_USER_TEXT_ENCODING": "0x1F5:0:2",
    "ELECTRON_RUN_AS_NODE": "1",
    "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
    "PATH": "/Users/myusername/.pyenv/shims:/Users/myusername/.nvm/versions/node/v18.17.1/bin:/Users/myusername/.bun/bin:/Users/myusername/.local/bin:/opt/homebrew/opt/[email protected]/libexec/bin:/Users/myusername/bin:/usr/local/bin:/Users/myusername/.nvm/versions/node/v18.17.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/VMware Fusion.app/Contents/Public:/Users/myusername/.cargo/bin"
}
2024-02-03 09:57:34.845 [info] > conda info --json
2024-02-03 09:57:34.845 [debug] Worker id 1 for file plainExec.worker.js with data {"file":"conda","args":["info","--json"],"options":{"timeout":45000,"useWorker":true}}
2024-02-03 09:57:34.903 [debug] Activation Commands received source /Users/myusername/Sites/django-project/.venv/bin/activate for shell bash, resource /Users/myusername/Sites/django-project and interpreter /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.903 [debug] Activating Environment to capture Environment variables, . /Users/myusername/Sites/django-project/.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /Users/myusername/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-03 09:57:34.903 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-03 09:57:34.903 [info] shell: bash
2024-02-03 09:57:34.904 [debug] Failed to spawn conda binary conda Error: spawn conda ENOENT
    at Process.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-02-03 09:57:34.971 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.972 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-03 09:57:35.602 [debug] Couldn't locate the conda binary.
2024-02-03 09:57:36.111 [debug] Clearing context for python dependencies not installed: /Users/myusername/Sites/django-project/templates/components/icons/admin/facebook.svg
2024-02-03 09:57:36.548 [info] Starting Pylance language server.
2024-02-03 09:57:36.551 [debug] Clearing context for python dependencies not installed: /Users/myusername/Sites/django-project/templates/components/icons/admin/facebook.svg
2024-02-03 09:57:36.561 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:36.562 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:37.065 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:37.065 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:37.065 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:37.066 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:37.067 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-03 09:57:37.310 [debug] Clearing context for python dependencies not installed: /Users/myusername/Sites/django-project/templates/components/icons/admin/facebook.svg
2024-02-03 09:57:37.695 [info] Shell integration is not working for zsh
2024-02-03 09:57:37.696 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-02-03 09:57:37.696 [debug] Activating environments in terminal is disabled for /Users/myusername/Sites/django-project
2024-02-03 09:57:37.696 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:40.382 [debug] Terminal shell path '/bin/zsh' identified as shell 'zsh'
2024-02-03 09:57:40.383 [debug] Shell identified as zsh 
2024-02-03 09:57:40.384 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:52.695 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-03 09:57:52.695 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:52.695 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:58:19.909 [debug] Worker id 1 exited with code 0

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Feb 3, 2024
@karrtikr
Copy link
Author

karrtikr commented Feb 5, 2024

You are likely running into this issue: microsoft/vscode#199611, more details on #22774 (comment), please stay tuned for the pre-release in a day or two which should make that warning go away.

@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2024
@JoelFeiner-viimed
Copy link

You are likely running into this issue: microsoft/vscode#199611, more details on #22774 (comment), please stay tuned for the pre-release in a day or two which should make that warning go away.

I'm using the pre-release and I am still having this issue. I'm using zsh.

@karrtikr
Copy link
Author

karrtikr commented Feb 8, 2024

Can you please create a new issue using Python: Report Issue command ? We'll be happy to have a look, make sure to provide the logs.

@JoelFeiner-viimed
Copy link

Can you please create a new issue using Python: Report Issue command ? We'll be happy to have a look, make sure to provide the logs.

#22881 with all the logs and the screenshot.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
experimenting Feature is part of an experiment triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants