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

Virtual environment not displayed in the right group in Picker #22869

Closed
DonJayamanne opened this issue Feb 7, 2024 · 2 comments
Closed

Virtual environment not displayed in the right group in Picker #22869

DonJayamanne opened this issue Feb 7, 2024 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@DonJayamanne
Copy link

DonJayamanne commented Feb 7, 2024

  • Create a new virtual enviroment
  • Got into interpreter picker and click the refresh button
  • The new virtual env appears at the bottom instead of being displayed with the rest of the workspace environments

The new env created is .venvLatest, see below.
Screenshot 2024-02-07 at 17 41 07

Show Logs
2024-02-07 17:34:38.467 [error] Dir "/Users/donjayamanne/demo" is not watchable (too many files)
2024-02-07 17:34:38.467 [info] Default formatter is set to null for workspace /Users/donjayamanne/demo
2024-02-07 17:34:38.467 [info] Test server listening.
2024-02-07 17:34:38.467 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:34:38.467 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:34:38.467 [info] Python interpreter path: ./.venv/bin/python
2024-02-07 17:34:38.618 [info] Send text to terminal: printenv > "/var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/tmp-73013Kfz6e1bMnVZ2.txt"
2024-02-07 17:34:38.697 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-07 17:34:39.127 [info] > ./x/~/miniforge3/bin/conda info --json
2024-02-07 17:34:39.132 [info] > conda info --json
2024-02-07 17:34:39.725 [info] Selected workspace /Users/donjayamanne/demo for creating virtual environment.
2024-02-07 17:34:39.793 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/printEnvVariables.py
2024-02-07 17:34:39.793 [info] shell: bash
2024-02-07 17:34:39.885 [info] > ./.venv/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:40.197 [info] Found: /opt/homebrew/bin/python3 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:34:40.233 [info] Found: /opt/homebrew/bin/python3.11 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:34:40.252 [info] > ~/.pyenv/versions/3.10.13/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:40.303 [info] > ~/.pyenv/versions/3.11.7/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:40.696 [info] Starting Pylance language server.
2024-02-07 17:34:40.938 [info] > ./.venv310/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.006 [info] > ./.venv3117/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.338 [info] > ./.venv399/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.450 [info] > ./.venvEmpty/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.488 [info] > ./.venvIPyKernel/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.525 [info] > ./.venvPandas/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.539 [info] > ./.venvPandas2/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.582 [info] > ~/.pyenv/versions/3.12.1/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.595 [info] > ~/.pyenv/versions/3.9.9/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:41.641 [info] > /usr/bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:42.342 [info] > /opt/homebrew/bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:34:42.692 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:34:42.714 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:34:45.172 [info] Selected interpreter /Users/donjayamanne/demo/.venv/bin/python for creating virtual environment.
2024-02-07 17:34:45.207 [info] Discover tests for workspace name: demo - uri: /Users/donjayamanne/demo
2024-02-07 17:34:45.212 [info] > ./.venv/bin/python ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/testing_tools/unittest_discovery.py ./tests *_test.py
2024-02-07 17:34:45.212 [info] cwd: .
2024-02-07 17:34:45.267 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-07 17:34:45.339 [info] Found: /opt/homebrew/bin/python3 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:34:45.340 [info] Found: /opt/homebrew/bin/python3.11 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:34:45.685 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:34:52.451 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-07 17:34:52.523 [info] Found: /opt/homebrew/bin/python3 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:34:52.523 [info] Found: /opt/homebrew/bin/python3.11 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:34:58.292 [error] Dir "/Users/donjayamanne/demo" is not watchable (too many files)
2024-02-07 17:34:58.292 [info] Default formatter is set to null for workspace /Users/donjayamanne/demo
2024-02-07 17:34:58.292 [info] Test server listening.
2024-02-07 17:34:58.292 [info] Python interpreter path: ~/demo/.venv/bin/python
2024-02-07 17:34:58.476 [info] Send text to terminal: printenv > "/var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/tmp-75880pynBVYK4gsG5.txt"
2024-02-07 17:34:59.716 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-07 17:34:59.720 [info] > ./x/~/miniforge3/bin/conda info --json
2024-02-07 17:34:59.730 [info] > conda info --json
2024-02-07 17:35:00.931 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/printEnvVariables.py
2024-02-07 17:35:00.931 [info] shell: bash
2024-02-07 17:35:01.742 [info] Starting Pylance language server.
2024-02-07 17:35:01.762 [info] Send text to terminal: source /Users/donjayamanne/demo/.venv/bin/activate
2024-02-07 17:35:01.768 [info] > ./.venv/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:01.787 [info] Found: /opt/homebrew/bin/python3 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:35:02.179 [info] Found: /opt/homebrew/bin/python3.11 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:35:03.168 [info] > ~/.pyenv/versions/3.10.13/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.194 [info] > ~/.pyenv/versions/3.11.7/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.265 [info] > ./.venv310/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.445 [info] > ./.venv3117/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.509 [info] > ./.venv399/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.555 [info] > ./.venvEmpty/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.564 [info] > ./.venvIPyKernel/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.607 [info] > ./.venvPandas/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.617 [info] > ./.venvPandas2/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.669 [info] > ~/.pyenv/versions/3.12.1/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.690 [info] > ~/.pyenv/versions/3.9.9/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.720 [info] > /usr/bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:03.919 [info] > /opt/homebrew/bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:35:04.510 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:35:04.525 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:35:04.525 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:38:19.406 [info] Discover tests for workspace name: demo - uri: /Users/donjayamanne/demo/.venvLatest/lib/python3.12/site-packages/jupyterlab/tests/mock_packages/test-hyphens/pyproject.toml
2024-02-07 17:38:19.411 [info] > ./.venv/bin/python ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/testing_tools/unittest_discovery.py ./tests *_test.py
2024-02-07 17:38:19.411 [info] cwd: .
2024-02-07 17:40:52.850 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-07 17:40:52.857 [info] Found: /opt/homebrew/bin/python3 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:40:52.858 [info] Found: /opt/homebrew/bin/python3.11 --> /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-02-07 17:40:52.881 [info] > ./.venvLatest/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.1.10371009/pythonFiles/interpreterInfo.py
2024-02-07 17:40:52.881 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:40:53.804 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}
2024-02-07 17:40:53.825 [error] Invalid version for /opt/homebrew/bin/python3: {"name":"","location":"","kind":"global-other","executable":{"filename":"/opt/homebrew/bin/python3","sysPrefix":"","ctime":1702905705783,"mtime":1702905705783},"display":"Python 3.x","version":{"major":3,"minor":-1,"micro":-1},"arch":1,"distro":{"org":""},"source":["path env var"],"id":"/opt/homebrew/bin/python3","detailedDisplayName":"Python 3.x"}

@DonJayamanne DonJayamanne added the feature-request Request for new features or functionality label Feb 7, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Feb 7, 2024
@karrtikr
Copy link

karrtikr commented Feb 7, 2024

If the list is already open and new environments are being added, we display those in the bottom so as to not shift the list while it is updating. However if the list is reopened, it should not be at the bottom, is that the case?

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

karrtikr commented Feb 7, 2024

Closing this after discussion with team, as designed.

@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2024
@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
feature-request Request for new features or functionality info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants