text:
Better prompt/extension awareness

I would love it if the Co-pilot LLM had better contextual awareness about how it's being prompted, and how the context is being shaped.  I would appreciate it, in fact I'd strongly recommend, that you modify co-pilot to be transparent about and informed reasonably about the structure of the plugin, and the nature of how the plugin prompts the LLM using my local code.
What prompted this was an episode in chat.  I asked if it could read my directories and generate a simple index.ts file for a directory, that unified the exports for the modules in a directory.  It responded that it couldn't read the directories of my project or my files.  I gave it a template and asked if it could generate a file like it.  It generated the code and the content was reflective of real files in my project.  It had the names of files I had just been working on, and the exports matched up with 3 files I'd recently looked at, and their file locations.
I then prompted it extensively to understand how it could say it couldn't read my files or see anything beyond my prompt, and at the same time have accurate information that matches my open files in the editor.  It alternated between saying it couldn't read my files, and insisting that I'd included that content in my prompt.  I then asked it to show me what it thought my prompt looked like.  After all, "if there's more in the context window, then show me the rest of it", I thought.  But no, "I can only see what you sent me in chat."  It diverted that question, and simply replied I can only see what you put in the chat window.
Eventually, it ended up spitting up this little tidbit, which feels closer to the truth.
Me: "I didn't "provide" that excerpt, it was present in my text editor, and my chat was in a separate window. The Plugin provided that excerpt from my interface separately."
Copilot: "I apologize for any confusion. You are correct that the excerpt from DocumentImportError.svelte was provided by the VSCode plugin architecture. The plugin architecture provides contextual information to me based on the active selection in your editor."
Well that's not exactly true.  That was the active file and the contents are only about 10 lines.  And none of it was selected, so the plugin is proactively choosing to send the file, or a portion of that file as context.
But Co-pilot should say true things about how it operates, and should be transparent.  It should either say, I don't know, or I can't tell you, OR truthful things about what it does.  Not doing so is a good faith failure IMO.
Attached is the entire interaction.
mangr3n_copilot_interaction.md

FYI, I fully expected that portions of my code would be inspected, copied and sent over the wire with my prompts.  I even half expect that the co-pilot infrastructure would build some type of vector database about code from my project in order to efficiently and effectively make alterations or suggestions.  I also would expect those to be confined to my interactions and to be "garbage collected over time."  My issue was patently false claims or misleading claims from the LLM about our interaction and it's capabilities.  Either inform it of it's ignorance, tell it NOT to discuss the details and to be honest about it, OR to give it enough information to respond intelligently.

copilot updates should add better changelogs as well

@mangr3 Thank you for filing this issue. We appreciate your feedback. Here's the issue for workspace awareness - https://github.com/microsoft/vscode-copilot-release/issues/14

authors: fisforfaheem mangr3n ulugbekna


text:
Unable to mount on devcontainer mcr.microsoft.com/vscode/devcontainers/base:0-jammy

I expect
$ mkdir foo bar
$ sudo mount --bind ./foo/ ./bar/

to work in a codespace launched for this repo using a devcontainer with image
mcr.microsoft.com/vscode/devcontainers/base:0-jammy

just like it works on this branch which uses default universal codespace image.
Actually, I get
$ mkdir foo bar && sudo mount --bind ./foo/ ./bar/
mount: /workspaces/codespace-container/bar: permission denied.

Using strace on the failing command yields:
$ strace sudo mount --bind ./foo/ ./bar/

Effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?

When I try to login as root and run without sudo I get the same error. When I run again under strace I get a different log that I captured here. That second log doesn't contain anything I can make sense of. It seems to be looking for a resource string that it cannot find. Maybe that's why there's no specific error message?
The ability to mount enables use of chroot in codespaces.

Issue is somewhat related to Use suid so the container does not need to be started as root or have sudo configured · Issue #488 · microsoft/vscode-dev-containers (github.com). That issue seems to indicate sudo may not be properly configured depending on how the container is launched. If that were the only issue here then running as root would have worked. CC @felipers

Needed to add
 "runArgs": [
        "--cap-add=SYS_PTRACE",
        "--security-opt",
        "seccomp=unconfined",
        "--privileged",
        "--init"
    ],

I'm gonna suggest we offer a slimmed down version of the universal template.

source: gharchive/issue

repo: microsoft/vscode-dev-containers

license: MIT

license_type: permissive

license_source: github-api


text:
Jupyter Notebook and Interactive Kernel Non-Responsive after running conda update --all on fresh, functional environment

Applies To

[X] Notebooks (.ipynb files)
[X] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
There appears to be a bug interacting with some of the latest package versions in conda-forge that are causing jupyter notebooks and the interactive window kernel to become non-responsive.
I had just created a new codespace using my standard devcontainer setup scripts.  I created a new environment clone of my base named 'altair' and installed a few packages to that env.  Then I tried out the env and was able to run jupyter cells as well as run scripts via interactive.
Then, I ran 'conda update -all' on the altair environment, and it succeeded.  After that, both the notebook and the interactive window became non-responsive.  I tried the same procedure in a local dev container I installed on my laptop with the same procedures, same problem occurred after updating all with conda.  So this is reproducible.
I have turned on verbose logging and pasted in the results below, it looks like there are some errors returning but would appreciate your help in interpreting what the issue is and what a short-term fix might be besides never running conda update --all for now=)
Update: let me add that the log below is from after everything became non-response, I restarted vscode and attempted to use the kernel again, so the log is everything from restart through non-responsive state occuring again.  It does not include when things were responsive previously.  I'm rebuilding a container now, so I'll include that in a follow-up post shortly.
Thanks!
VS Code Version
Version: 1.76.1 (user setup) Commit: 5e805b79fcb6ba4c2d23712967df89a089da575b Date: 2023-03-08T16:32:00.131Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: No
Jupyter Extension Version
v2023.2.1200692131
Jupyter logs
Visual Studio Code (1.76.1, codespaces, desktop)
Jupyter Extension Version: 2023.2.1200692131.
Python Extension Version: 2023.4.1.
Workspace folder /workspaces/python-learning
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
debug 22:52:49.270: Updating cache with Python kernels
, Added =
, Updated =
, Removed =
debug 22:52:49.271: Get Custom Env Variables, Class name = ql (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 22:52:49.275: Start refreshing Kernel Picker (1678661569275)
debug 22:52:49.277: Found 0 cached controllers
debug 22:52:49.315: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
info 22:52:49.327: LSP Notebooks experiment is enabled
debug 22:52:49.646: Found 3 cached controllers
debug 22:52:49.646: Creating 3 controllers
debug 22:52:49.648: Creating notebook controller for startUsingPythonInterpreter & view jupyter-notebook (id='.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher') with name 'Python 3.9.2'
debug 22:52:49.649: Creating notebook controller for startUsingPythonInterpreter & view interactive (id='.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher') with name 'Python 3.9.2'
debug 22:52:49.650: Creating notebook controller for startUsingPythonInterpreter & view jupyter-notebook (id='.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher') with name 'base (Python 3.10.9)'
debug 22:52:49.651: Creating notebook controller for startUsingPythonInterpreter & view interactive (id='.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher') with name 'base (Python 3.10.9)'
debug 22:52:49.651: Creating notebook controller for startUsingPythonInterpreter & view jupyter-notebook (id='.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher') with name 'altair (Python 3.10.9)'
debug 22:52:49.652: Creating notebook controller for startUsingPythonInterpreter & view interactive (id='.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher') with name 'altair (Python 3.10.9)'
debug 22:52:49.653: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Added = startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Updated =
, Removed =
debug 22:52:49.653: Listing kernels for 0 interpreters ()
debug 22:52:51.762: Get Active Interpreter, Class name = Go (started execution), Arg 1: undefined
debug 22:52:51.777: Get Custom Env Variables, Class name = ql, completed in 2506ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 22:52:51.778: Get Jupyter Sub Paths, Class name = dp, completed in 2507ms, has a truthy return value, Arg 1: "", Arg 2: "kernels", Return Value:
debug 22:52:51.779: Get Jupyter Kernel Paths, Class name = dp, completed in 2508ms, has a truthy return value, Arg 1: "", Return Value:
debug 22:52:51.808: Get KernelSpec root path, Class name = dp, completed in 2537ms, has a truthy return value, Arg 1: {"a":false,"b":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 22:52:51.855: Get Active Interpreter, Class name = Go, completed in 2540ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:52:51.856: Get Active Interpreter, Class name = Go, completed in 94ms, has a truthy return value, Arg 1: undefined, Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:52:51.857: interpreterPackages getPackageInformation, Class name = Zd (started execution), Arg 1: {"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","external":"file:///opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}}
debug 22:52:51.857: Create activated Env, Class name = El (started execution), Arg 1: {"allowEnvironmentFetchExceptions":true,"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","external":"file:///opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}}
debug 22:52:51.857: Getting activated env variables, Class name = ac (started execution), Arg 1: "/workspaces/python-learning", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>, Arg 3: true
debug 22:52:51.858: Getting activated env variables impl, Class name = ac (started execution), Arg 1: "/workspaces/python-learning", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:52:51.858: Getting activated env variables from Python, Class name = ac (started execution), Arg 1: "/workspaces/python-learning", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:52:51.858: Get Custom Env Variables, Class name = ql (started execution), Arg 1: "/workspaces/python-learning", Arg 2: "RunPythonCode"
debug 22:52:51.859: Get Custom Env Variables, Class name = ql, completed in 1ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Arg 2: "RunPythonCode"
debug 22:52:51.891: Not Searching for kernels as path does not exist, /usr/share/jupyter/kernels
debug 22:52:51.891: Not Searching for kernels as path does not exist, /usr/local/share/jupyter/kernels
debug 22:52:51.896: Not Searching for kernels as path does not exist, /home/vscode/.local/share/jupyter/kernels
debug 22:52:51.974: creating new code watcher with matching document file:///workspaces/python-learning/altair/test1.py
debug 22:53:01.217: Conda file returned by Python Extension is conda
debug 22:53:01.412: Full interpreter list after refreshing (total 9650ms, resolve 12ms, refresh 9638ms) is length: 3, /usr/bin/python3:undefined::/usr/bin/python3:/usr/bin/python3, /opt/conda/bin/python:base:Conda:/opt/conda/bin/python:/opt/conda/bin/python, /opt/conda/envs/altair/bin/python:altair:Conda:/opt/conda/envs/altair/bin/python:/opt/conda/envs/altair/bin/python
debug 22:53:01.414: Python environment for /opt/conda/envs/altair/bin/python is /opt/conda/envs/altair/bin/python from Python Extension API is {"internal":{"path":"/opt/conda/envs/altair/bin/python","id":"/opt/conda/envs/altair/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/conda/envs/altair"},"environment":{"type":"Conda","name":"altair","folderUri":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"}},"version":{"major":3,"minor":10,"micro":9,"release":{"level":"final","serial":0},"sysVersion":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"tools":["Conda"]},"id":"/opt/conda/envs/altair/bin/python"} and translated is {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.415: Full interpreter list after refreshing (total 1ms, resolve 1ms, refresh 0ms) is length: 3, /usr/bin/python3:undefined::/usr/bin/python3:/usr/bin/python3, /opt/conda/bin/python:base:Conda:/opt/conda/bin/python:/opt/conda/bin/python, /opt/conda/envs/altair/bin/python:altair:Conda:/opt/conda/envs/altair/bin/python:/opt/conda/envs/altair/bin/python
debug 22:53:01.416: Python environment for /opt/conda/envs/altair/bin/python is /opt/conda/envs/altair/bin/python from Python Extension API is {"internal":{"path":"/opt/conda/envs/altair/bin/python","id":"/opt/conda/envs/altair/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/conda/envs/altair"},"environment":{"type":"Conda","name":"altair","folderUri":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"}},"version":{"major":3,"minor":10,"micro":9,"release":{"level":"final","serial":0},"sysVersion":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"tools":["Conda"]},"id":"/opt/conda/envs/altair/bin/python"} and translated is {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.435: loadData after detecting changes to interpreters
debug 22:53:01.435: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Added =
, Updated =
, Removed =
debug 22:53:01.435: refreshData after detecting changes to interpreters
debug 22:53:01.435: Listing kernels for 2 interpreters (/opt/conda/envs/altair/bin/python, /usr/bin/python3)
debug 22:53:01.436: Listing Python kernels for Interpreter /opt/conda/envs/altair/bin/python
debug 22:53:01.436: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.437: Listing Python kernels for Interpreter /usr/bin/python3
debug 22:53:01.437: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.438: Python environment for /usr/bin/python3 is /usr/bin/python3 from Python Extension API is {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"fsPath":"/usr/bin/python3","path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":9,"micro":2,"release":{"level":"final","serial":0},"sysVersion":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"},"tools":[]},"id":"/usr/bin/python3"} and translated is {"id":"/usr/bin/python3","sysPrefix":"/usr","displayPath":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"envName":"","uri":{"$mid":1,"fsPath":"/usr/bin/python3","path":"/usr/bin/python3","scheme":"file"},"displayName":"","envType":"Unknown","version":{"major":3,"minor":9,"patch":2,"raw":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"}}
debug 22:53:01.439: Get Jupyter Kernel Paths, Class name = dp, completed in 3ms, has a truthy return value, Arg 1: "", Return Value:
debug 22:53:01.439: Get Jupyter Kernel Paths, Class name = dp, completed in 2ms, has a truthy return value, Arg 1: "", Return Value:
debug 22:53:01.442: Get KernelSpec root path, Class name = dp, completed in 6ms, has a truthy return value, Arg 1: {"a":false,"b":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 22:53:01.442: Get KernelSpec root path, Class name = dp, completed in 5ms, has a truthy return value, Arg 1: {"a":false,"b":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 22:53:01.443: Get Active Interpreter, Class name = Go, completed in 7ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.443: Get Active Interpreter, Class name = Go, completed in 6ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.444: loadData after detecting changes to interpreters
debug 22:53:01.444: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Added =
, Updated =
, Removed =
debug 22:53:01.444: refreshData after detecting changes to interpreters
debug 22:53:01.444: Listing kernels for 3 interpreters (/opt/conda/envs/altair/bin/python, /usr/bin/python3, /opt/conda/bin/python)
debug 22:53:01.444: Listing Python kernels for Interpreter /opt/conda/envs/altair/bin/python
debug 22:53:01.444: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.444: Listing Python kernels for Interpreter /usr/bin/python3
debug 22:53:01.444: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.445: Listing Python kernels for Interpreter /opt/conda/bin/python
debug 22:53:01.445: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.445: Python environment for /opt/conda/bin/python is /opt/conda/bin/python from Python Extension API is {"internal":{"path":"/opt/conda/bin/python","id":"/opt/conda/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/conda"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/opt/conda","scheme":"file"}},"version":{"major":3,"minor":10,"micro":9,"release":{"level":"final","serial":0},"sysVersion":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"tools":["Conda"]},"id":"/opt/conda/bin/python"} and translated is {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.446: loadData after detecting changes to interpreters
debug 22:53:01.446: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Added =
, Updated =
, Removed =
debug 22:53:01.446: refreshData after detecting changes to interpreters
debug 22:53:01.446: Listing kernels for 3 interpreters (/opt/conda/envs/altair/bin/python, /usr/bin/python3, /opt/conda/bin/python)
debug 22:53:01.446: Listing Python kernels for Interpreter /opt/conda/envs/altair/bin/python
debug 22:53:01.446: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.446: Listing Python kernels for Interpreter /usr/bin/python3
debug 22:53:01.446: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.446: Listing Python kernels for Interpreter /opt/conda/bin/python
debug 22:53:01.446: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.447: Get Jupyter Kernel Paths, Class name = dp, completed in 2ms, has a truthy return value, Arg 1: "", Return Value:
debug 22:53:01.448: Get KernelSpec root path, Class name = dp, completed in 3ms, has a truthy return value, Arg 1: {"a":false,"b":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 22:53:01.451: Get Active Interpreter, Class name = Go, completed in 7ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.451: Get Active Interpreter, Class name = Go, completed in 7ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.451: Get Active Interpreter, Class name = Go, completed in 6ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.451: Get Active Interpreter, Class name = Go, completed in 5ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.451: Get Active Interpreter, Class name = Go, completed in 5ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.451: Get Active Interpreter, Class name = Go, completed in 5ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.452: Python environment for /usr/bin/python3 is /usr/bin/python3 from Python Extension API is {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"fsPath":"/usr/bin/python3","path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":9,"micro":2,"release":{"level":"final","serial":0},"sysVersion":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"},"tools":[]},"id":"/usr/bin/python3"} and translated is {"id":"/usr/bin/python3","sysPrefix":"/usr","displayPath":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"envName":"","uri":{"$mid":1,"fsPath":"/usr/bin/python3","path":"/usr/bin/python3","scheme":"file"},"displayName":"","envType":"Unknown","version":{"major":3,"minor":9,"patch":2,"raw":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"}}
debug 22:53:01.452: Python environment for /opt/conda/bin/python is /opt/conda/bin/python from Python Extension API is {"internal":{"path":"/opt/conda/bin/python","id":"/opt/conda/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/conda"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/opt/conda","scheme":"file"}},"version":{"major":3,"minor":10,"micro":9,"release":{"level":"final","serial":0},"sysVersion":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"tools":["Conda"]},"id":"/opt/conda/bin/python"} and translated is {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.453: loadData after detecting changes to interpreters
debug 22:53:01.453: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Added =
, Updated =
, Removed =
debug 22:53:01.453: refreshData after detecting changes to interpreters
debug 22:53:01.453: Listing kernels for 3 interpreters (/opt/conda/envs/altair/bin/python, /usr/bin/python3, /opt/conda/bin/python)
debug 22:53:01.453: Listing Python kernels for Interpreter /opt/conda/envs/altair/bin/python
debug 22:53:01.453: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.453: Listing Python kernels for Interpreter /usr/bin/python3
debug 22:53:01.453: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.453: Listing Python kernels for Interpreter /opt/conda/bin/python
debug 22:53:01.454: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning"
debug 22:53:01.454: Full interpreter list is length: 3, /opt/conda/envs/altair/bin/python:altair:Conda:/opt/conda/envs/altair/bin/python, /usr/bin/python3::Unknown:/usr/bin/python3, /opt/conda/bin/python:base:Conda:/opt/conda/bin/python
debug 22:53:01.455: Refreshed Environments
debug 22:53:01.456: Get Active Interpreter, Class name = Go, completed in 3ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.456: Get Active Interpreter, Class name = Go, completed in 3ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.456: Get Active Interpreter, Class name = Go, completed in 3ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
debug 22:53:01.504: Kernel for interpreter /usr/bin/python3 is .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher
debug 22:53:01.505: Kernels for interpreter /usr/bin/python3 are .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher
debug 22:53:01.505: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Added =
, Updated =
, Removed =
debug 22:53:01.514: Loading kernelspec from /opt/conda/share/jupyter/kernels/python3/kernel.json for /opt/conda/bin/python
debug 22:53:01.525: Loading kernelspec from /opt/conda/envs/altair/share/jupyter/kernels/python3/kernel.json for /opt/conda/envs/altair/bin/python
debug 22:53:01.526: Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe', /opt/conda/bin/python for interpreter /opt/conda/bin/python and spec /opt/conda/share/jupyter/kernels/python3/kernel.json
debug 22:53:01.527: Kernel for interpreter /opt/conda/bin/python is .jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher
debug 22:53:01.527: Kernels for interpreter /opt/conda/bin/python are .jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher
debug 22:53:01.527: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Added =
, Updated =
, Removed =
debug 22:53:01.531: Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da', /opt/conda/envs/altair/bin/python for interpreter /opt/conda/envs/altair/bin/python and spec /opt/conda/envs/altair/share/jupyter/kernels/python3/kernel.json
debug 22:53:01.532: Kernel for interpreter /opt/conda/envs/altair/bin/python is .jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher
debug 22:53:01.532: Kernels for interpreter /opt/conda/envs/altair/bin/python are .jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher
debug 22:53:01.532: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher (interpreter id = /usr/bin/python3)', startUsingPythonInterpreter:'.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher (interpreter id = /opt/conda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (interpreter id = /opt/conda/envs/altair/bin/python)'
, Added =
, Updated =
, Removed =
debug 22:53:02.327: _jupyterPythonPathFunction: "file:///workspaces/python-learning" is not a notebook
debug 22:53:02.456: End refreshing Kernel Picker (1678661569275)
debug 22:53:02.962: Got env vars with python /opt/conda/envs/altair/bin/python, with env var count 55 in 11104ms.
 PATH value is /opt/conda/envs/altair/bin:/vscode/bin/linux-x64/5e805b79fcb6ba4c2d23712967df89a089da575b/bin/remote-cli:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin and Path value is undefined
debug 22:53:02.962: Activated Env Variables, PATH value is /opt/conda/envs/altair/bin:/vscode/bin/linux-x64/5e805b79fcb6ba4c2d23712967df89a089da575b/bin/remote-cli:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin and Path value is undefined
debug 22:53:02.962: Getting activated env variables from Python, Class name = ac, completed in 11104ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:02.962: Got env vars with python /opt/conda/envs/altair/bin/python in 11104ms with 55 variables
debug 22:53:02.962: Getting activated env variables impl, Class name = ac, completed in 11105ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:02.962: Getting activated env variables, Class name = ac, completed in 11105ms, has a truthy return value, Arg 1: "/workspaces/python-learning", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>, Arg 3: true
debug 22:53:02.963: Create activated Env, Class name = El, completed in 11106ms, has a truthy return value, Arg 1: {"allowEnvironmentFetchExceptions":true,"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","external":"file:///opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}},"resource":{"$mid":1,"fsPath":"/workspaces/python-learning","external":"file:///workspaces/python-learning","path":"/workspaces/python-learning","scheme":"file"}}
info 22:53:02.980: Process Execution: > /opt/conda/envs/altair/bin/python -m pip list
> /opt/conda/envs/altair/bin/python -m pip list
debug 22:53:08.616: interpreterPackages getPackageInformation, Class name = Zd, completed in 16759ms, has a falsy return value, Arg 1: {"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","external":"file:///opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}}
debug 22:53:11.122: Get Active Interpreter, Class name = Go (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py"
debug 22:53:11.123: Get Active Interpreter, Class name = Go, completed in 1ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Return Value: {"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"},"displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"}}
info 22:53:11.124: Starting interactive window for resource '/workspaces/python-learning/altair/test1.py' with controller '.jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (Interactive)'
debug 22:53:11.286: No controller, hence notebook communications cannot be initialized for editor /Interactive-1.interactive
debug 22:53:11.429: Initialize notebook communications for editor /Interactive-1.interactive
debug 22:53:11.429: Resolving notebook UI Comms (resolve) for /Interactive-1.interactive
debug 22:53:11.430: initialize CommonMessageCoordinator
debug 22:53:11.493: IPyWidgetMessageDispatcher.initialize
debug 22:53:11.493: Attempting to determine version of IPyWidgets
debug 22:53:11.510: Controller selection change completed
debug 22:53:11.510: Storing Preferred remote kernel for /Interactive-1.interactive is undefined
debug 22:53:11.565: Attempting to determine version of IPyWidgets
debug 22:53:11.715: Interactive Window Editor Created: vscode-interactive:/Interactive-1.interactive with input box: vscode-interactive-input:/InteractiveInput-1
debug 22:53:11.730: start the kernel, options.disableUI=false for /Interactive-1.interactive
debug 22:53:11.733: Start Jupyter Session in kernel.ts with disableUI = false
debug 22:53:11.733: Waiting for IPyWidgets version
debug 22:53:11.733: Waiting for IPyWidgets version promise
debug 22:53:11.733: Waiting for IPyWidgets version
debug 22:53:11.733: Waiting for IPyWidgets version promise
info 22:53:11.734: Starting Jupyter Session startUsingPythonInterpreter, .jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher (Python Path: /opt/conda/envs/altair, EnvType: Conda, EnvName: 'altair', Version: 3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]) for '/Interactive-1.interactive' (disableUI=false)
debug 22:53:11.736: Creating raw notebook for resource '/workspaces/python-learning/altair/test1.py'
debug 22:53:11.736: Computing working directory for resource '/workspaces/python-learning/altair/test1.py'
debug 22:53:11.739: Kernel Launcher. launch, Class name = Vp (started execution), Arg 1: {"id":".jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher","kernelSpec":{"specFile":"/home/vscode/.vscode-remote/extensions/ms-toolsai.jupyter-2023.2.1200692131/temp/jupyter/kernels/pythonjvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da/kernel.json","interpreterPath":"/opt/conda/envs/altair/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"pythonjvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"altair","metadata":{"interpreter":{"path":"/opt/conda/envs/altair/bin/python"}},"env":{}},"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":"/opt/conda/envs/altair","displayPath":"/opt/conda/envs/altair","envName":"altair","displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"path":"/opt/conda/envs/altair/bin/python"},"kind":"startUsingPythonInterpreter"}, Arg 2: 60000, Arg 3: "/workspaces/python-learning/altair/test1.py", Arg 4: "/workspaces/python-learning/altair", Arg 5: {"a":false,"b":null}
debug 22:53:11.740: Create activated Env, Class name = El (started execution), Arg 1: {"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","external":"file:///opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"}},"resource":{"$mid":1,"fsPath":"/workspaces/python-learning/altair/test1.py","external":"file:///workspaces/python-learning/altair/test1.py","path":"/workspaces/python-learning/altair/test1.py","scheme":"file"}}
debug 22:53:11.740: Getting activated env variables, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>, Arg 3: undefined
debug 22:53:11.740: Getting activated env variables impl, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.740: Getting activated env variables from Python, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.740: Get Custom Env Variables, Class name = ql (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: "RunPythonCode"
debug 22:53:11.766: Get Custom Env Variables, Class name = ql, completed in 26ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: "RunPythonCode"
debug 22:53:11.767: Got env vars with python /opt/conda/envs/altair/bin/python, with env var count 55 in 27ms.
 PATH value is /opt/conda/envs/altair/bin:/vscode/bin/linux-x64/5e805b79fcb6ba4c2d23712967df89a089da575b/bin/remote-cli:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin and Path value is undefined
debug 22:53:11.767: Activated Env Variables, PATH value is /opt/conda/envs/altair/bin:/vscode/bin/linux-x64/5e805b79fcb6ba4c2d23712967df89a089da575b/bin/remote-cli:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin and Path value is undefined
debug 22:53:11.767: Getting activated env variables from Python, Class name = ac, completed in 27ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.767: Got env vars with python /opt/conda/envs/altair/bin/python in 27ms with 55 variables
debug 22:53:11.767: Getting activated env variables impl, Class name = ac, completed in 27ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.767: Getting activated env variables, Class name = ac, completed in 27ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>, Arg 3: undefined
debug 22:53:11.767: Create activated Env, Class name = El, completed in 27ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","external":"file:///opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"}},"resource":{"$mid":1,"fsPath":"/workspaces/python-learning/altair/test1.py","external":"file:///workspaces/python-learning/altair/test1.py","path":"/workspaces/python-learning/altair/test1.py","scheme":"file"}}
info 22:53:11.832: Process Execution: > /opt/conda/envs/altair/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> /opt/conda/envs/altair/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
debug 22:53:11.859: Launching kernel in kernelProcess.ts, Class name = Fp (started execution), Arg 1: "/workspaces/python-learning/altair", Arg 2: ""
debug 22:53:11.859: Create activated Env, Class name = El (started execution), Arg 1: {"resource":{"$mid":1,"fsPath":"/workspaces/python-learning/altair/test1.py","external":"file:///workspaces/python-learning/altair/test1.py","path":"/workspaces/python-learning/altair/test1.py","scheme":"file"},"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","external":"file:///opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"}}}
debug 22:53:11.859: Getting activated env variables, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>, Arg 3: undefined
debug 22:53:11.859: Getting activated env variables impl, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.859: Getting activated env variables from Python, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.859: Get Custom Env Variables, Class name = ql (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: "RunPythonCode"
debug 22:53:11.860: Getting activated env variables, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>, Arg 3: false
debug 22:53:11.860: Getting activated env variables impl, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.860: Getting activated env variables from Python, Class name = ac (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.860: Get Custom Env Variables, Class name = ql (started execution), Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: "RunPythonCode"
debug 22:53:11.861: Get Custom Env Variables, Class name = ql, completed in 2ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: "RunPythonCode"
debug 22:53:11.861: Get Custom Env Variables, Class name = ql, completed in 1ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: "RunPythonCode"
debug 22:53:11.861: Got env vars with python /opt/conda/envs/altair/bin/python, with env var count 55 in 2ms.
 PATH value is /opt/conda/envs/altair/bin:/vscode/bin/linux-x64/5e805b79fcb6ba4c2d23712967df89a089da575b/bin/remote-cli:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin and Path value is undefined
debug 22:53:11.861: Activated Env Variables, PATH value is /opt/conda/envs/altair/bin:/vscode/bin/linux-x64/5e805b79fcb6ba4c2d23712967df89a089da575b/bin/remote-cli:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin and Path value is undefined
debug 22:53:11.861: Got env vars with python /opt/conda/envs/altair/bin/python, with env var count 55 in 1ms.
 PATH value is /opt/conda/envs/altair/bin:/vscode/bin/linux-x64/5e805b79fcb6ba4c2d23712967df89a089da575b/bin/remote-cli:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin and Path value is undefined
debug 22:53:11.861: Activated Env Variables, PATH value is /opt/conda/envs/altair/bin:/vscode/bin/linux-x64/5e805b79fcb6ba4c2d23712967df89a089da575b/bin/remote-cli:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin and Path value is undefined
debug 22:53:11.862: Getting activated env variables from Python, Class name = ac, completed in 3ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.862: Got env vars with python /opt/conda/envs/altair/bin/python in 3ms with 55 variables
debug 22:53:11.862: Getting activated env variables from Python, Class name = ac, completed in 2ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.862: Got env vars with python /opt/conda/envs/altair/bin/python in 2ms with 55 variables
debug 22:53:11.862: Getting activated env variables impl, Class name = ac, completed in 3ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.862: Getting activated env variables impl, Class name = ac, completed in 2ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>
debug 22:53:11.862: Getting activated env variables, Class name = ac, completed in 3ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>, Arg 3: undefined
debug 22:53:11.862: Getting activated env variables, Class name = ac, completed in 2ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair/test1.py", Arg 2: <Uri:/opt/conda/envs/altair/bin/python>, Arg 3: false
debug 22:53:11.862: Create activated Env, Class name = El, completed in 3ms, has a truthy return value, Arg 1: {"resource":{"$mid":1,"fsPath":"/workspaces/python-learning/altair/test1.py","external":"file:///workspaces/python-learning/altair/test1.py","path":"/workspaces/python-learning/altair/test1.py","scheme":"file"},"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda/envs/altair","path":"/opt/conda/envs/altair","scheme":"file"},"envName":"altair","displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"uri":{"$mid":1,"fsPath":"/opt/conda/envs/altair/bin/python","external":"file:///opt/conda/envs/altair/bin/python","path":"/opt/conda/envs/altair/bin/python","scheme":"file"}}}
info 22:53:11.973: Process Execution: > /opt/conda/envs/altair/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"5a27b245-4d54-4000-bb0c-7042710ec8c1" --shell=9002 --transport="tcp" --iopub=9004 --f=/home/vscode/.local/share/jupyter/runtime/kernel-v2-891mAARnXqJWjdI.json
> /opt/conda/envs/altair/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"5a27b245-4d54-4000-bb0c-7042710ec8c1" --shell=9002 --transport="tcp" --iopub=9004 --f=/home/vscode/.local/share/jupyter/runtime/kernel-v2-891mAARnXqJWjdI.json
info 22:53:11.973: Process Execution: cwd: /workspaces/python-learning/altair
cwd: /workspaces/python-learning/altair
debug 22:53:11.973: Launching kernel in kernelProcess.ts, Class name = Fp, completed in 114ms, has a truthy return value, Arg 1: "/workspaces/python-learning/altair", Arg 2: ""
debug 22:53:12.375: _jupyterPythonPathFunction: Giving Pylance "/opt/conda/envs/altair/bin/python" as python path for "vscode-interactive:/Interactive-1.interactive"
info 22:53:13.358: ipykernel version & path 6.21.3, /opt/conda/envs/altair/lib/python3.10/site-packages/ipykernel/__init__.py for /opt/conda/envs/altair/bin/python
debug 22:53:16.162: KernelProcess error: /opt/conda/envs/altair/lib/python3.10/site-packages/traitlets/traitlets.py:2548: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/opt/conda/envs/altair/lib/python3.10/site-packages/traitlets/traitlets.py:2499: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5a27b245-4d54-4000-bb0c-7042710ec8c1' instead of 'b"5a27b245-4d54-4000-bb0c-7042710ec8c1"'.
  warn(

debug 22:53:16.370: KernelProcess output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing kernel-v2-891mAARnXqJWjdI.json

debug 22:53:16.370: Kernel Output: To connect another client to this kernel, use: --existing kernel-v2-891mAARnXqJWjdI.json

debug 22:53:16.372: KernelProcess error: [IPKernelApp] WARNING | Config option `autoindent` not recognized by `ZMQInteractiveShell`.  Did you mean `autoawait`?

warn 22:53:16.372: StdErr from Kernel Process [IPKernelApp] WARNING | Config option `autoindent` not recognized by `ZMQInteractiveShell`.  Did you mean `autoawait`?

debug 22:53:16.372: KernelProcess error: [IPKernelApp] WARNING | Config option `confirm_exit` not recognized by `ZMQInteractiveShell`.

warn 22:53:16.372: StdErr from Kernel Process [IPKernelApp] WARNING | Config option `confirm_exit` not recognized by `ZMQInteractiveShell`.

debug 22:53:16.476: KernelProcess error: [IPKernelApp] WARNING | Unknown error in handling startup files:

warn 22:53:16.476: StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files:

debug 22:53:16.521: Kernel Launcher. launch, Class name = Vp, completed in 4781ms, has a truthy return value, Arg 1: {"id":".jvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da./opt/conda/envs/altair/python./opt/conda/envs/altair/python.-m#ipykernel_launcher","kernelSpec":{"specFile":"/home/vscode/.vscode-remote/extensions/ms-toolsai.jupyter-2023.2.1200692131/temp/jupyter/kernels/pythonjvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da/kernel.json","interpreterPath":"/opt/conda/envs/altair/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"pythonjvsc74a57bd0cd5707c69df255a2522928ad0f94ba3418324a434d7b3102a6e01d98327f37da","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"altair","metadata":{"interpreter":{"path":"/opt/conda/envs/altair/bin/python"}},"env":{}},"interpreter":{"id":"/opt/conda/envs/altair/bin/python","sysPrefix":"/opt/conda/envs/altair","envPath":"/opt/conda/envs/altair","displayPath":"/opt/conda/envs/altair","envName":"altair","displayName":"altair","envType":"Conda","version":{"major":3,"minor":10,"patch":9,"raw":"3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]"},"path":"/opt/conda/envs/altair/bin/python"},"kind":"startUsingPythonInterpreter"}, Arg 2: 60000, Arg 3: "/workspaces/python-learning/altair/test1.py", Arg 4: "/workspaces/python-learning/altair", Arg 5: <argument cannot be serialized for logging>
debug 22:53:16.561: Waiting for Raw Session to be ready in postStartRawSession
debug 22:53:16.561: Waiting for Raw session to be ready, currently connected
debug 22:53:16.561: Raw session connected
debug 22:53:16.561: Waiting for Raw session to be ready for 30s
debug 22:53:16.562: Waited for Raw session to be ready & got connected
debug 22:53:16.562: Successfully waited for Raw Session to be ready in postStartRawSession
debug 22:53:16.562: Kernel status before requesting kernel info and after ready is unknown
debug 22:53:16.562: Sending request for kernelinfo
debug 22:53:18.063: Got response for requestKernelInfo
debug 22:53:18.063: Successfully compelted postStartRawSession
info 22:53:18.064: Started Kernel altair (Python 3.10.9) (pid: 2361)
debug 22:53:18.065: Started running kernel initialization for /Interactive-1.interactive
debug 22:53:18.066: Executing silently Code (unknown) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy

Coding Language and Runtime Version
Python 3.10.9
Language Extension Version (if applicable)
2023.4.1
Anaconda Version (if applicable)
conda 23.1.0
Running Jupyter locally or remotely?
Local

Something similar is happening to me after updating VSCode to:

Version: 1.76.2 (system setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: Yes

It keeps looping with the output:

debug 18:43:20.320: refreshData after detecting changes to interpreters
debug 18:43:20.320: Full interpreter list is length: 0,
debug 18:43:20.320: Refreshed Environments
debug 18:43:20.320: Full interpreter list after refreshing (total 0ms, resolve 0ms, refresh 0ms) is length: 0,
debug 18:43:20.320: loadData after detecting changes to interpreters
debug 18:43:20.320: Updating cache with Python kernels
, Added =
, Updated =
, Removed =

Then anything works. I used to run jupyter via docker and connect with remote kernel.

@osouza-de please could you file a sepearate issue, it looks unrelated
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.
Please do provide all of the logs from the Jupyter output panel

Once again, please file a separate issue (helps us)

@broander
thanks for filing this issue and sorry you are running into this.
I will try this out on code spaces my self, will keep you posted.

@broander
I am unable to repro this at my end.
Tried in code spaces as well, i think it could be specific to some package you have installed or the like
Please could you share more information like the devcontainer.json file on codespaces,

that should be good enough to repro this.

I created a new environment clone of my base named 'altair' and installed a few packages to that env.

Possible there is something in this that might help me figure this issue.
Once you have activated your problematic conda environment, please couled you run the following command and then share this yml file
conda env export > conda_env.yml
Please try this on code spaces (as thats a reproducible enviroinment)

@DonJayamanne Thanks for taking a look!  Here's a repo I created with my codespace setup files you could use to reproduce the environment.  Just build the repo into a codespace, and then try running the test.py file in the repo in the interactive window, and it never, just sits there forever initializing the kernel.  This is true for both conda envs that are installed, 'base' and 'altair'.

Thank you very much for providing that information and the setup.
I have tried it, and just used Jupyter Lab inside that environment and that too fails.
Basically Jupyter Application is also getting stuck, and that leads me to the conclusion that this is not an issue with the Jupyter extension in vs code, isntead it is an upstream issue.
Please could you file an issue on the Jupyter repo about this,
As this is environment (not caused by VS Code), there isn't much I can do about this, apart from suggesting that you not update all the packages.

authors: DonJayamanne broander osouza-de

repo: microsoft/vscode-jupyter


text:
restart jupyter kernel only works through clicking restart button in interactive window

Environment data
VS Code version: 1.51.1
Extension version (available under the Extensions sidebar): 2020.11.371526539
Jupyter Extension version (available under the Extensions sidebar): v2020.11.399280825
OS (Windows | Mac | Linux distro) and version: Mac Pro, mac Catalina 10.15.7
Python and/or Anaconda version: 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Conda virtual environment
Jupyter server running: Local
Wrong behaviour
The jupyter restart kernel keyboard shortcut does not work, even when triggering it with the command pallete. It does work when i click the restart icon in the interactive window. How could i trigger the restart kernel again with a keyboard shortcut? I already resetted all my keyboard shortcuts so that could not be the issue.

Thanks for the bug.
Restarting the kernel in the interactive window requires the window has focus.

Hi @rchiodo
Thanks for you reply, but i actually mean the keyboard shortcut when coding in the .py file, like in a jupyter cell with #%%. Also, every time when i restart the kernel it asks as an option: yes, and don't ask again. But when i click the yes don't ask again it just keep asking me that question when I restart the kernel later on, it does not remember my choice.

But when i click the yes don't ask again it just keep asking me that question when I restart the kernel later on, it does not remember my choice.

That should have unchecked this setting here:

If it didn't you should be able to uncheck it yourself.
Keyboard shortcut while a python file has focus does make sense. We should change the code to make that possible too.

That should have unchecked this setting here

Where could i find that setting?

Keyboard shortcut while a python file has focus does make sense. We should change the code to make that possible too.

Thanks for considering it, it was a functionality that I used a lot when it was possible with the keyboard shortcuts originally falling under the datascience name instead of the jupyter name.

Where could i find that setting?

Command Palette: Open Settings UI and type 'kernel restart' should find it.

Command Palette: Open Settings UI and type 'kernel restart' should find it.

Thanks i found it, however, I get the error that i am not able to write into users settings. my user settings are:
{
    "terminal.integrated.inheritEnv": false,
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "window.zoomLevel": 0,
    "editor.minimap.enabled": false,
    "python.showStartPage": false,
    "python.languageServer": "Microsoft",
    "workbench.colorTheme": "Cobalt2",
    "editor.fontSize": 15,
    "python.autoComplete.extraPaths": [
        '/Users/name/anaconda3/envs'
    ],
    "jupyter.sendSelectionToInteractiveWindow": true
}

I get the error that i am not able to write into users settings.

Not sure why you can't write to that file, but that's the reason why the message keeps popping up.

I will look online to find a solution, thanks for your help!

Closing in favor of https://github.com/microsoft/vscode-jupyter/issues/6996

authors: StefanBloemheuvel joyceerhl rchiodo


text:
Unresponsive cells after viewing variable in data viewer

Issue Type: Bug
-run cells
-select: show variable
-go back to the the tab with the .ipynb code
-click on a different cell
-now there is two cursors blinking in two different cells taking no keyboard input

-to type again i have to select another tab and go back to this one
-then i can finally type i again
Not a huge issue but quite annoying.
Extension version: 2021.6.832593372
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T16:45:26.313Z)
OS version: Linux x64 5.10.41-1-MANJARO

Also running github theme, latex workshop, live share, python, pylance extensions
System Info

Item
Value

CPUs
AMD Ryzen 5 1600 Six-Core Processor (12 x 3692)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
15.59GB (8.90GB free)

Process Argv
--no-sandbox --unity-launch --crash-reporter-id 1ef437d3-6074-4443-91e4-2c5484053672

Screen Reader
no

VM
0%

DESKTOP_SESSION
xfce

XDG_CURRENT_DESKTOP
XFCE

XDG_SESSION_DESKTOP
xfce

XDG_SESSION_TYPE
x11

@pyr-kaboosh I can't replicate the behavior you describe (though I'm on Windows)--does this happen every time for you? Are there any additional steps you have to take in order for this to occur? (It might be simpler to provide a screen recording using software like gifcap.dev)

@pyr-kaboosh, We believe that this has been fixed in the latest versions of notebooks in VS Code. These are available by installing VS Code Insiders. Can you check to see if that works for you? If so, this will be addressed in an upcoming release.

It seems difficult to replicate and doesn't always happen. There must be some other reason as well that triggers it. IF it happens again I'll make sure to document it better. But apparently it has been fixed.

authors: greazer joyceerhl pyr-kaboosh


text:
PR creation progress notification shown, but didn't notice it...

Testing #3761
In checking the progress bar aspect, I did see the progress notification box appear in the lower right corner of vscode, but I wasn't looking there. I kinda expected a progress bar to show in the Create view.

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/3743

I also added the spinner to the "Create" view yesterday, so even if you don't notice the notification you will see something that indicates that it's not stuck near where you clicked.

repo: microsoft/vscode-pull-request-github


text:
Unable to open a file

Extension version: 0.1.6
VSCode Version: 1.27.2
OS: Linux mint

Checkout the branch to go in review mode and try to open a file. I get an error that a file cannot be opened (and the path in error message is correct + file is present).

Can you check if there's anything in the dev console when this happens? Does this happen for every file, or only specific files?

@Siegrift do you have a monorepo?

@RMacfarlane @ajkl2533 Hello and sorry for late reply, I was busy at work.
Unfortunately, there is nothing in a dev console. It happens for every file that I've received comments on. When I click on the comment I can see the file appearing for a split second, but then the error is shown. The project is private, so I can't give much details, however I am adding a screenshot for more context.

I'm clearing out some old issues and am going to go ahead and close this since I can't currently reproduce it and there haven't been further reports of it

authors: RMacfarlane Siegrift ajkl2533


text:
Mark Current File as Viewed and Move to the Next File in the Pull Request

I am trying to create a single command (F6) that will

Mark the file as Viewed and then
Move to the next file in the PR.

Yet, I am having issues with both commands; see #6248 and #6247.
Here's the full command definition.
    {
        "key": "f6",
        "command": "runCommands",
        "when": "textCompareEditorVisible",
        "args": {
            "commands": [
                "pr.markFileAsViewed",
                "pr.goToNextDiffInPr"
            ]
        }
    }

Is there a better way to achieve this goal?

Those commands both only work if you have checked out the PR. Does your command work if you check out the PR?

Closing because no further info was provided.


text:
Support for recognizing references to classes

The issue:
class Video:
    def something(self):
        print('something)

v1 = Video(); v2 = Video(); v3 = Video()
videos = [v1, v2, v3]
for v in videos:
    v.something()

In the code above, pylint does not recognize that v belongs to the Videos class. So if I Ctrl+click on something() at the v.something() line, I'm not taken to the Video class. This also makes it difficult when renaming member variables and member functions. Please improve the linter to provide support for such a scenario (and more scenarios if any, where the references to functions, classes or variables aren't being recognized).

pylint is a linter, it does not do such analysis. You might talking about go to definition feature from pylance. Moving this to the appropriate repository.

repo: microsoft/vscode-pylint


text:
No outline and breadcrumbs available

Issue Type: Bug
After some time breadcrumbs and outline is not available. After the restart it works fine but after some time they disappear again.
Extension version: 2020.11.371526539
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 5.4.0-54-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (4 x 2295)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.88GB (1.94GB free)

Process Argv
--crash-reporter-id 28237666-e28f-4c17-a38f-eea0e6746a6b

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: sandlet

OS
Linux x64 5.4.0-54-generic

CPUs
Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz (4 x 3509)

Memory (System)
15.55GB (0.77GB free)

VM
0%

Unfortunately you didn't fill out our issue template, so please open a new issue with those details filled in. Also please be clear as to what you mean by "breadcrumbs" (i.e. for file paths?), as displaying file path breadcrumbs and outlines is controlled by VS Code, we just provide the data to be displayed.

authors: brettcannon ralfeus

repo: microsoft/vscode-python


text:
Not all tests get recognized

Testing #18349
I have two test tiles sometest.py and someasdfasdftest.py but only one test file gets discovered. You can see my test options on the right.

I'm not a python pro so I might be holding it wrong, is this expect? Both files contain essentially:
import unittest

class TestSum(unittest.TestCase):

    def test_sum(self):
        self.assertEqual(sum([1, 2, 3]), 6, "Should be 6")

    def test_sum_tuple(self):
        self.assertEqual(sum((1, 2, 2)), 6, "Should be 6")

if __name__ == '__main__':
    unittest.main()

if I delete someasfdasdftest.py then the tests in sometest.py are recognized.
Ubuntu 20.04
cc @TylerLeonhardt

Run into the same problem, testing on mac

Hi @TylerLeonhardt-alt can you please run the discovery command in your terminal and copy the output? does it show you any error?

I don't see anything besides:
> conda run -n base --no-capture-output python ~/.vscode-insiders/extensions/ms-python.python-2022.0.1753204050-dev/pythonFiles/testing_tools/unittest_discovery.py . *test.py

someasdfasdfasdfasdftest:TestSum2:test_sum2:6
someasdfasdfasdfasdftest:TestSum2:test_sum2_tuple:9

Thanks @TylerLeonhardt-alt i was able to reproduce the issue

This is caused due to conda/conda#10972, the problem is that conda fails at quoting command parameters, and it is getting preprocessed value.

@paulacamargo25 what is the status on this? If this is testing than it should probably be fixed on the re-write but would be good to know either way.

authors: TylerLeonhardt-alt eleanorjboyd paulacamargo25 sana-ajani


text:
i18n for zh-cn not working

Type: Bug
use a  zh-cn language setting
Extension version: 2022.14.0
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:12:14.256Z)
OS version: Linux x64 5.15.0-47-generic
Modes:
Sandboxed: No
Connection to 'SSH: hosted-jump-sgao' could not be established  Canceled
Connection to 'SSH: r6-sgao' could not be established  Canceled
Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64
Connection to 'SSH: r99' could not be established  Canceled
Connection to 'SSH: r99' could not be established  Canceled
Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64
Connection to 'SSH: r5-root' could not be established  Canceled
Connection to 'attached-container+7b22636f6e7461696e65724e616d65223a222f73696d63656e7433227d' could not be established
Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64
Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64
Connection to 'SSH: r2-data_oper' could not be established  Canceled
Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64
Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3200)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
3, 3, 3

Memory (System)
62.65GB (37.20GB free)

Process Argv
--unity-launch --crash-reporter-id d6eee9fc-6660-477a-8405-4d115a8c0351 --crash-reporter-id d6eee9fc-6660-477a-8405-4d115a8c0351

Screen Reader
yes

VM
0%

DESKTOP_SESSION
plasma

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
x11

Connection to 'SSH: hosted-jump-sgao' could not be established  Canceled
Connection to 'SSH: r6-sgao' could not be established  Canceled

Item
Value

Remote
SSH: r99

OS
Linux x64 3.10.0-1160.45.1.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)

Memory (System)
1510.32GB (1040.76GB free)

VM
0%

Connection to 'SSH: r99' could not be established  Canceled
Connection to 'SSH: r99' could not be established  Canceled

Item
Value

Remote
SSH: r99

OS
Linux x64 3.10.0-1160.45.1.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)

Memory (System)
1510.32GB (1040.75GB free)

VM
0%

Connection to 'SSH: r5-root' could not be established  Canceled
Connection to 'attached-container+7b22636f6e7461696e65724e616d65223a222f73696d63656e7433227d' could not be established

Item
Value

Remote
SSH: r99

OS
Linux x64 3.10.0-1160.45.1.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)

Memory (System)
1510.32GB (1040.76GB free)

VM
0%

Item
Value

Remote
SSH: r99

OS
Linux x64 3.10.0-1160.45.1.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)

Memory (System)
1510.32GB (1040.76GB free)

VM
0%

Connection to 'SSH: r2-data_oper' could not be established  Canceled

Item
Value

Remote
SSH: r99

OS
Linux x64 3.10.0-1160.45.1.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)

Memory (System)
1510.32GB (1040.76GB free)

VM
0%

Item
Value

Remote
SSH: r99

OS
Linux x64 3.10.0-1160.45.1.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)

Memory (System)
1510.32GB (1040.76GB free)

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
2144e591:30553903
pyindex848:30577860
40g7c324:30573242

Thanks for the bug report, the problem is in all the translations, not only in the python extension, so I will close the issue because it will be fixed here.


text:
Prototype changes on global JS objects may break other extensions

See https://github.com/rust-lang/rust-analyzer/issues/13442 for an instance of a polyfill set (globally) on String's prototype breaking another extension. The polyfill was added here: #17582
I think that making any changes to any prototypes that may affect other extensions is probably something to be avoided and can be easily avoided by using regular "free" functions.

We should move all prototype extensions to independent functions to avoid this kind of problem. They are all defined here:
https://github.com/microsoft/vscode-python/blob/main/src/client/common/extensions.ts

Closing in favor of https://github.com/microsoft/vscode-python/issues/18871

authors: karrtikr karthiknadig yotamofek


text:
Set different python interpreter for different folders in the same worksapce

As the title suggests, is there a way to set up different Python interpreters for different folders in the same workspace?
I know this can be achieved through manual selection "Ctrl+Shift+P" -> "Python: Select Interpreter", but it is obvious that repeated operations is very complicated. Is there a way to achieve this?

Related on Stack Overflow :Auto-switching Python Virtual Environments in Visual Studio Code per Directory within a Workspace

Look at multi root workspaces. Multi-root workspaces are intended for this purpose: https://code.visualstudio.com/docs/editor/workspaces#_multiroot-workspaces

authors: karthiknadig ydmykr


text:
Show native TensorBoard prompt when user launches TensorBoard from integrated terminal

For https://github.com/microsoft/vscode-python/issues/15007, https://github.com/microsoft/vscode-jupyter/issues/313

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #15008 (fa87f41) into main (48d66bd) will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##            main   #15008   +/-   ##
======================================
  Coverage     65%      65%
======================================
  Files        558      559    +1
  Lines      26221    26267   +46
  Branches    3729     3730    +1
======================================
+ Hits       17150    17191   +41
- Misses      8377     8380    +3
- Partials     694      696    +2

Impacted Files
Coverage Δ

src/client/tensorBoard/tensorBoardImportTracker.ts
93% <100%> (+4%)
:arrow_up:

src/client/tensorBoard/tensorBoardPrompt.ts
97% <100%> (ø)

src/client/tensorBoard/helpers.ts
76% <0%> (-6%)
:arrow_down:

src/client/ioc/container.ts
56% <0%> (-4%)
:arrow_down:

src/client/telemetry/index.ts
76% <0%> (-2%)
:arrow_down:

src/client/ioc/serviceManager.ts
39% <0%> (-1%)
:arrow_down:

src/client/ioc/types.ts
100% <0%> (ø)

src/client/telemetry/types.ts
100% <0%> (ø)

src/client/telemetry/importTracker.ts
31% <0%> (ø)

src/client/telemetry/envFileTelemetry.ts
94% <0%> (ø)

... and 1 more

source: gharchive/pull-request

authors: codecov-io joyceerhl


text:
Esc doesn't work when gear icon has focus

Testing #107610

ubuntu20 w/ orca
tab into the gear icon, e.g so that it has a focus border
:bug: press Esc and nothing happens, press Tab and you end up in the activity bar

I see that the action bar intercepts all "escape" keypresses, @isidorn it looks like you worked with this, do you know of a way to disable or intercept this or should I just plumb an option to disable that behavior through from ToolBar?

@roblourens The thing I changed: previosuly pressing esc in actionBar would lose focus. I just changed that pressing esc should have no immediate effect. It just triggers the onDidCancel event. So ideally you should be able to listen to this event and do what you want.

I want to be able to trigger a command with escape in the normal way, so I want actionBar to not intercept escape at all. I'll add an option or that

authors: isidorn jrieken roblourens

repo: microsoft/vscode


text:
To be able to accept all current/incoming changes when solving merge conflicts in a file

When merging a branch, we can accept the current/incoming/both changes.
Sometimes, it happens I already know I need to accept all current (or incoming) changes. I would like to do it using a button on top of the conflicting file, to automatically allow all current changes (and discard the incoming) if I click on an "accept all current" changes.
To discuss if "accept all changes" (which would do an "accept both changes") button would be worth.

There are context menu actions in the SCM viewlet (https://github.com/microsoft/vscode/issues/53133). Does that address your request?

Absolutely! Thank you @chrmarti

authors: chrmarti khalyomede


text:
Extension Configuration Editing cannot format  main.c

VSCode Version: 1.50.0
OS Version:Win10 2004

Steps to Reproduce:
1.format c file with key shift+alt+f
2.tips Extension Configuration Editing cannot format  main.c
3.but another PC can format it

Does this issue occur when all extensions are disabled?: Yes/No

Did you maybe change the language mode of the file? What is the programming language shown in the statusbar (lower right)? I would expect it to show C:

Ln714,Col 6 Space:4 UTF-8 LF C Linux

Looks like you have configured the Configuration Editing extension as default formatter. Check the editor.defaultFormatter setting and unset its value

thanks,my editor.defaultFormatter is config with others

authors: SmartElec chrmarti jrieken


text:
Bug in "detecting an armstrong number in c++ for no.153" program

The following code was written by me for 3-digit numbers and it's working perfectly fine except for the armstrong no. '153'.
Actual result: 3 27 15
5 151 1
1 152 0
no
Expected result:  3 27 15
5 152 1
1 153 0
yes
CODE :-
#include
#include<math.h>
using namespace std;
int main(){
int n;
cin>>n;
int sum=0;
int ogn=n;

while(n>0){
   int lastdigit= n%10;
   sum+= pow(lastdigit,3);
   n= n/10;
   cout<<lastdigit<<" "<<sum<<" "<<n<<endl;
}

if(sum==ogn)
{cout<<"yes";}
else
{cout<<"no";}

return 0;

}

/question

authors: AnirudhBot gjsjohnmurray


text:
Code is always formatted on save, even with option explicitly disabled

Issue Type: Bug

Save a TypeScript or JavaScript file with some formatting issues.
It automatically formats it, even with the "Format on save" option disabled.

I am used to toggling the editor.formatOnSave option on and off (using Formatting Toggle), but for some reason, starting just today, VS Code always formats it on save, even when the option is disabled.
Things I've tried:

disabled the Formatting Toggle extension, and just manually ensured the setting is disabled in the GUI settings
verified the editor.formatOnSave setting is not present in either my User or Workspace settings JSON
explicitly setting "editor.formatOnSave": false in both User and Workspace settings JSON
disabling prettier and several other extensions
restarting

And it still formats on save. Always.
Manually running "Save without formatting" from the command palette works, thankfully, but that is a real pain.
VS Code version: Code 1.54.3 (2b9aebd5354a3629c3aba0a5f5df49f43d6689f8, 2021-03-15T11:00:52.911Z)
OS version: Darwin arm64 20.3.0

System Info

Item
Value

CPUs
undefined

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
9, 10, 10

Memory (System)
16.00GB (0.19GB free)

Process Argv
--crash-reporter-id b7f24429-d0c2-46f2-8285-c0ca6ee53f2e

Screen Reader
no

VM
0%

Extensions (53)

Extension
Author (truncated)
Version

vscode-color-pick
ada
0.6.2

svelte-intellisense
ard
0.7.1

snapshot-tools
asv
0.4.0

vscode-mjml
att
1.6.0

change-color-format
bbu
1.0.0

color-info
bie
0.5.1

comment-tagged-templates
bie
0.3.1

markdown-preview-github-styles
bie
0.1.6

vscode-styled-jsx
bla
2.0.0

vscode-tailwindcss
bra
0.5.9

turbo-console-log
Cha
2.1.6

jsrefactor
cms
2.20.6

vscode-eslint
dba
2.1.19

EditorConfig
Edi
0.16.4

prettier-vscode
esb
6.3.1

vscode-open-in-github
fab
1.2.3

styled-components-extractor
Fal
0.0.7

vscode-firefox-debug
fir
2.9.2

vscode-svelte-snippets
fiv
0.5.0

vscode-pull-request-github
Git
0.24.0

beautify
Hoo
1.5.0

svg
joc
1.4.5

circleci-vscode
jod
0.2.2

minifyall
jos
2.5.8

vscode-styled-components
jpo
1.5.0

vscode-deno-extensionpack
jus
0.3.0

vscode-colorize
kam
0.11.0

theme-karyfoundation-themes
kar
20.0.3

deno-std-lib-snippets
lau
0.0.8

rainbow-csv
mec
1.8.1

dotenv
mik
1.0.1

vscode-edits-history
mis
0.1.6

vscode-docker
ms-
1.11.0

python
ms-
2021.3.680753044

jupyter
ms-
2021.3.684299474

remote-containers
ms-
0.163.2

remote-ssh
ms-
0.65.1

remote-ssh-edit
ms-
0.65.1

remote-wsl
ms-
0.54.6

vscode-typescript-tslint-plugin
ms-
1.3.3

vscode-streamdeck
nic
4.1.5

vscode-jest
Ort
3.2.0

convert-css-in-js
pau
1.1.3

material-icon-theme
PKi
4.6.0

vscode-yaml
red
0.17.0

react-snippets
run
0.1.3

partial-diff
ryu
1.4.2

gitconfig
sid
2.0.1

unique-window-colors
stu
1.0.51

control-snippets
svi
1.9.1

selectline-statusbar
tom
0.0.2

sort-lines
Tyr
1.9.0

haml
vay
1.0.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
openwsldoc:30280162
vspre833:30267464
vshan820:30276952

Please retry without extensions enabled. Select 'Extensions View > ... > Disable all Installed Extensions' and try again. Thanks.

That fixed it. Will take me a while to figure out which extension was the culprit but I guess I can close this as it's not an issue with VS Code. Thanks!

That fixed it. Will take me a while to figure out which extension was the culprit but I guess I can close this as it's not

We have a tool for that: "F1 > Start Extension Bisect" (see https://code.visualstudio.com/blogs/2021/02/16/extension-bisect)

authors: callumlocke jrieken


text:
Terminal is keep compiling the project and it is getting hard to view the errors in that loop compilation. Please help me to resolve this ASAP! thanks!

VS Code Version:
OS Version:

Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes/No

/needsMoreInfo
Is it some request for integrated terminal  functionality? If yes then you need to specify problem and expected terminal behavior.
If it's general question - please ask it in appropriate places like Stackoverflow.com . This issue tracker is for VS Code editor itself.