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

After executing the code in Python using F5, the virtual environment in the terminal exits automatically #22858

Closed
jianxinxie opened this issue Feb 6, 2024 · 12 comments
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@jianxinxie
Copy link

  • VS Code Version: 1.86.0
  • OS Version: ubuntu22.04

Steps to Reproduce:

  1. use shortcut key F5 run python code in virtual enviroment,oen a non-virtual terminal after the execution is finished
  2. hope could still in a virtual enviroment after the execution finished
@meganrogge meganrogge assigned karrtikr and unassigned meganrogge Feb 6, 2024
@karrtikr karrtikr transferred this issue from microsoft/vscode Feb 6, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Feb 6, 2024
@karrtikr
Copy link

karrtikr commented Feb 6, 2024

Please try the pre-release version of the Python extension:
image

Could you please send a screenshot indicating the behavior?

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

I know what is prolem is, when i press the F5 shortcut,a new non-virtual terminal will be opened, the screenshot is as follow:

Screenshot from 2024-02-07 09-28-16

The reason is that there is a configuration item named 'console' in the launch.json file,if i set 'integratedTerminal', it will open a new terminal,and if i change to internalConsole, it just print log in debug console tab

so i think maybe it's a solution for me

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

karrtikr commented Feb 7, 2024

If you still face an issue with the pre-release version of the extension please provide the debug logs after executing:

  • 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

I'm closing this issue otherwise, but feel free to let us know if it's still a problem.

@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2024
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Feb 7, 2024
@jianxinxie
Copy link
Author

The situation still same when i use pre-release version of python,the screenshot is as follow:

Screenshot from 2024-02-07 11-32-20

look at the right of picture,the bash is virtual terminal, the second Python Debug console is new non-virtual teminal when i press F5 to run code

I don't know it's a problem or just feature of vscode. Because Python usually requires installing dependencies in a virtual terminal, it is more convenient to keep the program running in a virtual terminal after execution.

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

karrtikr commented Feb 7, 2024

Once you get the chance please provide the logs asked earlier and we'll be happy to take a look again, also please providing the launch.json config you're using.

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

I set vscode log level to trace,and then reload the window, but there is nothing in output panel. The app log is ouput in a new terminal named Python Debug Console, and just like this

image

And there is my launch.json:

{ "version": "0.2.0", "configurations": [ { "name": "PythonApp", "type": "debugpy", "request": "launch", "program": "${file}", "console": "integratedTerminal", "justMyCode": true, "env": { "PYTHONPATH": "${workspaceFolder}" } } ] }

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

karrtikr commented Feb 7, 2024

You maybe checking the "Terminal" tab, check the "Output" tab:

image

@jianxinxie
Copy link
Author

I found it, the output panel is as follow:

2024-02-07 14:14:06.084 [info] Experiment 'pythonRecommendTensorboardExt' is active 2024-02-07 14:14:06.084 [info] Experiment 'pythonREPLSmartSend' is active 2024-02-07 14:14:06.084 [info] Experiment 'pythonTerminalEnvVarActivation' is active 2024-02-07 14:14:06.084 [info] Experiment 'pythonTestAdapter' is active 2024-02-07 14:14:06.096 [info] Default formatter is set to ms-python.black-formatter for workspace /home/jim/Workspace/python/demos/hello 2024-02-07 14:14:06.110 [info] Test server listening. 2024-02-07 14:14:06.291 [info] Python interpreter path: ./.venv/bin/python 2024-02-07 14:14:06.505 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS 2024-02-07 14:14:06.505 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS 2024-02-07 14:14:06.516 [info] > conda info --json 2024-02-07 14:14:06.526 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py 2024-02-07 14:14:06.526 [info] shell: bash 2024-02-07 14:14:06.552 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py 2024-02-07 14:14:06.552 [info] shell: bash 2024-02-07 14:14:06.586 [info] > /bin/python3 ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py 2024-02-07 14:14:06.586 [info] shell: bash 2024-02-07 14:14:06.614 [info] Send text to terminal: /bin/python3 /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariablesToFile.py /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/deactivate/bash/envVars.txt 2024-02-07 14:14:07.636 [info] Starting Pylance language server. 2024-02-07 14:14:20.414 [info] Send text to terminal: /usr/bin/env /home/jim/Workspace/python/demos/hello/.venv/bin/python /home/jim/.vscode/extensions/ms-python.debugpy-2024.0.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher 39913 -- /home/jim/Workspace/python/demos/hello/web_server/asycn_server.py

@jianxinxie
Copy link
Author

sorry the format look like mess,so you can checkout the screenshot as follow

Screenshot from 2024-02-07 14-17-38

@karrtikr
Copy link

karrtikr commented Feb 7, 2024

It doesn't look like the log level is set to trace, can you please make sure follow these instructions #22858 (comment) to set the logging level first, and then provide the output?

It would be great if you can "Select all" output (Ctrl + A) and then paste it here.

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

Okay, Here is the trace level output:

2024-02-08 08:56:58.820 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-08 08:56:58.821 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-08 08:56:58.821 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-08 08:56:58.821 [info] Experiment 'pythonTestAdapter' is active
2024-02-08 08:56:58.821 [info] Default formatter is set to ms-python.black-formatter for workspace /home/jim/Workspace/python/demos/hello
2024-02-08 08:56:58.821 [info] Test server listening.
2024-02-08 08:56:58.821 [info] Python interpreter path: ./.venv/bin/python
2024-02-08 08:56:59.491 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-08 08:56:59.491 [info] shell: bash
2024-02-08 08:56:59.635 [info] > conda info --json
2024-02-08 08:56:59.663 [info] > /bin/python3 ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-08 08:56:59.663 [info] shell: bash
2024-02-08 08:56:59.708 [info] Send text to terminal: /bin/python3 /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariablesToFile.py /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/deactivate/bash/envVars.txt
2024-02-08 08:56:59.773 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-08 08:56:59.775 [info] shell: bash
2024-02-08 08:57:00.731 [info] Starting Pylance language server.
2024-02-08 08:57:14.198 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-08 08:57:14.198 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-08 08:57:14.198 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-08 08:57:14.198 [info] Experiment 'pythonTestAdapter' is active
2024-02-08 08:57:14.198 [debug] Getting roots
2024-02-08 08:57:14.198 [debug] Getting roots
2024-02-08 08:57:14.198 [debug] Found roots
2024-02-08 08:57:14.198 [debug] Start watching file for changes /home/jim/.conda/environments.txt
2024-02-08 08:57:14.198 [debug] Start watching: /home/jim/.conda with pattern environments.txt using VSCode API
2024-02-08 08:57:14.198 [debug] Found roots
2024-02-08 08:57:14.198 [debug] Start watching root /home/jim/Workspace/python/demos/hello for globs ["python","*/python","*/bin/python"]
2024-02-08 08:57:14.198 [debug] Start watching: /home/jim/Workspace/python/demos/hello with pattern python using VSCode API
2024-02-08 08:57:14.198 [debug] Start watching: /home/jim/Workspace/python/demos/hello with pattern */python using VSCode API
2024-02-08 08:57:14.198 [debug] Start watching: /home/jim/Workspace/python/demos/hello with pattern */bin/python using VSCode API
2024-02-08 08:57:14.198 [info] Default formatter is set to ms-python.black-formatter for workspace /home/jim/Workspace/python/demos/hello
2024-02-08 08:57:14.198 [debug] Waiting for test server to start...
2024-02-08 08:57:14.199 [debug] Needed to validate /bin/python3 with latest info
2024-02-08 08:57:14.200 [debug] Needed to validate /bin/python3.11 with latest info
2024-02-08 08:57:14.201 [debug] Needed to validate /usr/bin/python3 with latest info
2024-02-08 08:57:14.201 [debug] Needed to validate /usr/bin/python3.11 with latest info
2024-02-08 08:57:14.201 [debug] Needed to validate /home/jim/Workspace/python/demos/hello/.venv/bin/python with latest info
2024-02-08 08:57:14.202 [debug] Needed to validate /home/jim/miniconda3/bin/python with latest info
2024-02-08 08:57:14.202 [debug] Needed to validate /home/jim/miniconda3/envs/jupyter/bin/python with latest info
2024-02-08 08:57:14.203 [debug] Needed to validate /home/jim/Workspace/python/demos/hello/.venv/bin/python with latest info
2024-02-08 08:57:14.204 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.393 [debug] Needed to validate /home/jim/Workspace/python/demos/hello/.venv/bin/python with latest info
2024-02-08 08:57:14.393 [info] Python interpreter path: ./.venv/bin/python
2024-02-08 08:57:14.393 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.433 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.433 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.434 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.435 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.439 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.439 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.441 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.443 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.443 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.444 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.447 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.448 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.449 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.526 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.526 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.526 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.536 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-08 08:57:14.537 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-08 08:57:14.538 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-08 08:57:14.539 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-08 08:57:14.540 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-08 08:57:14.541 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-08 08:57:14.541 [debug] Extension ms-toolsai.jupyter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.542 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-08 08:57:14.543 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-08 08:57:14.544 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-08 08:57:14.545 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3","id":"/bin/python3","executable":{"uri":{"$mid":1,"path":"/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]"},"tools":[]},"id":"/bin/python3"}
2024-02-08 08:57:14.546 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3.11","id":"/bin/python3.11","executable":{"uri":{"$mid":1,"path":"/bin/python3.11","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":11,"micro":7,"release":{"level":"final","serial":0},"sysVersion":"3.11.7 (main, Dec  8 2023, 18:56:58) [GCC 11.4.0]"},"tools":[]},"id":"/bin/python3.11"}
2024-02-08 08:57:14.546 [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":"/usr"},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]"},"tools":[]},"id":"/usr/bin/python3"}
2024-02-08 08:57:14.550 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3.11","id":"/usr/bin/python3.11","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3.11","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":11,"micro":7,"release":{"level":"final","serial":0},"sysVersion":"3.11.7 (main, Dec  8 2023, 18:56:58) [GCC 11.4.0]"},"tools":[]},"id":"/usr/bin/python3.11"}
2024-02-08 08:57:14.551 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/jim/Workspace/python/demos/hello/.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/home/jim/Workspace/python/demos/hello/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"/home/jim/Workspace/python/demos/hello","external":"file:///home/jim/Workspace/python/demos/hello","path":"/home/jim/Workspace/python/demos/hello","scheme":"file"},"name":"hello","index":0}},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]"},"tools":["Venv"]},"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.552 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/jim/miniconda3/bin/python","id":"/home/jim/miniconda3/bin/python","executable":{"uri":{"$mid":1,"path":"/home/jim/miniconda3/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/jim/miniconda3"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/home/jim/miniconda3","scheme":"file"}},"version":{"major":3,"minor":11,"micro":5,"release":{"level":"final","serial":0},"sysVersion":"3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0]"},"tools":["Conda"]},"id":"/home/jim/miniconda3/bin/python"}
2024-02-08 08:57:14.553 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/jim/miniconda3/envs/jupyter/bin/python","id":"/home/jim/miniconda3/envs/jupyter/bin/python","executable":{"uri":{"$mid":1,"path":"/home/jim/miniconda3/envs/jupyter/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/jim/miniconda3/envs/jupyter"},"environment":{"type":"Conda","name":"jupyter","folderUri":{"$mid":1,"path":"/home/jim/miniconda3/envs/jupyter","scheme":"file"}},"version":{"major":3,"minor":10,"micro":13,"release":{"level":"final","serial":0},"sysVersion":"3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:36:39) [GCC 12.3.0]"},"tools":["Conda"]},"id":"/home/jim/miniconda3/envs/jupyter/bin/python"}
2024-02-08 08:57:14.553 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/jim/miniconda3/envs/demo","id":"/home/jim/miniconda3/envs/demo/bin/python","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"demo","folderUri":{"$mid":1,"path":"/home/jim/miniconda3/envs/demo","scheme":"file"}},"tools":["Conda"]},"id":"/home/jim/miniconda3/envs/demo/bin/python"}
2024-02-08 08:57:14.554 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.555 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.557 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-08 08:57:14.558 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-08 08:57:14.558 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/jim/Workspace/python/demos/hello/.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/home/jim/Workspace/python/demos/hello/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"/home/jim/Workspace/python/demos/hello","external":"file:///home/jim/Workspace/python/demos/hello","path":"/home/jim/Workspace/python/demos/hello","scheme":"file"},"name":"hello","index":0}},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]"},"tools":["Venv"]},"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.559 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-08 08:57:14.562 [debug] Extension charliermarsh.ruff accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.563 [debug] Extension charliermarsh.ruff accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.563 [debug] Extension charliermarsh.ruff accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.564 [debug] Extension charliermarsh.ruff accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.564 [debug] Extension charliermarsh.ruff accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.564 [debug] Extension charliermarsh.ruff accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.565 [debug] Extension charliermarsh.ruff accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.565 [debug] Extension charliermarsh.ruff accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.566 [debug] Extension charliermarsh.ruff accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.568 [debug] Extension ms-python.black-formatter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.568 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.569 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.569 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.569 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.570 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.570 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.570 [debug] Extension ms-python.flake8 accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.571 [debug] Extension ms-python.flake8 accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.571 [debug] Extension ms-python.flake8 accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.572 [debug] Extension ms-python.flake8 accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.572 [debug] Extension ms-python.flake8 accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.572 [debug] Extension ms-python.flake8 accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.573 [debug] Extension ms-python.flake8 accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.573 [debug] Extension ms-python.pylint accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.573 [debug] Extension ms-python.pylint accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.574 [debug] Extension ms-python.pylint accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.574 [debug] Extension ms-python.pylint accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.575 [debug] Extension ms-python.pylint accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.575 [debug] Extension ms-python.pylint accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.576 [debug] Extension ms-python.pylint accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:14.585 [debug] Searching for conda.
2024-02-08 08:57:14.589 [debug] Probing conda binary: conda
2024-02-08 08:57:14.598 [debug] Dump environment variables {
    "CHROME_DESKTOP": "code-url-handler.desktop",
    "CLUTTER_IM_MODULE": "fcitx",
    "CONDA_EXE": "/home/jim/miniconda3/bin/conda",
    "CONDA_PYTHON_EXE": "/home/jim/miniconda3/bin/python",
    "CONDA_SHLVL": "0",
    "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
    "DESKTOP_SESSION": "ubuntu",
    "DISPLAY": ":1",
    "GDK_BACKEND": "x11",
    "GDMSESSION": "ubuntu",
    "GIO_LAUNCHED_DESKTOP_FILE": "/usr/share/applications/code.desktop",
    "GIO_LAUNCHED_DESKTOP_FILE_PID": "32178",
    "GJS_DEBUG_OUTPUT": "stderr",
    "GJS_DEBUG_TOPICS": "JS ERROR;JS LOG",
    "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
    "GNOME_SHELL_SESSION_MODE": "ubuntu",
    "GOPATH": "/home/jim/path/gopath",
    "GOPROXY": "https://goproxy.cn,direct",
    "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1",
    "GTK_IM_MODULE": "fcitx",
    "GTK_MODULES": "gail:atk-bridge",
    "HOME": "/home/jim",
    "IM_CONFIG_PHASE": "1",
    "INVOCATION_ID": "a354d52c9c434e459723d6c9acf37ad1",
    "JOURNAL_STREAM": "8:31319",
    "LANG": "en_US.UTF-8",
    "LC_ADDRESS": "zh_CN.UTF-8",
    "LC_IDENTIFICATION": "zh_CN.UTF-8",
    "LC_MEASUREMENT": "zh_CN.UTF-8",
    "LC_MONETARY": "zh_CN.UTF-8",
    "LC_NAME": "zh_CN.UTF-8",
    "LC_NUMERIC": "zh_CN.UTF-8",
    "LC_PAPER": "zh_CN.UTF-8",
    "LC_TELEPHONE": "zh_CN.UTF-8",
    "LC_TIME": "zh_CN.UTF-8",
    "LESSCLOSE": "/usr/bin/lesspipe %s %s",
    "LESSOPEN": "| /usr/bin/lesspipe %s",
    "LOGNAME": "jim",
    "MANAGERPID": "2024",
    "NVM_BIN": "/home/jim/.nvm/versions/node/v18.19.0/bin",
    "NVM_DIR": "/home/jim/.nvm",
    "NVM_INC": "/home/jim/.nvm/versions/node/v18.19.0/include/node",
    "OBJC_DISABLE_INITIALIZE_FORK_SAFETY": "YES",
    "ORIGINAL_XDG_CURRENT_DESKTOP": "ubuntu:GNOME",
    "PWD": "/home/jim",
    "QT_ACCESSIBILITY": "1",
    "QT_IM_MODULE": "fcitx",
    "SESSION_MANAGER": "local/jim:@/tmp/.ICE-unix/2488,unix/jim:/tmp/.ICE-unix/2488",
    "SHELL": "/bin/bash",
    "SHLVL": "0",
    "SSH_AGENT_LAUNCHER": "gnome-keyring",
    "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
    "SYSTEMD_EXEC_PID": "2510",
    "USER": "jim",
    "USERNAME": "jim",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_CODE_CACHE_PATH": "/home/jim/.config/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937",
    "VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
    "VSCODE_CWD": "/home/jim",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_IPC_HOOK": "/run/user/1000/vscode-5a929f12-1.86-main.sock",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en\",\"osLocale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
    "VSCODE_PID": "32178",
    "WINDOWPATH": "2",
    "XAUTHORITY": "/run/user/1000/gdm/Xauthority",
    "XDG_CONFIG_DIRS": "/etc/xdg/xdg-ubuntu:/etc/xdg",
    "XDG_CURRENT_DESKTOP": "Unity",
    "XDG_DATA_DIRS": "/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/opt/apps/com.qq.weixin.deepin/entries:/opt/apps/com.qq.weixin.deepin/entries",
    "XDG_MENU_PREFIX": "gnome-",
    "XDG_RUNTIME_DIR": "/run/user/1000",
    "XDG_SESSION_CLASS": "user",
    "XDG_SESSION_DESKTOP": "ubuntu",
    "XDG_SESSION_TYPE": "x11",
    "XMODIFIERS": "@im=fcitx",
    "_": "/usr/share/code/code",
    "ELECTRON_RUN_AS_NODE": "1",
    "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
    "PATH": "/home/jim/.local/bin:/home/jim/miniconda3/condabin:/usr/local/go/bin:/home/jim/.local/bin:/home/jim/.nvm/versions/node/v18.19.0/bin:/home/jim/.local/bin:/usr/local/go/bin:/home/jim/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/jim/.local/bin:/home/jim/.local/bin:/home/jim/.local/bin"
}
2024-02-08 08:57:14.606 [info] > conda info --json
2024-02-08 08:57:14.630 [debug] Activation Commands received source /home/jim/Workspace/python/demos/hello/.venv/bin/activate for shell /usr/bin/bash, resource /home/jim/Workspace/python/demos/hello and interpreter /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.630 [debug] Activating Environment to capture Environment variables, . /home/jim/Workspace/python/demos/hello/.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-08 08:57:14.630 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-08 08:57:14.630 [info] shell: bash
2024-02-08 08:57:14.645 [debug] Activation Commands received source /home/jim/Workspace/python/demos/hello/.venv/bin/activate for shell bash, resource /home/jim/Workspace/python/demos/hello and interpreter /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.645 [debug] Activating Environment to capture Environment variables, . /home/jim/Workspace/python/demos/hello/.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-08 08:57:14.645 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-08 08:57:14.646 [info] shell: bash
2024-02-08 08:57:14.659 [debug] Activated environment variables for /home/jim/Workspace/python/demos/hello {
  SHELL: '/bin/bash',
  SESSION_MANAGER: 'local/jim:@/tmp/.ICE-unix/2488,unix/jim:/tmp/.ICE-unix/2488',
  QT_ACCESSIBILITY: '1',
  XDG_CONFIG_DIRS: '/etc/xdg/xdg-ubuntu:/etc/xdg',
  SSH_AGENT_LAUNCHER: 'gnome-keyring',
  PYTHONUNBUFFERED: '1',
  NVM_INC: '/home/jim/.nvm/versions/node/v18.19.0/include/node',
  XDG_MENU_PREFIX: 'gnome-',
  GNOME_DESKTOP_SESSION_ID: 'this-is-deprecated',
  GTK_IM_MODULE: 'fcitx',
  CONDA_EXE: '/home/jim/miniconda3/bin/conda',
  APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: '1',
  LC_ADDRESS: 'zh_CN.UTF-8',
  GNOME_SHELL_SESSION_MODE: 'ubuntu',
  LC_NAME: 'zh_CN.UTF-8',
  SSH_AUTH_SOCK: '/run/user/1000/keyring/ssh',
  ELECTRON_RUN_AS_NODE: '1',
  XMODIFIERS: '@im=fcitx',
  DESKTOP_SESSION: 'ubuntu',
  LC_MONETARY: 'zh_CN.UTF-8',
  VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
  GTK_MODULES: 'gail:atk-bridge',
  PWD: '/home/jim',
  XDG_SESSION_DESKTOP: 'ubuntu',
  LOGNAME: 'jim',
  XDG_SESSION_TYPE: 'x11',
  GPG_AGENT_INFO: '/run/user/1000/gnupg/S.gpg-agent:0:1',
  SYSTEMD_EXEC_PID: '2510',
  VSCODE_CODE_CACHE_PATH: '/home/jim/.config/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937',
  XAUTHORITY: '/run/user/1000/gdm/Xauthority',
  GJS_DEBUG_TOPICS: 'JS ERROR;JS LOG',
  WINDOWPATH: '2',
  HOME: '/home/jim',
  USERNAME: 'jim',
  IM_CONFIG_PHASE: '1',
  LC_PAPER: 'zh_CN.UTF-8',
  LANG: 'en_US.UTF-8',
  XDG_CURRENT_DESKTOP: 'Unity',
  VIRTUAL_ENV: '/home/jim/Workspace/python/demos/hello/.venv',
  VSCODE_IPC_HOOK: '/run/user/1000/vscode-5a929f12-1.86-main.sock',
  INVOCATION_ID: 'a354d52c9c434e459723d6c9acf37ad1',
  MANAGERPID: '2024',
  CHROME_DESKTOP: 'code-url-handler.desktop',
  CLUTTER_IM_MODULE: 'fcitx',
  GJS_DEBUG_OUTPUT: 'stderr',
  NVM_DIR: '/home/jim/.nvm',
  LESSCLOSE: '/usr/bin/lesspipe %s %s',
  XDG_SESSION_CLASS: 'user',
  LC_IDENTIFICATION: 'zh_CN.UTF-8',
  LESSOPEN: '| /usr/bin/lesspipe %s',
  USER: 'jim',
  OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES',
  PYTHONIOENCODING: 'utf-8',
  CONDA_SHLVL: '0',
  GOPROXY: 'https://goproxy.cn,direct',
  DISPLAY: ':1',
  VSCODE_PID: '32178',
  SHLVL: '0',
  LC_TELEPHONE: 'zh_CN.UTF-8',
  QT_IM_MODULE: 'fcitx',
  LC_MEASUREMENT: 'zh_CN.UTF-8',
  VSCODE_CWD: '/home/jim',
  VIRTUAL_ENV_PROMPT: '(.venv) ',
  CONDA_PYTHON_EXE: '/home/jim/miniconda3/bin/python',
  VSCODE_CRASH_REPORTER_PROCESS_TYPE: 'extensionHost',
  XDG_RUNTIME_DIR: '/run/user/1000',
  PS1: '(.venv) ',
  LC_TIME: 'zh_CN.UTF-8',
  JOURNAL_STREAM: '8:31319',
  XDG_DATA_DIRS: '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/opt/apps/com.qq.weixin.deepin/entries:/opt/apps/com.qq.weixin.deepin/entries',
  GDK_BACKEND: 'x11',
  PATH: '/home/jim/Workspace/python/demos/hello/.venv/bin:/home/jim/.local/bin:/home/jim/miniconda3/condabin:/usr/local/go/bin:/home/jim/.local/bin:/home/jim/.nvm/versions/node/v18.19.0/bin:/home/jim/.local/bin:/usr/local/go/bin:/home/jim/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/jim/.local/bin:/home/jim/.local/bin:/home/jim/.local/bin',
  GDMSESSION: 'ubuntu',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'ubuntu:GNOME',
  DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus',
  VSCODE_NLS_CONFIG: '{"locale":"en","osLocale":"en-us","availableLanguages":{},"_languagePackSupport":true}',
  NVM_BIN: '/home/jim/.nvm/versions/node/v18.19.0/bin',
  GIO_LAUNCHED_DESKTOP_FILE_PID: '32178',
  GIO_LAUNCHED_DESKTOP_FILE: '/usr/share/applications/code.desktop',
  VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
  LC_NUMERIC: 'zh_CN.UTF-8',
  GOPATH: '/home/jim/path/gopath',
  _: '/home/jim/Workspace/python/demos/hello/.venv/bin/python'
}
2024-02-08 08:57:14.671 [info] > /bin/python3 ~/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-08 08:57:14.671 [info] shell: bash
2024-02-08 08:57:14.672 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-08 08:57:14.674 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-08 08:57:14.717 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.718 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.719 [debug] Setting environment variable VIRTUAL_ENV in collection to /home/jim/Workspace/python/demos/hello/.venv
2024-02-08 08:57:14.719 [debug] Setting environment variable VIRTUAL_ENV_PROMPT in collection to (.venv) 
2024-02-08 08:57:14.719 [debug] Prepending environment variable PS1 in collection with (.venv) 
2024-02-08 08:57:14.719 [debug] Prepending environment variable PATH in collection with /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/deactivate/bash:/home/jim/Workspace/python/demos/hello/.venv/bin:
2024-02-08 08:57:14.719 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:14.720 [info] Send text to terminal: /bin/python3 /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariablesToFile.py /home/jim/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/deactivate/bash/envVars.txt
2024-02-08 08:57:14.752 [debug] Time taken to get env vars using terminal is 32ms
2024-02-08 08:57:15.068 [debug] Delay Trigger[Test Configuration Change]: triggered=1, called=1
2024-02-08 08:57:15.198 [info] Test server listening.
2024-02-08 08:57:15.198 [debug] Test server started.
2024-02-08 08:57:15.198 [debug] Testing: Setting up watcher for /home/jim/Workspace/python/demos/hello
2024-02-08 08:57:15.257 [debug] conda info --json: {
  "GID": 1000,
  "UID": 1000,
  "active_prefix": null,
  "active_prefix_name": null,
  "av_data_dir": "/home/jim/miniconda3/etc/conda",
  "av_metadata_url_base": null,
  "channels": [
    "https://conda.anaconda.org/conda-forge/linux-64",
    "https://conda.anaconda.org/conda-forge/noarch",
    "https://repo.anaconda.com/pkgs/main/linux-64",
    "https://repo.anaconda.com/pkgs/main/noarch",
    "https://repo.anaconda.com/pkgs/r/linux-64",
    "https://repo.anaconda.com/pkgs/r/noarch"
  ],
  "conda_build_version": "not installed",
  "conda_env_version": "23.11.0",
  "conda_location": "/home/jim/miniconda3/lib/python3.11/site-packages/conda",
  "conda_prefix": "/home/jim/miniconda3",
  "conda_shlvl": 0,
  "conda_version": "23.11.0",
  "config_files": [
    "/home/jim/.condarc"
  ],
  "default_prefix": "/home/jim/miniconda3",
  "env_vars": {
    "CIO_TEST": "<not set>",
    "CONDA_EXE": "/home/jim/miniconda3/bin/conda",
    "CONDA_PYTHON_EXE": "/home/jim/miniconda3/bin/python",
    "CONDA_ROOT": "/home/jim/miniconda3",
    "CONDA_SHLVL": "0",
    "CURL_CA_BUNDLE": "<not set>",
    "GOPATH": "/home/jim/path/gopath",
    "GOPROXY": "<set>",
    "LD_PRELOAD": "<not set>",
    "PATH": "/home/jim/.local/bin:/home/jim/miniconda3/condabin:/usr/local/go/bin:/home/jim/.local/bin:/home/jim/.nvm/versions/node/v18.19.0/bin:/home/jim/.local/bin:/usr/local/go/bin:/home/jim/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/jim/.local/bin:/home/jim/.local/bin:/home/jim/.local/bin",
    "PYTHONIOENCODING": "utf-8",
    "PYTHONUNBUFFERED": "1",
    "REQUESTS_CA_BUNDLE": "<not set>",
    "SSL_CERT_FILE": "<not set>",
    "VSCODE_CODE_CACHE_PATH": "/home/jim/.config/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937",
    "WINDOWPATH": "2"
  },
  "envs": [
    "/home/jim/miniconda3",
    "/home/jim/miniconda3/envs/demo",
    "/home/jim/miniconda3/envs/jupyter"
  ],
  "envs_dirs": [
    "/home/jim/miniconda3/envs",
    "/home/jim/.conda/envs"
  ],
  "netrc_file": null,
  "offline": false,
  "pkgs_dirs": [
    "/home/jim/miniconda3/pkgs",
    "/home/jim/.conda/pkgs"
  ],
  "platform": "linux-64",
  "python_version": "3.11.5.final.0",
  "rc_path": "/home/jim/.condarc",
  "requests_version": "2.31.0",
  "root_prefix": "/home/jim/miniconda3",
  "root_writable": true,
  "site_dirs": [
    "~/.local/lib/python3.10"
  ],
  "solver": {
    "default": true,
    "name": "libmamba",
    "user_agent": "solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.3"
  },
  "sys.executable": "/home/jim/miniconda3/bin/python",
  "sys.prefix": "/home/jim/miniconda3",
  "sys.version": "3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0]",
  "sys_rc_path": "/home/jim/miniconda3/.condarc",
  "user_agent": "conda/23.11.0 requests/2.31.0 CPython/3.11.5 Linux/6.5.0-15-generic ubuntu/22.04.3 glibc/2.35 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.3",
  "user_rc_path": "/home/jim/.condarc",
  "virtual_pkgs": [
    [
      "__archspec",
      "1",
      "skylake"
    ],
    [
      "__conda",
      "23.11.0",
      "0"
    ],
    [
      "__glibc",
      "2.35",
      "0"
    ],
    [
      "__linux",
      "6.5.0",
      "0"
    ],
    [
      "__unix",
      "0",
      "0"
    ]
  ]
}

2024-02-08 08:57:15.257 [debug] Found conda via filesystem probing: conda
2024-02-08 08:57:15.386 [debug] Clearing context for python dependencies not installed: /home/jim/Workspace/python/demos/hello/web_server/asycn_server.py
2024-02-08 08:57:15.442 [debug] Clearing context for python dependencies not installed: /home/jim/Workspace/python/demos/hello/web_server/asycn_server.py
2024-02-08 08:57:15.754 [info] Starting Pylance language server.
2024-02-08 08:57:15.756 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:15.761 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:15.762 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:15.771 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:15.772 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:15.773 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:15.774 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-08 08:57:15.776 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:16.588 [debug] Clearing context for python dependencies not installed: /home/jim/Workspace/python/demos/hello/web_server/asycn_server.py
2024-02-08 08:57:20.135 [debug] Terminal shell path '/usr/bin/bash' identified as shell 'bash'
2024-02-08 08:57:20.135 [debug] Shell identified as bash 
2024-02-08 08:57:20.136 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:20.594 [debug] Clearing context for python dependencies not installed: /home/jim/Workspace/python/demos/hello/web_server/asycn_server.py
2024-02-08 08:57:24.461 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:24.464 [debug] Extension ms-python.debugpy accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:57:24.464 [debug] Extension ms-python.debugpy accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:57:24.492 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:24.506 [debug] Extension ms-python.debugpy accessed resolveEnvironment with args: "/home/jim/Workspace/python/demos/hello/.venv/bin/python"
2024-02-08 08:57:25.683 [info] Send text to terminal:  /usr/bin/env /home/jim/Workspace/python/demos/hello/.venv/bin/python /home/jim/.vscode/extensions/ms-python.debugpy-2024.0.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher 54377 -- /home/jim/Workspace/python/demos/hello/web_server/asycn_server.py 
2024-02-08 08:57:28.972 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 08:57:28.972 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:57:28.972 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:59:12.260 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:59:12.261 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:59:12.262 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:59:12.262 [debug] Found cached env for /home/jim/Workspace/python/demos/hello/.venv/bin/python
2024-02-08 08:59:12.303 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:59:12.304 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:59:12.304 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-08 08:59:12.305 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:59:12.306 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:59:12.307 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:59:12.307 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-08 08:59:12.308 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:59:12.309 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 08:59:12.309 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/jim/Workspace/python/demos/hello/.venv/bin/python","path":"/home/jim/Workspace/python/demos/hello/.venv/bin/python"}
2024-02-08 08:59:12.736 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 08:59:12.744 [debug] Delay Trigger[Test Configuration Change]: triggered=3, called=2

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

karrtikr commented Feb 8, 2024

Thanks for that, closing as duplicate of #22860. This seems to be an issue on VS Code's end, you can follow that issue for further updates.

@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 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
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants