Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Changes to .env not picked up on Jupyter Kernel Restart #11746

Closed
jtele2 opened this issue Oct 22, 2022 · 4 comments
Closed

Changes to .env not picked up on Jupyter Kernel Restart #11746

jtele2 opened this issue Oct 22, 2022 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@jtele2
Copy link

jtele2 commented Oct 22, 2022

Environment variables are only loaded once - not after kernel restarts on Juypter Interactive.

E.g., I'm having very similar issues to these closed issues:

This fix does not work for me:

Environment data

  • VS Code version: 1.72.2 (user setup)
  • Jupyter Extension version (available under the Extensions sidebar): v2022.9.1202862440
  • Python Extension version (available under the Extensions sidebar): v2022.16.1
  • OS (Windows | Mac | Linux distro) and version: Ubuntu 20.04.4 LTS
  • Python and/or Anaconda version: Python 3.8.10
  • Type of virtual environment used: venv
  • Jupyter server running: Local
  • Remote - SSH: v0.90.1

Expected behavior

  1. Set path for python environment variables
    "python.envFile": "${workspaceFolder}/developer/.env"
# .env file
FOO=BAR
  1. Start Jupyter Interactive Window.
  2. %env FOO --> BAR
  3. Change .env: FOO=BAZ and save
  4. Restart Jupyter Kernel
  5. Get new variable assignment: %env FOO --> BAZ

Actual behavior

New variable assignment not picked up: %env FOO --> BAR.

The only way I can get it to pick up the new definition is through Developer: Reload Window or Python: Clear Cache and Reload Window

I am using Remote - SSH. Could that have an impact?

Logs

Output for Jupyter in the Output panel

Visual Studio Code (1.72.2, ssh-remote, desktop)
Jupyter Extension Version: 2022.9.1202862440.
Python Extension Version: 2022.16.1.
Workspace folder /home/ubuntu/****
info 18:51:04.416: ZMQ install verified.
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 18:51:04.884: LSP Notebooks experiment is enabled
info 18:51:05.393: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 41 in 53ms
info 18:51:05.414: Process Execution: > ~/****/.venv/bin/python -m pip list
> ~/****/.venv/bin/python -m pip list
info 18:51:05.844: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 41 and custom env var count 1 in 503ms
info 18:51:23.315: Starting interactive window for resource ''
info 18:51:23.461: Preferred Remote kernel for Interactive-1.interactive is undefined
info 18:51:26.310: Starting Jupyter Session startUsingPythonInterpreter, .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu/****/.venv/python./home/ubuntu/****/.venv/python.-m#ipykernel_launcher (Python Path: /home/ubuntu/****/.venv, EnvType: Venv, EnvName: '.venv', Version: 3.8.10) for 'Interactive-1.interactive' (disableUI=false)
info 18:51:26.310: Computing working directory for resource ''
info 18:51:26.313: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 41 and custom env var count 1 in 2ms
info 18:51:26.314: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 41 in 3ms
info 18:51:26.326: Process Execution: > ~/****/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> ~/****/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
info 18:51:26.339: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 41 and custom env var count 1 in 3ms
info 18:51:26.340: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 41 and custom env var count 1 in 3ms
info 18:51:26.340: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 41 in 4ms
info 18:51:26.340: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 41 in 3ms
info 18:51:26.354: Process Execution: > ~/****/.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"fbed85fe-2b38-4bdd-bac2-a8cd0badd884" --shell=9002 --transport="tcp" --iopub=9004 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-239811U7ROavMD6dHO.json
> ~/****/.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"fbed85fe-2b38-4bdd-bac2-a8cd0badd884" --shell=9002 --transport="tcp" --iopub=9004 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-239811U7ROavMD6dHO.json
info 18:51:26.354: Process Execution: cwd: ~/****
cwd: ~/****
info 18:51:26.513: ipykernel version & path 6.16.1, ~/****/.venv/lib/python3.8/site-packages/ipykernel/__init__.py for /home/ubuntu/****/.venv/bin/python
info 18:51:26.812: Kernel Output: To connect another client to this kernel, use: --existing kernel-v2-239811U7ROavMD6dHO.json

info 18:51:27.005: Started Kernel .venv (Python 3.8.10) (pid: 240979)
info 18:51:27.132: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 41 and custom env var count 1 in 2ms
info 18:51:27.132: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 41 in 2ms
info 18:51:27.148: Process Execution: > ~/****/.venv/bin/python ~/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/pythonFiles/printJupyterDataDir.py
> ~/****/.venv/bin/python ~/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/pythonFiles/printJupyterDataDir.py
info 18:51:51.622: Restart requested vscode-interactive:Interactive-1.interactive
info 18:51:51.622: Restart kernel execution
info 18:51:51.623: Restarting f0286115-210d-433b-8f28-8cf890b4f7bd
info 18:51:51.629: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 41 in 6ms
info 18:51:51.643: Process Execution: > ~/****/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> ~/****/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
info 18:51:51.657: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 41 in 8ms
info 18:51:51.657: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 41 in 7ms
info 18:51:51.700: Process Execution: > ~/****/.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9008 --control=9006 --hb=9005 --Session.signature_scheme="hmac-sha256" --Session.key=b"0ff0da84-9cf9-407a-b4f9-e446988c0866" --shell=9007 --transport="tcp" --iopub=9009 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-239811HzyfgeQURxkV.json
> ~/****/.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9008 --control=9006 --hb=9005 --Session.signature_scheme="hmac-sha256" --Session.key=b"0ff0da84-9cf9-407a-b4f9-e446988c0866" --shell=9007 --transport="tcp" --iopub=9009 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-239811HzyfgeQURxkV.json
info 18:51:51.700: Process Execution: cwd: ~/****
cwd: ~/****
info 18:51:51.817: ipykernel version & path 6.16.1, ~/****/.venv/lib/python3.8/site-packages/ipykernel/__init__.py for /home/ubuntu/****/.venv/bin/python
info 18:51:52.000: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 41 and custom env var count 1 in 351ms
info 18:51:52.002: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 41 and custom env var count 1 in 379ms
info 18:51:52.025: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 41 and custom env var count 1 in 375ms
info 18:51:52.218: Kernel Output: To connect another client to this kernel, use: --existing kernel-v2-239811HzyfgeQURxkV.json

info 18:51:52.317: Got new session 8e103e1e-7c29-49ec-ba73-ce3336ceee2b
info 18:51:52.317: Started new restart session
info 18:51:52.318: Dispose Kernel process 240979.

@jtele2 jtele2 added the bug Issue identified by VS Code Team member as probable bug label Oct 22, 2022
@DonJayamanne
Copy link
Contributor

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.

@DonJayamanne
Copy link
Contributor

Change .env: FOO=BAZ and save

how are you changing this file, is it from within a vscode editor or via the terminal or outside vscode?

@jtele2
Copy link
Author

jtele2 commented Oct 23, 2022

how are you changing this file, is it from within a vscode editor or via the terminal or outside vscode?

I am changing the file from within a VS Code editor.

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.

In the logs below, I start Jupyter Interactive, successfully get the value of FOO=BAR set in my .env file which is located in in my /$HOME/****/developer directory, and then change the value to FOO=BAZ. I restart the Jupyter Kernel, and still get %env FOO --> BAR. A third test, I add another env var, and it does not get picked up at all.

I am setting this value in my workspace.code-workspace file:

    "settings": {
        "python.envFile": "${workspaceFolder}/developer/.env"
    }

The strange part is, if I add a new environment var, the Jupyter logs pick it up, but I can't access the new variable or variable changes. For example:

info 11:43:35.888: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 42 and custom env var count 2 in 2ms

If I add a 3rd env var to my .env file, the above line changes from 42 to 43, but the custom env var count remains at 2.

info 11:54:00.805: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 43 and custom env var count 2 in 337ms
Updated Verbose Jupyter Logs

```Visual Studio Code (1.72.2, ssh-remote, desktop) Jupyter Extension Version: 2022.9.1202862440. Python Extension Version: 2022.16.1. Workspace folder /home/ubuntu/**** info 11:42:32.323: ZMQ install verified. User belongs to experiment group 'jupyterTest' User belongs to experiment group 'jupyterEnhancedDataViewer' info 11:42:33.096: LSP Notebooks experiment is enabled info 11:42:34.656: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 42 in 67ms info 11:42:34.681: Process Execution: > ~/****/.venv/bin/python -m pip list > ~/****/.venv/bin/python -m pip list info 11:42:35.205: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 42 and custom env var count 2 in 615ms info 11:43:31.631: Starting interactive window for resource '' debug 11:43:31.631: Get Active Interpreter, Class name = I (started execution), Arg 1: undefined debug 11:43:31.631: Get Active Interpreter, Class name = I, completed in 0ms, has a truthy return value, Arg 1: undefined debug 11:43:31.779: No controller, hence notebook communications cannot be initialized for editor Interactive-1.interactive debug 11:43:31.779: Get Active Interpreter, Class name = I (started execution), Arg 1: "Interactive-1.interactive" debug 11:43:31.782: Get Active Interpreter, Class name = I, completed in 3ms, has a truthy return value, Arg 1: "Interactive-1.interactive" debug 11:43:31.783: TargetController found ID: .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu/****/.venv/python./home/ubuntu/****/.venv/python.-m#ipykernel_launcher (Interactive) for document Interactive-1.interactive info 11:43:31.784: Preferred Remote kernel for Interactive-1.interactive is undefined debug 11:43:31.846: Intiailize notebook communications for editor Interactive-1.interactive debug 11:43:31.846: Resolving notebook UI Comms (resolve) for Interactive-1.interactive debug 11:43:31.846: initialize CommonMessageCoordinator debug 11:43:31.910: IPyWidgetMessageDispatcher.initialize debug 11:43:31.912: Controller selection change completed debug 11:43:31.912: Storing Preferred remote kernel for Interactive-1.interactive is undefined debug 11:43:34.640: start the kernel, options.disableUI=false debug 11:43:34.642: Start Jupyter Session in kernel.ts with disableUI = false info 11:43:34.642: Starting Jupyter Session startUsingPythonInterpreter, .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu/****/.venv/python./home/ubuntu/****/.venv/python.-m#ipykernel_launcher (Python Path: /home/ubuntu/****/.venv, EnvType: Venv, EnvName: '.venv', Version: 3.8.10) for 'Interactive-1.interactive' (disableUI=false) debug 11:43:34.643: Creating raw notebook for resource '' info 11:43:34.643: Computing working directory for resource '' debug 11:43:34.643: Kernel Launcher. launch, Class name = r (started execution), Arg 1: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/temp/jupyter/kernels/python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0/kernel.json","interpreterPath":"/home/ubuntu/****/.venv/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3.8.10 ('.venv': venv)","metadata":{"interpreter":{"path":"/home/ubuntu/****/.venv/bin/python"}},"env":{}},"interpreter":{"id":"/home/ubuntu/****/.venv/bin/python","sysPrefix":"/home/ubuntu/****/.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv","path":"/home/ubuntu/****/.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv/bin/python","external":"file:///home/ubuntu/****/.venv/bin/python","path":"/home/ubuntu/****/.venv/bin/python","scheme":"file"}},"id":".jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu/****/.venv/python./home/ubuntu/****/.venv/python.-m#ipykernel_launcher"}, Arg 2: 60000, Arg 3: undefined, Arg 4: "~/****", Arg 5: {"_isCancelled":false,"_emitter":null} debug 11:43:34.643: Create activated Env, Class name = _ (started execution), Arg 1: {"interpreter":{"id":"/home/ubuntu/****/.venv/bin/python","sysPrefix":"/home/ubuntu/****/.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv","path":"/home/ubuntu/****/.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv/bin/python","external":"file:///home/ubuntu/****/.venv/bin/python","path":"/home/ubuntu/****/.venv/bin/python","scheme":"file"}}} debug 11:43:34.643: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: , Arg 3: undefined debug 11:43:34.643: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.643: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.643: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.643: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode" debug 11:43:34.644: Cached data exists getEnvironmentVariables, debug 11:43:34.644: Cached custom vars data exists getCustomEnvironmentVariables, debug 11:43:34.644: Get Custom Env Variables, Class name = w, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode" debug 11:43:34.646: Got activation Env Vars from cached promise with key /home/ubuntu/****_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0 debug 11:43:34.646: Getting activated env variables ourselves, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: info 11:43:34.646: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 42 and custom env var count 2 in 3ms info 11:43:34.646: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 42 in 3ms debug 11:43:34.646: Getting activated env variables from Python, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: debug 11:43:34.646: Got env vars ourselves /home/ubuntu/****/.venv/bin/python in 3ms debug 11:43:34.646: Getting activated env variables impl, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: debug 11:43:34.646: Got env vars with python /home/ubuntu/****/.venv/bin/python in 3ms debug 11:43:34.646: Getting activated env variables, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: , Arg 3: undefined debug 11:43:34.647: Create activated Env, Class name = _, completed in 4ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/home/ubuntu/****/.venv/bin/python","sysPrefix":"/home/ubuntu/****/.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv","path":"/home/ubuntu/****/.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv/bin/python","external":"file:///home/ubuntu/****/.venv/bin/python","path":"/home/ubuntu/****/.venv/bin/python","scheme":"file"}}} info 11:43:34.657: Process Execution: > ~/****/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)" > ~/****/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)" debug 11:43:34.666: Launching kernel in kernelProcess.ts, Class name = x (started execution), Arg 1: "~/****", Arg 2: "" debug 11:43:34.666: Create activated Env, Class name = _ (started execution), Arg 1: {"interpreter":{"id":"/home/ubuntu/****/.venv/bin/python","sysPrefix":"/home/ubuntu/****/.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv","path":"/home/ubuntu/****/.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv/bin/python","external":"file:///home/ubuntu/****/.venv/bin/python","path":"/home/ubuntu/****/.venv/bin/python","scheme":"file"}}} debug 11:43:34.666: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: , Arg 3: undefined debug 11:43:34.666: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.666: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.667: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.667: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode" debug 11:43:34.667: Cached data exists getEnvironmentVariables, debug 11:43:34.667: Cached custom vars data exists getCustomEnvironmentVariables, debug 11:43:34.667: Cached custom vars data exists getCustomEnvironmentVariables, debug 11:43:34.667: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: , Arg 3: false debug 11:43:34.667: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.667: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.667: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: debug 11:43:34.667: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode" debug 11:43:34.667: Cached data exists getEnvironmentVariables, debug 11:43:34.667: Cached custom vars data exists getCustomEnvironmentVariables, debug 11:43:34.667: Get Custom Env Variables, Class name = w, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode" debug 11:43:34.667: Get Custom Env Variables, Class name = w, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode" debug 11:43:34.669: Got activation Env Vars from cached promise with key /home/ubuntu/****_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0 debug 11:43:34.669: Got activation Env Vars from cached promise with key /home/ubuntu/****_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0 debug 11:43:34.669: Getting activated env variables ourselves, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: info 11:43:34.670: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 42 and custom env var count 2 in 3ms debug 11:43:34.670: Getting activated env variables ourselves, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: info 11:43:34.670: Got env vars with python /home/ubuntu/****/.venv/bin/python, with env var count 42 and custom env var count 2 in 3ms info 11:43:34.670: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 42 in 4ms debug 11:43:34.670: Getting activated env variables from Python, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: info 11:43:34.670: Got env vars ourselves faster /home/ubuntu/****/.venv/bin/python with env var count 42 in 3ms debug 11:43:34.670: Getting activated env variables from Python, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: debug 11:43:34.670: Got env vars ourselves /home/ubuntu/****/.venv/bin/python in 4ms debug 11:43:34.670: Getting activated env variables impl, Class name = V, completed in 4ms, has a truthy return value, Arg 1: undefined, Arg 2: debug 11:43:34.670: Got env vars with python /home/ubuntu/****/.venv/bin/python in 4ms debug 11:43:34.670: Got env vars ourselves /home/ubuntu/****/.venv/bin/python in 3ms debug 11:43:34.670: Getting activated env variables impl, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: debug 11:43:34.670: Got env vars with python /home/ubuntu/****/.venv/bin/python in 3ms debug 11:43:34.671: Getting activated env variables, Class name = V, completed in 5ms, has a truthy return value, Arg 1: undefined, Arg 2: , Arg 3: undefined debug 11:43:34.671: Getting activated env variables, Class name = V, completed in 4ms, has a truthy return value, Arg 1: undefined, Arg 2: , Arg 3: false debug 11:43:34.671: Create activated Env, Class name = _, completed in 5ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/home/ubuntu/****/.venv/bin/python","sysPrefix":"/home/ubuntu/****/.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv","path":"/home/ubuntu/****/.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu/****/.venv/bin/python","external":"file:///home/ubuntu/****/.venv/bin/python","path":"/home/ubuntu/****/.venv/bin/python","scheme":"file"}}} info 11:43:34.679: Process Execution: > ~/****/.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"82f88ec9-7c38-410a-89b8-9460cb6d4931" --shell=9002 --transport="tcp" --iopub=9004 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-39302NiTlK7Dy41xI.json > ~/****/.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"82f88ec9-7c38-410a-89b8-9460cb6d4931" --shell=9002 --transport="tcp" --iopub=9004 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-39302NiTlK7Dy41xI.json info 11:43:34.679: Process Execution: cwd: ~/**** cwd: ~/**** debug 11:43:34.679: Launching kernel in kernelProcess.ts, Class name = x, completed in 13ms, has a truthy return value, Arg 1: "~/****", Arg 2: "" info 11:43:34.922: ipykernel version & path 6.16.1, ~/****/.venv/lib/python3.8/site-packages/ipykernel/__init__.py for /home/ubuntu/****/.venv/bin/python debug 11:43:35.548: KernelProcess error: /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2412: 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(

warn 11:43:35.549: StdErr from Kernel Process /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2412: 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(

debug 11:43:35.549: KernelProcess error: /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2366: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '82f88ec9-7c38-410a-89b8-9460cb6d4931' instead of 'b"82f88ec9-7c38-410a-89b8-9460cb6d4931"'.
warn(

warn 11:43:35.549: StdErr from Kernel Process /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2366: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '82f88ec9-7c38-410a-89b8-9460cb6d4931' instead of 'b"82f88ec9-7c38-410a-89b8-9460cb6d4931"'.
warn(

debug 11:43:35.560: 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 ipython/ipython#2049

To connect another client to this kernel, use:
--existing kernel-v2-39302NiTlK7Dy41xI.json

info 11:43:35.561: Kernel Output: To connect another client to this kernel, use: --existing kernel-v2-39302NiTlK7Dy41xI.json

debug 11:43:35.711: Kernel Launcher. launch, Class name = r, completed in 1068ms, has a truthy return value, Arg 1: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/temp/jupyter/kernels/python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0/kernel.json","interpreterPath":"/home/ubuntu//.venv/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3.8.10 ('.venv': venv)","metadata":{"interpreter":{"path":"/home/ubuntu//.venv/bin/python"}},"env":{}},"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}},"id":".jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher"}, Arg 2: 60000, Arg 3: undefined, Arg 4: "~/", Arg 5:
debug 11:43:35.734: Waiting for Raw Session to be ready in postStartRawSession
debug 11:43:35.734: Waiting for Raw session to be ready, currently connected
debug 11:43:35.734: Raw session connected
debug 11:43:35.734: Waiting for Raw session to be ready for 30s
debug 11:43:35.735: Waited for Raw session to be ready & got connected
debug 11:43:35.735: Successfully waited for Raw Session to be ready in postStartRawSession
debug 11:43:35.735: Kernel status before requesting kernel info and after ready is unknown
debug 11:43:35.735: Sending request for kernelinfo
debug 11:43:35.753: Got response for requestKernelInfo
debug 11:43:35.753: Successfully compelted postStartRawSession
info 11:43:35.754: Started Kernel .venv (Python 3.8.10) (pid: 41207)
debug 11:43:35.756: Started running kernel initialization for Interactive-1.interactive
debug 11:43:35.763: Executing silently Code (busy) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip
debug 11:43:35.881: Executing silently Code (completed) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip with 0 output(s)
debug 11:43:35.881: Not executing startup session: Object, code:
debug 11:43:35.881: Requesting Kernel info
debug 11:43:35.882: Got Kernel info
debug 11:43:35.882: End running kernel initialization, now waiting for idle
debug 11:43:35.882: Waiting for 60000ms idle on (kernel): 4ba855f4-6780-4805-b29f-dfdbf0b4454b -> idle
debug 11:43:35.882: Finished waiting for idle on (kernel): 4ba855f4-6780-4805-b29f-dfdbf0b4454b -> idle
debug 11:43:35.882: End running kernel initialization, session is idle
debug 11:43:35.883: IPyWidgetScriptSource.initialize
debug 11:43:35.884: Registering commtarget jupyter.widget
debug 11:43:35.884: IPyWidgetMessageDispatcher.initialize
debug 11:43:35.885: getDataDirsImpl, Class name = j (started execution), Arg 1: {"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
debug 11:43:35.885: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:43:35.885: Cached data exists getEnvironmentVariables,
debug 11:43:35.886: Get Custom Env Variables, Class name = w, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:43:35.886: Get Jupyter Sub Paths, Class name = j, completed in 1ms, has a truthy return value, Arg 1: undefined, Return Value:
debug 11:43:35.886: Get Jupyter Paths, Class name = j, completed in 1ms, has a truthy return value, , Return Value:
debug 11:43:35.886: Create activated Env, Class name = _ (started execution), Arg 1: {"interpreter":{"id":"/home/ubuntu/
/.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}},"allowEnvironmentFetchExceptions":true}
debug 11:43:35.886: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: true
debug 11:43:35.886: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:43:35.886: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:43:35.886: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:43:35.886: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:43:35.886: Cached data exists getEnvironmentVariables,
debug 11:43:35.886: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:43:35.886: Get Custom Env Variables, Class name = w, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:43:35.887: Got activation Env Vars from cached promise with key /home/ubuntu/_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0
debug 11:43:35.887: Getting activated env variables ourselves, Class name = V, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
info 11:43:35.888: Got env vars with python /home/ubuntu/
/.venv/bin/python, with env var count 42 and custom env var count 2 in 2ms
info 11:43:35.888: Got env vars ourselves faster /home/ubuntu//.venv/bin/python with env var count 42 in 2ms
debug 11:43:35.888: Getting activated env variables from Python, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:43:35.888: Got env vars ourselves /home/ubuntu/
/.venv/bin/python in 2ms
debug 11:43:35.888: Getting activated env variables impl, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:43:35.888: Got env vars with python /home/ubuntu//.venv/bin/python in 2ms
debug 11:43:35.888: Getting activated env variables, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: true
debug 11:43:35.888: Create activated Env, Class name = _, completed in 2ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/home/ubuntu/
/.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}},"allowEnvironmentFetchExceptions":true}
info 11:43:35.895: Process Execution: > ~/****/.venv/bin/python ~/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/pythonFiles/printJupyterDataDir.py

//.venv/bin/python ~/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/pythonFiles/printJupyterDataDir.py
debug 11:43:35.911: getDataDirsImpl, Class name = j, completed in 26ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/home/ubuntu/
/.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
debug 11:43:37.018: IPyWidgetMessageDispatcher.initialize
debug 11:43:37.083: Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
debug 11:43:37.083: Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
debug 11:43:37.103: IPyWidgetMessageDispatcher.initialize
debug 11:43:37.103: IPyWidgetMessageDispatcher.initialize
debug 11:43:37.103: Widget Message: data-base-url set to https://vscode-remote%2Bssh-002dremote-002b7b22686f73744e616d65223a225061746866696e6465724465764b336456706e227d.vscode-resource.vscode-cdn.net/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/tmp/scripts/91f845addd02831783daf350605dfaf2ab1a4337f52f3df6a40791e424e1ebd8/jupyter
debug 11:43:37.103: Widget Message: Received IPyWidget scripts [{"moduleName":"jupyterlab-plotly","scriptUri":"https://vscode-remote%2Bssh-002dremote-002b7b22686f73744e616d65223a225061746866696e6465724465764b336456706e227d.vscode-resource.vscode-cdn.net/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/tmp/scripts/91f845addd02831783daf350605dfaf2ab1a4337f52f3df6a40791e424e1ebd8/jupyter/nbextensions/jupyterlab-plotly/index","source":"local"}]
debug 11:43:37.103: Widget Message: Source for IPyWidget jupyterlab-plotly found in local @ https://vscode-remote%2Bssh-002dremote-002b7b22686f73744e616d65223a225061746866696e6465724465764b336456706e227d.vscode-resource.vscode-cdn.net/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/tmp/scripts/91f845addd02831783daf350605dfaf2ab1a4337f52f3df6a40791e424e1ebd8/jupyter/nbextensions/jupyterlab-plotly/index.
debug 11:43:37.107: Widget Message: Registering IPyWidget jupyterlab-plotly found in https://vscode-remote%2Bssh-002dremote-002b7b22686f73744e616d65223a225061746866696e6465724465764b336456706e227d.vscode-resource.vscode-cdn.net/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/tmp/scripts/91f845addd02831783daf350605dfaf2ab1a4337f52f3df6a40791e424e1ebd8/jupyter/nbextensions/jupyterlab-plotly/index.
debug 11:43:45.169: Jupyter completion time: 6
debug 11:43:46.350: Jupyter completion time: 7
debug 11:43:47.140: VSCodeNotebookController::handleExecution, Class name = x (started execution)
debug 11:43:47.142: Execute Cell 1 Interactive-1.interactive
debug 11:43:47.142: start the kernel, options.disableUI=false
debug 11:43:47.143: Start Jupyter Session in kernel.ts with disableUI = false
debug 11:43:47.147: _jupyterPythonPathFunction: Giving Pylance "/home/ubuntu//.venv/bin/python" as python path for "vscode-interactive:Interactive-1.interactive"
debug 11:43:47.233: Cell 1 executed with state Success
debug 11:43:47.235: VSCodeNotebookController::handleExecution, Class name = x, completed in 95ms, has a falsy return value
debug 11:43:47.361: _jupyterPythonPathFunction: Giving Pylance "/home/ubuntu/
/.venv/bin/python" as python path for "vscode-interactive:Interactive-1.interactive"
debug 11:43:47.362: _jupyterPythonPathFunction: Giving Pylance "/home/ubuntu//.venv/bin/python" as python path for "vscode-interactive:Interactive-1.interactive"
debug 11:43:55.017: _jupyterPythonPathFunction: "file:///home/ubuntu/
" is not a notebook
debug 11:43:55.021: _jupyterPythonPathFunction: Giving Pylance "/home/ubuntu//.venv/bin/python" as python path for "vscode-interactive:Interactive-1.interactive"
debug 11:44:00.480: restart the kernel, options.disableUI=false
info 11:44:00.481: Restart requested vscode-interactive:Interactive-1.interactive
info 11:44:00.482: Restart kernel execution
debug 11:44:00.482: Cancel pending cells
info 11:44:00.482: Restarting 4ba855f4-6780-4805-b29f-dfdbf0b4454b
debug 11:44:00.483: Kernel Launcher. launch, Class name = r (started execution), Arg 1: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/temp/jupyter/kernels/python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0/kernel.json","interpreterPath":"/home/ubuntu/
/.venv/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3.8.10 ('.venv': venv)","metadata":{"interpreter":{"path":"/home/ubuntu//.venv/bin/python"}},"env":{}},"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}},"id":".jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher"}, Arg 2: 60000, Arg 3: undefined, Arg 4: "
/", Arg 5: {"_isCancelled":false,"_emitter":null}
debug 11:44:00.483: Create activated Env, Class name = _ (started execution), Arg 1: {"interpreter":{"id":"/home/ubuntu/
/.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
debug 11:44:00.483: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: undefined
debug 11:44:00.483: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.483: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.483: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.483: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:44:00.483: Cached data exists getEnvironmentVariables,
debug 11:44:00.483: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:44:00.484: Get Custom Env Variables, Class name = w, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:44:00.485: Got activation Env Vars from cached promise with key /home/ubuntu/_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0
debug 11:44:00.485: Getting activated env variables ourselves, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
info 11:44:00.485: Got env vars ourselves faster /home/ubuntu/
/.venv/bin/python with env var count 42 in 2ms
debug 11:44:00.485: Got env vars ourselves /home/ubuntu//.venv/bin/python in 2ms
debug 11:44:00.485: Getting activated env variables impl, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.485: Getting activated env variables, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: undefined
debug 11:44:00.485: Create activated Env, Class name = _, completed in 2ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/home/ubuntu/
/.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
info 11:44:00.496: Process Execution: > //.venv/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)"
~/
/.venv/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)"
debug 11:44:00.501: Launching kernel in kernelProcess.ts, Class name = x (started execution), Arg 1: "
/", Arg 2: ""
debug 11:44:00.501: Create activated Env, Class name = _ (started execution), Arg 1: {"interpreter":{"id":"/home/ubuntu/
/.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
debug 11:44:00.501: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: undefined
debug 11:44:00.501: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.501: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.501: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.501: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:44:00.501: Cached data exists getEnvironmentVariables,
debug 11:44:00.501: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:44:00.501: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:44:00.501: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: false
debug 11:44:00.501: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.501: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.501: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.501: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:44:00.501: Cached data exists getEnvironmentVariables,
debug 11:44:00.501: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:44:00.502: Get Custom Env Variables, Class name = w, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:44:00.502: Get Custom Env Variables, Class name = w, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:44:00.503: Got activation Env Vars from cached promise with key /home/ubuntu/_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0
debug 11:44:00.503: Got activation Env Vars from cached promise with key /home/ubuntu/
_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0
debug 11:44:00.503: Getting activated env variables ourselves, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.503: Getting activated env variables ourselves, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
info 11:44:00.503: Got env vars ourselves faster /home/ubuntu//.venv/bin/python with env var count 42 in 2ms
info 11:44:00.503: Got env vars ourselves faster /home/ubuntu/
/.venv/bin/python with env var count 42 in 2ms
debug 11:44:00.503: Got env vars ourselves /home/ubuntu//.venv/bin/python in 2ms
debug 11:44:00.503: Getting activated env variables impl, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.503: Got env vars ourselves /home/ubuntu/
/.venv/bin/python in 2ms
debug 11:44:00.503: Getting activated env variables impl, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.503: Getting activated env variables, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: undefined
debug 11:44:00.503: Getting activated env variables, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: false
debug 11:44:00.503: Create activated Env, Class name = _, completed in 2ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
info 11:44:00.514: Process Execution: > ~/
/.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9008 --control=9006 --hb=9005 --Session.signature_scheme="hmac-sha256" --Session.key=b"32a79e9b-99dd-4652-a853-528fc2f27fb8" --shell=9007 --transport="tcp" --iopub=9009 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-39302RVXZyuaFWv45.json
~//.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9008 --control=9006 --hb=9005 --Session.signature_scheme="hmac-sha256" --Session.key=b"32a79e9b-99dd-4652-a853-528fc2f27fb8" --shell=9007 --transport="tcp" --iopub=9009 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-39302RVXZyuaFWv45.json
info 11:44:00.514: Process Execution: cwd: ~/

cwd: /****
debug 11:44:00.515: Launching kernel in kernelProcess.ts, Class name = x, completed in 14ms, has a truthy return value, Arg 1: "
/", Arg 2: ""
info 11:44:00.642: ipykernel version & path 6.16.1, ~/
/.venv/lib/python3.8/site-packages/ipykernel/init.py for /home/ubuntu//.venv/bin/python
info 11:44:00.808: Got env vars with python /home/ubuntu/
/.venv/bin/python, with env var count 42 and custom env var count 2 in 325ms
debug 11:44:00.809: Getting activated env variables from Python, Class name = V, completed in 325ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.809: Got env vars with python /home/ubuntu//.venv/bin/python in 326ms
info 11:44:00.813: Got env vars with python /home/ubuntu/
/.venv/bin/python, with env var count 42 and custom env var count 2 in 312ms
debug 11:44:00.813: Getting activated env variables from Python, Class name = V, completed in 312ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.813: Got env vars with python /home/ubuntu//.venv/bin/python in 312ms
info 11:44:00.821: Got env vars with python /home/ubuntu/
/.venv/bin/python, with env var count 42 and custom env var count 2 in 320ms
debug 11:44:00.821: Getting activated env variables from Python, Class name = V, completed in 320ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:44:00.821: Got env vars with python /home/ubuntu//.venv/bin/python in 320ms
debug 11:44:00.922: KernelProcess error: /home/ubuntu/
/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2412: 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(

warn 11:44:00.922: StdErr from Kernel Process /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2412: 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(

debug 11:44:00.922: KernelProcess error: /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2366: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '32a79e9b-99dd-4652-a853-528fc2f27fb8' instead of 'b"32a79e9b-99dd-4652-a853-528fc2f27fb8"'.
warn(

warn 11:44:00.922: StdErr from Kernel Process /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2366: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '32a79e9b-99dd-4652-a853-528fc2f27fb8' instead of 'b"32a79e9b-99dd-4652-a853-528fc2f27fb8"'.
warn(

debug 11:44:00.928: 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 ipython/ipython#2049

To connect another client to this kernel, use:
--existing kernel-v2-39302RVXZyuaFWv45.json

info 11:44:00.929: Kernel Output: To connect another client to this kernel, use: --existing kernel-v2-39302RVXZyuaFWv45.json

debug 11:44:01.119: Kernel Launcher. launch, Class name = r, completed in 637ms, has a truthy return value, Arg 1: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/temp/jupyter/kernels/python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0/kernel.json","interpreterPath":"/home/ubuntu//.venv/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3.8.10 ('.venv': venv)","metadata":{"interpreter":{"path":"/home/ubuntu//.venv/bin/python"}},"env":{}},"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}},"id":".jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher"}, Arg 2: 60000, Arg 3: undefined, Arg 4: "~/", Arg 5:
debug 11:44:01.121: Waiting for Raw Session to be ready in postStartRawSession
debug 11:44:01.121: Waiting for Raw session to be ready, currently connected
debug 11:44:01.121: Raw session connected
debug 11:44:01.121: Waiting for Raw session to be ready for 30s
debug 11:44:01.122: Waited for Raw session to be ready & got connected
debug 11:44:01.122: Successfully waited for Raw Session to be ready in postStartRawSession
debug 11:44:01.122: Kernel status before requesting kernel info and after ready is unknown
debug 11:44:01.122: Sending request for kernelinfo
debug 11:44:01.127: Got response for requestKernelInfo
debug 11:44:01.127: Successfully compelted postStartRawSession
info 11:44:01.128: Got new session 7e9550d1-07d4-4674-ad7a-633a0de5ad7a
info 11:44:01.128: Started new restart session
debug 11:44:01.128: shutdownSession 4ba855f4-6780-4805-b29f-dfdbf0b4454b, .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher - start
debug 11:44:01.128: Session can be shutdown .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher
info 11:44:01.129: Dispose Kernel process 41207.
debug 11:44:01.140: Begin sendTelemetryForPythonKernelExecutable
debug 11:44:01.140: Executing silently Code (idle) = import sys\nprint(sys.executable)
debug 11:44:01.157: Disposed Kernel process 41207.
debug 11:44:01.157: shutdownSession 4ba855f4-6780-4805-b29f-dfdbf0b4454b, .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher - shutdown complete
debug 11:44:01.159: KernelProcess Exit Exit - undefined /home/ubuntu//.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2412: 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(
/home/ubuntu/
/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2366: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '82f88ec9-7c38-410a-89b8-9460cb6d4931' instead of 'b"82f88ec9-7c38-410a-89b8-9460cb6d4931"'.
warn(

debug 11:44:01.193: Widget Message: Received IPyWidgetMessages.IPyWidgets_onRestartKernel
debug 11:44:01.218: Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
debug 11:44:01.218: Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
debug 11:44:01.219: IPyWidgetMessageDispatcher.initialize
debug 11:44:01.219: IPyWidgetMessageDispatcher.initialize
debug 11:44:01.227: Executing silently Code (completed) = import sys\nprint(sys.executable) with 1 output(s)
debug 11:44:01.228: Started running kernel initialization for Interactive-1.interactive
debug 11:44:01.228: Executing silently Code (idle) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip
debug 11:44:01.242: Executing silently Code (completed) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip with 0 output(s)
debug 11:44:01.242: Not executing startup session: Object, code:
debug 11:44:01.242: Requesting Kernel info
debug 11:44:01.242: Got Kernel info
debug 11:44:01.242: End running kernel initialization, now waiting for idle
debug 11:44:01.242: Waiting for 60000ms idle on (kernel): 7e9550d1-07d4-4674-ad7a-633a0de5ad7a -> idle
debug 11:44:01.242: Finished waiting for idle on (kernel): 7e9550d1-07d4-4674-ad7a-633a0de5ad7a -> idle
debug 11:44:01.242: End running kernel initialization, session is idle
debug 11:44:01.243: Registering commtarget jupyter.widget
debug 11:44:02.975: Jupyter completion time: 6
debug 11:44:04.643: Jupyter completion time: 4
debug 11:44:05.435: VSCodeNotebookController::handleExecution, Class name = x (started execution)
debug 11:44:05.436: Execute Cell 3 Interactive-1.interactive
debug 11:44:05.436: start the kernel, options.disableUI=false
debug 11:44:05.437: Start Jupyter Session in kernel.ts with disableUI = false
debug 11:44:05.528: Cell 3 executed with state Success
debug 11:44:05.528: VSCodeNotebookController::handleExecution, Class name = x, completed in 93ms, has a falsy return value
debug 11:53:57.422: _jupyterPythonPathFunction: "file:///home/ubuntu/" is not a notebook
debug 11:53:57.423: _jupyterPythonPathFunction: Giving Pylance "/home/ubuntu/
/.venv/bin/python" as python path for "vscode-interactive:Interactive-1.interactive"
debug 11:54:00.467: restart the kernel, options.disableUI=false
info 11:54:00.467: Restart requested vscode-interactive:Interactive-1.interactive
info 11:54:00.468: Restart kernel execution
debug 11:54:00.468: Cancel pending cells
info 11:54:00.468: Restarting 7e9550d1-07d4-4674-ad7a-633a0de5ad7a
debug 11:54:00.468: Kernel Launcher. launch, Class name = r (started execution), Arg 1: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/temp/jupyter/kernels/python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0/kernel.json","interpreterPath":"/home/ubuntu//.venv/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3.8.10 ('.venv': venv)","metadata":{"interpreter":{"path":"/home/ubuntu//.venv/bin/python"}},"env":{}},"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}},"id":".jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher"}, Arg 2: 60000, Arg 3: undefined, Arg 4: "~/", Arg 5: {"_isCancelled":false,"_emitter":null}
debug 11:54:00.468: Create activated Env, Class name = _ (started execution), Arg 1: {"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
debug 11:54:00.468: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: undefined
debug 11:54:00.468: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.468: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.468: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.468: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:54:00.468: Cached data exists getEnvironmentVariables,
debug 11:54:00.468: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:54:00.469: Get Custom Env Variables, Class name = w, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:54:00.469: Got activation Env Vars from cached promise with key /home/ubuntu/
_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0
debug 11:54:00.469: Getting activated env variables ourselves, Class name = V, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
info 11:54:00.470: Got env vars ourselves faster /home/ubuntu//.venv/bin/python with env var count 42 in 2ms
debug 11:54:00.470: Got env vars ourselves /home/ubuntu/
/.venv/bin/python in 2ms
debug 11:54:00.470: Getting activated env variables impl, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.470: Getting activated env variables, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: undefined
debug 11:54:00.470: Create activated Env, Class name = _, completed in 2ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
info 11:54:00.480: Process Execution: > ~/
/.venv/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)"

/****/.venv/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)"
debug 11:54:00.483: Launching kernel in kernelProcess.ts, Class name = x (started execution), Arg 1: "
/", Arg 2: ""
debug 11:54:00.483: Create activated Env, Class name = _ (started execution), Arg 1: {"interpreter":{"id":"/home/ubuntu/
/.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
debug 11:54:00.483: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: undefined
debug 11:54:00.483: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.483: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.483: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.483: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:54:00.483: Cached data exists getEnvironmentVariables,
debug 11:54:00.484: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:54:00.484: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:54:00.484: Getting activated env variables, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: false
debug 11:54:00.484: Getting activated env variables impl, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.484: Getting activated env variables ourselves, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.484: Getting activated env variables from Python, Class name = V (started execution), Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.484: Get Custom Env Variables, Class name = w (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:54:00.484: Cached data exists getEnvironmentVariables,
debug 11:54:00.484: Cached custom vars data exists getCustomEnvironmentVariables,
debug 11:54:00.485: Get Custom Env Variables, Class name = w, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:54:00.485: Get Custom Env Variables, Class name = w, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 11:54:00.486: Got activation Env Vars from cached promise with key /home/ubuntu/_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0
debug 11:54:00.486: Got activation Env Vars from cached promise with key /home/ubuntu/
_e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0
debug 11:54:00.486: Getting activated env variables ourselves, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.486: Getting activated env variables ourselves, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
info 11:54:00.486: Got env vars ourselves faster /home/ubuntu//.venv/bin/python with env var count 42 in 3ms
info 11:54:00.486: Got env vars ourselves faster /home/ubuntu/
/.venv/bin/python with env var count 42 in 2ms
debug 11:54:00.486: Got env vars ourselves /home/ubuntu//.venv/bin/python in 3ms
debug 11:54:00.486: Getting activated env variables impl, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.486: Got env vars ourselves /home/ubuntu/
/.venv/bin/python in 2ms
debug 11:54:00.486: Getting activated env variables impl, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.486: Getting activated env variables, Class name = V, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: undefined
debug 11:54:00.486: Getting activated env variables, Class name = V, completed in 2ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python, Arg 3: false
debug 11:54:00.486: Create activated Env, Class name = _, completed in 3ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}}}
info 11:54:00.499: Process Execution: > ~/
/.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"e9943e83-a01d-4d35-bdde-d5491ed914ad" --shell=9002 --transport="tcp" --iopub=9004 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-39302ghwOyJHBO07j.json
~//.venv/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"e9943e83-a01d-4d35-bdde-d5491ed914ad" --shell=9002 --transport="tcp" --iopub=9004 --f=/home/ubuntu/.local/share/jupyter/runtime/kernel-v2-39302ghwOyJHBO07j.json
info 11:54:00.499: Process Execution: cwd: ~/

cwd: /****
debug 11:54:00.499: Launching kernel in kernelProcess.ts, Class name = x, completed in 16ms, has a truthy return value, Arg 1: "
/", Arg 2: ""
info 11:54:00.638: ipykernel version & path 6.16.1, ~/
/.venv/lib/python3.8/site-packages/ipykernel/init.py for /home/ubuntu//.venv/bin/python
info 11:54:00.805: Got env vars with python /home/ubuntu/
/.venv/bin/python, with env var count 43 and custom env var count 2 in 337ms
debug 11:54:00.806: Getting activated env variables from Python, Class name = V, completed in 338ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.806: Got env vars with python /home/ubuntu//.venv/bin/python in 338ms
info 11:54:00.813: Got env vars with python /home/ubuntu/
/.venv/bin/python, with env var count 43 and custom env var count 2 in 330ms
debug 11:54:00.813: Getting activated env variables from Python, Class name = V, completed in 330ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.813: Got env vars with python /home/ubuntu//.venv/bin/python in 330ms
info 11:54:00.839: Got env vars with python /home/ubuntu/
/.venv/bin/python, with env var count 43 and custom env var count 2 in 355ms
debug 11:54:00.840: Getting activated env variables from Python, Class name = V, completed in 355ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/home/ubuntu/****/.venv/bin/python
debug 11:54:00.840: Got env vars with python /home/ubuntu//.venv/bin/python in 356ms
debug 11:54:00.912: KernelProcess error: /home/ubuntu/
/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2412: 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(

warn 11:54:00.912: StdErr from Kernel Process /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2412: 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(

debug 11:54:00.912: KernelProcess error: /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2366: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'e9943e83-a01d-4d35-bdde-d5491ed914ad' instead of 'b"e9943e83-a01d-4d35-bdde-d5491ed914ad"'.
warn(

warn 11:54:00.912: StdErr from Kernel Process /home/ubuntu/****/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2366: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'e9943e83-a01d-4d35-bdde-d5491ed914ad' instead of 'b"e9943e83-a01d-4d35-bdde-d5491ed914ad"'.
warn(

debug 11:54:00.919: 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 ipython/ipython#2049

To connect another client to this kernel, use:
--existing kernel-v2-39302ghwOyJHBO07j.json

info 11:54:00.919: Kernel Output: To connect another client to this kernel, use: --existing kernel-v2-39302ghwOyJHBO07j.json

debug 11:54:01.105: Kernel Launcher. launch, Class name = r, completed in 637ms, has a truthy return value, Arg 1: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1202862440/temp/jupyter/kernels/python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0/kernel.json","interpreterPath":"/home/ubuntu//.venv/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python3810jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3.8.10 ('.venv': venv)","metadata":{"interpreter":{"path":"/home/ubuntu//.venv/bin/python"}},"env":{}},"interpreter":{"id":"/home/ubuntu//.venv/bin/python","sysPrefix":"/home/ubuntu//.venv","envType":"Venv","envName":".venv","envPath":{"$mid":1,"fsPath":"/home/ubuntu//.venv","path":"/home/ubuntu//.venv","scheme":"file"},"architecture":3,"sysVersion":"3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]","version":{"raw":"3.8.10","major":3,"minor":8,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.10 ('.venv': venv)","detailedDisplayName":"Python 3.8.10 ('.venv': venv)","uri":{"$mid":1,"fsPath":"/home/ubuntu//.venv/bin/python","external":"file:///home/ubuntu//.venv/bin/python","path":"/home/ubuntu//.venv/bin/python","scheme":"file"}},"id":".jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher"}, Arg 2: 60000, Arg 3: undefined, Arg 4: "~/", Arg 5:
debug 11:54:01.107: Waiting for Raw Session to be ready in postStartRawSession
debug 11:54:01.107: Waiting for Raw session to be ready, currently connected
debug 11:54:01.107: Raw session connected
debug 11:54:01.107: Waiting for Raw session to be ready for 30s
debug 11:54:01.107: Waited for Raw session to be ready & got connected
debug 11:54:01.107: Successfully waited for Raw Session to be ready in postStartRawSession
debug 11:54:01.107: Kernel status before requesting kernel info and after ready is unknown
debug 11:54:01.107: Sending request for kernelinfo
debug 11:54:01.112: Got response for requestKernelInfo
debug 11:54:01.112: Successfully compelted postStartRawSession
info 11:54:01.113: Got new session f92a5f74-9c63-4d8f-931c-0c6d1f668072
info 11:54:01.113: Started new restart session
debug 11:54:01.113: shutdownSession 7e9550d1-07d4-4674-ad7a-633a0de5ad7a, .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher - start
debug 11:54:01.113: Session can be shutdown .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher
info 11:54:01.113: Dispose Kernel process 41859.
debug 11:54:01.124: Begin sendTelemetryForPythonKernelExecutable
debug 11:54:01.124: Executing silently Code (idle) = import sys\nprint(sys.executable)
debug 11:54:01.141: Disposed Kernel process 41859.
debug 11:54:01.142: shutdownSession 7e9550d1-07d4-4674-ad7a-633a0de5ad7a, .jvsc74a57bd0e2d664257320cf3c4f5517230187c1b95a639fdf5824ad557428355568770ab0./home/ubuntu//.venv/python./home/ubuntu//.venv/python.-m#ipykernel_launcher - shutdown complete
debug 11:54:01.144: KernelProcess Exit Exit - undefined /home/ubuntu//.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2412: 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(
/home/ubuntu/
/.venv/lib/python3.8/site-packages/traitlets/traitlets.py:2366: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '32a79e9b-99dd-4652-a853-528fc2f27fb8' instead of 'b"32a79e9b-99dd-4652-a853-528fc2f27fb8"'.
warn(

debug 11:54:01.275: Executing silently Code (completed) = import sys\nprint(sys.executable) with 1 output(s)
debug 11:54:01.275: Started running kernel initialization for Interactive-1.interactive
debug 11:54:01.276: Executing silently Code (idle) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip
debug 11:54:01.277: Widget Message: Received IPyWidgetMessages.IPyWidgets_onRestartKernel
debug 11:54:01.278: Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
debug 11:54:01.278: Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
debug 11:54:01.279: IPyWidgetMessageDispatcher.initialize
debug 11:54:01.279: IPyWidgetMessageDispatcher.initialize
debug 11:54:01.294: Executing silently Code (completed) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip with 0 output(s)
debug 11:54:01.294: Not executing startup session: Object, code:
debug 11:54:01.294: Requesting Kernel info
debug 11:54:01.294: Got Kernel info
debug 11:54:01.294: End running kernel initialization, now waiting for idle
debug 11:54:01.294: Waiting for 60000ms idle on (kernel): f92a5f74-9c63-4d8f-931c-0c6d1f668072 -> idle
debug 11:54:01.294: Finished waiting for idle on (kernel): f92a5f74-9c63-4d8f-931c-0c6d1f668072 -> idle
debug 11:54:01.294: End running kernel initialization, session is idle
debug 11:54:01.294: Registering commtarget jupyter.widget
debug 11:55:59.286: Jupyter completion time: 6
debug 11:56:00.284: Jupyter completion time: 5
debug 11:56:00.904: VSCodeNotebookController::handleExecution, Class name = x (started execution)
debug 11:56:00.905: Execute Cell 5 Interactive-1.interactive
debug 11:56:00.905: start the kernel, options.disableUI=false
debug 11:56:00.905: Start Jupyter Session in kernel.ts with disableUI = false
debug 11:56:01.009: Cell 5 executed with state Success
debug 11:56:01.009: VSCodeNotebookController::handleExecution, Class name = x, completed in 105ms, has a falsy return value

</p>
</details>

@DonJayamanne
Copy link
Contributor

@jtele2
I believe this has been fixed in the latest pre-release version of the Jupyter extension.
To test this, you will need to install vscode insiders and the latest pre-reelase versions of the Jupyter and Python extensions.
Optionally you could wait for the next stable release that will come some time this week.

Closing this issue for now, if however the issue still persists, please feel free to re-open this issue or create a new one and i'l.l take a look.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants