Skip to content

Python-env button disappers when clicked. #752

@WaterMinding

Description

@WaterMinding

What happened

  • In WSL2: Debian, I found that when I click the button of python environments extension, it will disappear.
  • When this happen, it looks like that the extension is still working, but the button disappeared.
  • video

Environments

  • OS: Windows11
  • WSL2 Version: Debian 13
  • vscode version: 1.103.2
  • python extension version: 2025.12.0
  • python environments extension version: 1.2.0

Log

2025-08-22 16:51:47.872 [info] Starting Python Locator /home/Username/.vscode-server/extensions/ms-python.vscode-python-envs-1.2.0-linux-x64/python-env-tools/bin/pet server
2025-08-22 16:51:47.872 [info] Using conda from persistent state: /home/Username/miniforge3/bin/conda
2025-08-22 16:51:47.872 [info] Refreshing conda environments
2025-08-22 16:51:47.872 [info] Extension for manager ms-python.python:conda is not active: Activating...
2025-08-22 16:51:47.913 [info] Extension for manager ms-python.python:conda is now active.
2025-08-22 16:51:47.928 [info] Discovered manager: (Conda) /home/Username/miniforge3/bin/conda
2025-08-22 16:51:47.928 [info] Discovered env: /home/Username/miniforge3/bin/python
2025-08-22 16:51:47.928 [info] Discovered env: /bin/python3
2025-08-22 16:51:47.928 [info] Discovered env: /usr/bin/python3
2025-08-22 16:51:52.460 [info] Discovered env: /home/Username/miniforge3/envs/ultralytics/bin/python
2025-08-22 16:51:52.460 [info] Discovered env: /home/Username/miniforge3/envs/wuziqi/bin/python
2025-08-22 16:51:52.460 [info] Locator Conda took 4.593312434s
2025-08-22 16:51:52.460 [info] Locator Homebrew took 1.440796ms
2025-08-22 16:51:52.460 [info] Locator LinuxGlobal took 51.742214ms
2025-08-22 16:51:52.460 [info] Locator PipEnv took 32.176µs
2025-08-22 16:51:52.460 [info] Locator Pixi took 172.397µs
2025-08-22 16:51:52.460 [info] Locator Poetry took 159.231827ms
2025-08-22 16:51:52.460 [info] Locator PyEnv took 160.643214ms
2025-08-22 16:51:52.460 [info] Locator Venv took 23.148µs
2025-08-22 16:51:52.461 [info] Locator VirtualEnv took 64.454µs
2025-08-22 16:51:52.461 [info] Locator VirtualEnvWrapper took 89.709µs
2025-08-22 16:51:52.461 [info] Locator GlobalVirtualEnvs took 3.283078ms
2025-08-22 16:51:52.461 [info] Locator Locators took 4.593934562s
2025-08-22 16:51:52.461 [info] Locator Path took 1.295210275s
2025-08-22 16:51:52.461 [info] Locator Workspaces took 5.563641ms
2025-08-22 16:51:52.461 [info] Using conda from cache: /home/Username/miniforge3/bin/conda
2025-08-22 16:51:52.462 [info] Found base environment: /home/Username/miniforge3
2025-08-22 16:51:52.462 [info] Found named environment: /home/Username/miniforge3/envs/ultralytics
2025-08-22 16:51:52.462 [info] Found named environment: /home/Username/miniforge3/envs/wuziqi
2025-08-22 16:51:52.831 [info] Python API: Changed environment from undefined to wuziqi (3.13.5) for: /home/Username/projects/AIGomoku
2025-08-22 16:51:52.831 [info] Internal: Changed environment from undefined to wuziqi (3.13.5) for: /home/Username/projects/AIGomoku
2025-08-22 16:51:52.835 [info] Telemetry:  {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":4594,"breakdown":{"GlobalVirtualEnvs":3,"Locators":4593,"Path":1295,"Workspaces":5},"locators":{"Conda":4593,"Homebrew":1,"LinuxGlobal":51,"PipEnv":0,"Pixi":0,"Poetry":159,"PyEnv":160,"Venv":0,"VirtualEnv":0,"VirtualEnvWrapper":0}}}}
2025-08-22 16:51:52.844 [info] Discovered manager: (Conda) /home/Username/miniforge3/bin/conda
2025-08-22 16:51:52.844 [info] Discovered env: /home/Username/miniforge3/bin/python
2025-08-22 16:51:52.844 [info] Discovered env: /bin/python3
2025-08-22 16:51:52.844 [info] Discovered env: /usr/bin/python3
2025-08-22 16:51:54.564 [info] Resolved Python Environment /home/Username/miniforge3/envs/wuziqi/bin/python
2025-08-22 16:51:54.564 [info] Using conda from cache: /home/Username/miniforge3/bin/conda
2025-08-22 16:51:54.565 [info] Found named environment: /home/Username/miniforge3/envs/wuziqi
2025-08-22 16:51:54.567 [info] Resolved Python Environment /home/Username/miniforge3/envs/wuziqi/bin/python
2025-08-22 16:51:54.568 [info] Using conda from cache: /home/Username/miniforge3/bin/conda
2025-08-22 16:51:54.568 [info] Found named environment: /home/Username/miniforge3/envs/wuziqi
2025-08-22 16:51:54.571 [info] Resolved Python Environment /home/Username/miniforge3/envs/wuziqi/bin/python
2025-08-22 16:51:54.571 [info] Using conda from cache: /home/Username/miniforge3/bin/conda
2025-08-22 16:51:54.571 [info] Found named environment: /home/Username/miniforge3/envs/wuziqi
2025-08-22 16:51:54.584 [info] Resolved Python Environment /home/Username/miniforge3/envs/wuziqi/bin/python
2025-08-22 16:51:54.584 [info] Using conda from cache: /home/Username/miniforge3/bin/conda
2025-08-22 16:51:54.584 [info] Found named environment: /home/Username/miniforge3/envs/wuziqi
2025-08-22 16:51:57.172 [info] Discovered env: /home/Username/miniforge3/envs/ultralytics/bin/python
2025-08-22 16:51:57.173 [info] Locator Conda took 4.34498412s
2025-08-22 16:51:57.173 [info] Locator Homebrew took 92.807µs
2025-08-22 16:51:57.173 [info] Locator LinuxGlobal took 10.687138ms
2025-08-22 16:51:57.173 [info] Locator PipEnv took 16.033µs
2025-08-22 16:51:57.173 [info] Locator Pixi took 35.426µs
2025-08-22 16:51:57.173 [info] Locator Poetry took 137.790625ms
2025-08-22 16:51:57.173 [info] Locator PyEnv took 139.704818ms
2025-08-22 16:51:57.173 [info] Locator Venv took 18.378µs
2025-08-22 16:51:57.173 [info] Locator VirtualEnv took 27.468µs
2025-08-22 16:51:57.173 [info] Locator VirtualEnvWrapper took 27.624µs
2025-08-22 16:51:57.173 [info] Locator GlobalVirtualEnvs took 955.594µs
2025-08-22 16:51:57.173 [info] Locator Locators took 4.346114564s
2025-08-22 16:51:57.173 [info] Locator Path took 1.278084371s
2025-08-22 16:51:57.173 [info] Locator Workspaces took 1.888931ms
2025-08-22 16:51:57.173 [info] Pyenv not found, turning off pyenv features.
2025-08-22 16:51:57.173 [info] Telemetry:  {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":4346,"breakdown":{"GlobalVirtualEnvs":0,"Locators":4346,"Path":1278,"Workspaces":1},"locators":{"Conda":4344,"Homebrew":0,"LinuxGlobal":10,"PipEnv":0,"Pixi":0,"Poetry":137,"PyEnv":139,"Venv":0,"VirtualEnv":0,"VirtualEnvWrapper":0}}}}
2025-08-22 16:51:57.182 [info] Discovered manager: (Conda) /home/Username/miniforge3/bin/conda
2025-08-22 16:51:57.182 [info] Discovered env: /home/Username/miniforge3/bin/python
2025-08-22 16:51:57.185 [info] Discovered env: /bin/python3
2025-08-22 16:51:57.186 [info] Discovered env: /usr/bin/python3
2025-08-22 16:52:01.298 [info] Discovered env: /home/Username/miniforge3/envs/wuziqi/bin/python
2025-08-22 16:52:01.298 [info] Discovered env: /home/Username/miniforge3/envs/ultralytics/bin/python
2025-08-22 16:52:01.298 [info] Locator Conda took 4.122967761s
2025-08-22 16:52:01.298 [info] Locator Homebrew took 80.98µs
2025-08-22 16:52:01.298 [info] Locator LinuxGlobal took 4.628918ms
2025-08-22 16:52:01.298 [info] Locator PipEnv took 33.152µs
2025-08-22 16:52:01.298 [info] Locator Pixi took 13.402µs
2025-08-22 16:52:01.298 [info] Locator Poetry took 144.468349ms
2025-08-22 16:52:01.298 [info] Locator PyEnv took 146.289045ms
2025-08-22 16:52:01.298 [info] Locator Venv took 412.769µs
2025-08-22 16:52:01.298 [info] Locator VirtualEnv took 27.94µs
2025-08-22 16:52:01.298 [info] Locator VirtualEnvWrapper took 638.697µs
2025-08-22 16:52:01.298 [info] Locator GlobalVirtualEnvs took 1.926312ms
2025-08-22 16:52:01.298 [info] Locator Locators took 4.123989209s
2025-08-22 16:52:01.298 [info] Locator Path took 1.309474537s
2025-08-22 16:52:01.298 [info] Locator Workspaces took 4.369713ms
2025-08-22 16:52:01.301 [info] Telemetry:  {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":4124,"breakdown":{"GlobalVirtualEnvs":1,"Locators":4123,"Path":1309,"Workspaces":4},"locators":{"Conda":4122,"Homebrew":0,"LinuxGlobal":4,"PipEnv":0,"Pixi":0,"Poetry":144,"PyEnv":146,"Venv":0,"VirtualEnv":0,"VirtualEnvWrapper":0}}}}
2025-08-22 16:52:01.303 [info] SHELL: fish profile found at: /home/Username/.config/fish/config.fish
2025-08-22 16:52:01.304 [info] SHELL: fish already contains activation code: /home/Username/.config/fish/config.fish
2025-08-22 16:52:07.308 [info] "python-envs.terminal.autoActivationType" is set to "shellStartup", terminal should be activated by shell startup script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions