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

Zombie python process still running after interactive window or VS Code is closed #5485

Closed
ortk95 opened this issue Apr 12, 2021 · 3 comments
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@ortk95
Copy link

ortk95 commented Apr 12, 2021

Environment data

  • VS Code version: 1.55.1
  • Jupyter Extension version (available under the Extensions sidebar): 2021.5.702919634
  • Python Extension version (available under the Extensions sidebar): 2021.3.680753044
  • OS (Windows | Mac | Linux distro) and version: Mac OS Catalina (10.15.7)
  • Python and/or Anaconda version: python 3.9.1, conda 4.10.0
  • Type of virtual environment used: conda
  • Jupyter server running: Local

Expected behaviour

Python kernel process should be killed when the Jupyter interactive window is closed or VS code is closed.

Actual behaviour

The python process created by a Jupyter interactive window keeps running after VS Code is closed/quit. Once VS Code is closed, this zombie process appears to have about 100% CPU usage (i.e. it is using about 100% of one core on my Mac). The process continues with this high CPU usage indefinitely and has to be killed manually in Activity Monitor.

If I close the Jupyter interactive window in VS Code, the process only goes to 100% CPU when I subsequently close VS Code itself. The issue happens when I either close the VS Code window, or quit VS Code completely (right click > quit in dock).

Steps to reproduce:

  1. Launch VS Code
  2. Open Jupyter interactive window
  3. (Optionally close interactive window within VS Code)
  4. Close VS Code window / Quit VS Code completely
  5. The python process spawned by the Jupyter interactive window keeps running, using about 100% of one CPU core, and has to be manually killed in Activity Monitor

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter) Output when opening VS Code, launching an interactive window, then closing it:

User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'pythonDiscoveryModulecf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Info 2021-04-12 14:48:10: ZMQ install verified.
Info 2021-04-12 14:48:10: id is c60819d7-5109-46b0-8a02-e7c1732b9059
Info 2021-04-12 14:48:10: Attempting to start a server because of preload conditions ...
Info 2021-04-12 14:48:11: Found existing keyfile at /Users/ortk1/Library/Application Support/Code/User/globalStorage/ms-toolsai.jupyter/nbsecret
Info 2021-04-12 14:48:32: Loading webview. View is notset
Info 2021-04-12 14:48:32: Loading web view...
Info 2021-04-12 14:48:32: Webview panel created.
Info 2021-04-12 14:48:32: Waiting for jupyter server and web panel ...
Info 2021-04-12 14:48:32: Creating raw notebook for history://2a948200-5e10-4bf7-8f89-17ba6ba776b8
Info 2021-04-12 14:48:32: Getting preferred kernel for history://2a948200-5e10-4bf7-8f89-17ba6ba776b8
Info 2021-04-12 14:48:33: Search all interpreters /Users/ortk1/opt/anaconda3/bin/python, /Users/ortk1/opt/anaconda3/envs/isis/bin/python, /Users/ortk1/opt/anaconda3/envs/py38/bin/python, /Users/ortk1/opt/anaconda3/envs/py39/bin/python, /Users/ortk1/opt/anaconda3/envs/py39backup/bin/python, /opt/local/bin/python3.6, /usr/local/bin/python3, /usr/bin/python, /usr/bin/python3, /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Info 2021-04-12 14:48:33: Loading kernelspec from /Users/ortk1/opt/anaconda3/envs/py39/share/jupyter/kernels/python3/kernel.json for /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:33: Loading kernelspec from /Users/ortk1/opt/anaconda3/share/jupyter/kernels/python3/kernel.json for /Users/ortk1/opt/anaconda3/bin/python
Info 2021-04-12 14:48:33: Loading kernelspec from /Users/ortk1/opt/anaconda3/envs/py38/share/jupyter/kernels/python3/kernel.json for /Users/ortk1/opt/anaconda3/envs/py38/bin/python
Info 2021-04-12 14:48:33: Loading kernelspec from /Users/ortk1/opt/anaconda3/envs/py39backup/share/jupyter/kernels/python3/kernel.json for /Users/ortk1/opt/anaconda3/envs/py39backup/bin/python
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 3.9.1 64-bit ('py39': conda) is 121
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 3.8.5 64-bit ('base': conda) is 3
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 3.9.1 64-bit ('py39backup': conda) is 3
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 3.8.5 64-bit ('py38': conda) is 3
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 3.6.7 64-bit ('isis': conda) is 3
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 3.6.12 64-bit is 3
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 3.7.4 64-bit is 3
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 2.7.16 64-bit is 1
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 3.8.2 64-bit is 3
Info 2021-04-12 14:48:33: findPreferredKernel score for Python 2.7.16 64-bit is 1
Info 2021-04-12 14:48:33: Find kernel spec, Class name = D, completed in 430ms, has a truthy return value, Arg 1: <Uri:/Users/ortk1/Dropbox/PhD/code>, Arg 2: undefined, Arg 3: undefined, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/Users/ortk1/opt/anaconda3/envs/py39/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","name":"python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d","argv":["/Users/ortk1/opt/anaconda3/envs/py39/bin/python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","display_name":"Python 3.9.1 64-bit ('py39': conda)"},"interpreter":{"architecture":3,"path":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.9.1-final","major":3,"minor":9,"patch":1,"prerelease":["final"],"build":[],"version":"3.9.1-final"},"sysVersion":"3.9.1 | packaged by conda-forge | (default, Jan 26 2021, 01:32:59) \n[Clang 11.0.1 ]","sysPrefix":"/Users/ortk1/opt/anaconda3/envs/py39","fileHash":"fabffa5f74e526a348fdbd7009fa2224ba2d6fb37e8d25ffcf94f42ddba259c1a4e01400970ce04e3168f63fefd52ef4e7caa36333029cf9ca71998233905cf0","companyDisplayName":"Anaconda, Inc.","envType":"Conda","envPath":"/Users/ortk1/opt/anaconda3/envs/py39","envName":"py39","displayName":"Python 3.9.1 64-bit ('py39': conda)"},"id":".python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d./Users/ortk1/opt/anaconda3/envs/py39/bin/python./Users/ortk1/opt/anaconda3/envs/py39/bin/python.Python 3.9.1 64-bit ('py39': conda)"}
Info 2021-04-12 14:48:33: Computing working directory history://2a948200-5e10-4bf7-8f89-17ba6ba776b8
Info 2021-04-12 14:48:33: Connecting to raw session for history://2a948200-5e10-4bf7-8f89-17ba6ba776b8 with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/Users/ortk1/opt/anaconda3/envs/py39/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","name":"python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d","argv":["/Users/ortk1/opt/anaconda3/envs/py39/bin/python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","display_name":"Python 3.9.1 64-bit ('py39': conda)"},"interpreter":{"architecture":3,"path":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.9.1-final","major":3,"minor":9,"patch":1,"prerelease":["final"],"build":[],"version":"3.9.1-final"},"sysVersion":"3.9.1 | packaged by conda-forge | (default, Jan 26 2021, 01:32:59) \n[Clang 11.0.1 ]","sysPrefix":"/Users/ortk1/opt/anaconda3/envs/py39","fileHash":"fabffa5f74e526a348fdbd7009fa2224ba2d6fb37e8d25ffcf94f42ddba259c1a4e01400970ce04e3168f63fefd52ef4e7caa36333029cf9ca71998233905cf0","companyDisplayName":"Anaconda, Inc.","envType":"Conda","envPath":"/Users/ortk1/opt/anaconda3/envs/py39","envName":"py39","displayName":"Python 3.9.1 64-bit ('py39': conda)"},"id":".python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d./Users/ortk1/opt/anaconda3/envs/py39/bin/python./Users/ortk1/opt/anaconda3/envs/py39/bin/python.Python 3.9.1 64-bit ('py39': conda)"}
Info 2021-04-12 14:48:33: Starting raw kernel Python 3.9.1 64-bit ('py39': conda)
Info 2021-04-12 14:48:33: installMissingDependencies /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:34: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py pip list
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py pip list
Info 2021-04-12 14:48:34: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-04-12 14:48:34: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-04-12 14:48:36: Web view react rendered
Info 2021-04-12 14:48:36: Searching for token colors ...
Info 2021-04-12 14:48:36: Attempting search for colors ...
Info 2021-04-12 14:48:36: Request for onigasm file at /Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/out/client/node_modules/onigasm/lib/onigasm.wasm
Info 2021-04-12 14:48:36: Request for tmlanguage file.
Info 2021-04-12 14:48:36: Searching for token colors ...
Info 2021-04-12 14:48:36: Attempting search for colors ...
Info 2021-04-12 14:48:36: Searching for token colors ...
Info 2021-04-12 14:48:36: Attempting search for colors ...
Info 2021-04-12 14:48:36: Searching for token colors ...
Info 2021-04-12 14:48:36: Attempting search for colors ...
Info 2021-04-12 14:48:36: Install Missing Dependencies, Class name = v, completed in 3315ms, has a falsy return value, Return Value: undefined
Info 2021-04-12 14:48:36: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
Info 2021-04-12 14:48:36: Launching kernel daemon for Python 3.9.1 64-bit ('py39': conda) # /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:36: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-04-12 14:48:36: Fetching interpreter variables of Conda environment to be used as env vars of Kernel
Info 2021-04-12 14:48:37: Creating daemon process for /Users/ortk1/opt/anaconda3/envs/py39/bin/python with env variables count 46
Info 2021-04-12 14:48:37: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-04-12 14:48:37: Python Daemon (pid: 15123): Execute rpc method prewarm_kernel in DS Daemon
Info 2021-04-12 14:48:37: Python Daemon (pid: 15123): Execute rpc method prewarm_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:37: Python Daemon (pid: 15123): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Info 2021-04-12 14:48:37: Python Daemon (pid: 15123): Exec in DS Kernel Launcher Daemon (observable) ['/Users/ortk1/opt/anaconda3/envs/py39/bin/python', '/Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py', '/Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py']
Info 2021-04-12 14:48:37: Python Daemon (pid: 15123): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-04-12 14:48:37: Python Daemon (pid: 15123): Kernel launched, with PID 15126
Warn 2021-04-12 14:48:37: Python Daemon (pid: 15123): Waiting for Kernel to die 15126
Info 2021-04-12 14:48:37: Python Daemon (pid: 15123): Kernel launched, with PID as a daemon 15126
Info 2021-04-12 14:48:38: Searching for token colors ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading base colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Using colors to generate CSS ...
Info 2021-04-12 14:48:38: Loading colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading base colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Loading colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Searching for token colors ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Searching for token colors ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Searching for token colors ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Loading colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Loading colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Loading colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Using colors to generate CSS ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading base colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading base colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading base colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading base colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading base colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Got custom variables for Kernel owned by a conda interpreter
Info 2021-04-12 14:48:38: Python Daemon (pid: 15123): Execute rpc method start_prewarmed_kernel in DS Daemon
Info 2021-04-12 14:48:38: Python Daemon (pid: 15123): Execute rpc method start_prewarmed_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:38: Python Daemon (pid: 15123): Start pre-warmed Kernel in DS Kernel Launcher Daemon 15126 with args ['ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"b03b1b8d-225a-46b4-9a17-e42c8f6fe917"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=/var/folders/_v/79yfn15n7kj6yzny_17g9lcm0019vf/T/tmp-1480273p5VExHEoMl.json']
Info 2021-04-12 14:48:38: Launching kernel daemon, Class name = h, completed in 1722ms, has a truthy return value, Arg 1: <Uri:/Users/ortk1/Dropbox/PhD/code>, Arg 2: "/Users/ortk1/Dropbox/PhD/code", Arg 3: {"specFile":"/Users/ortk1/opt/anaconda3/envs/py39/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","name":"python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d","argv":["/Users/ortk1/opt/anaconda3/envs/py39/bin/python","-m","ipykernel_launcher","--ip=127.0.0.1","--stdin=9003","--control=9001","--hb=9000","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"b03b1b8d-225a-46b4-9a17-e42c8f6fe917\"","--shell=9002","--transport=\"tcp\"","--iopub=9004","--f=/var/folders/_v/79yfn15n7kj6yzny_17g9lcm0019vf/T/tmp-1480273p5VExHEoMl.json"],"language":"python","path":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","display_name":"Python 3.9.1 64-bit ('py39': conda)"}, Arg 4: {"architecture":3,"path":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.9.1-final","major":3,"minor":9,"patch":1,"prerelease":["final"],"build":[],"version":"3.9.1-final"},"sysVersion":"3.9.1 | packaged by conda-forge | (default, Jan 26 2021, 01:32:59) \n[Clang 11.0.1 ]","sysPrefix":"/Users/ortk1/opt/anaconda3/envs/py39","fileHash":"fabffa5f74e526a348fdbd7009fa2224ba2d6fb37e8d25ffcf94f42ddba259c1a4e01400970ce04e3168f63fefd52ef4e7caa36333029cf9ca71998233905cf0","companyDisplayName":"Anaconda, Inc.","envType":"Conda","envPath":"/Users/ortk1/opt/anaconda3/envs/py39","envName":"py39","displayName":"Python 3.9.1 64-bit ('py39': conda)"}, Return Value: <Return value cannot be serialized for logging>
Info 2021-04-12 14:48:38: Launching kernel in kernelProcess.ts, Class name = _, completed in 1722ms, has a truthy return value, Arg 1: "/Users/ortk1/Dropbox/PhD/code", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","_handle":{"pid":15123},"spawnargs":["/Users/ortk1/opt/anaconda3/envs/py39/bin/python","/Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":15123,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":false,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":true,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":false,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":true,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]},"out":{"_isScalar":false,"observers":[],"closed":false,"isStopped":false,"hasError":false,"thrownError":null}}
Info 2021-04-12 14:48:38: Attempting search for colors ...
Info 2021-04-12 14:48:38: Loading base colors from /Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/dark_plus.json ...
Info 2021-04-12 14:48:38: Using colors to generate CSS ...
Info 2021-04-12 14:48:38: Using colors to generate CSS ...
Info 2021-04-12 14:48:38: Using colors to generate CSS ...
Info 2021-04-12 14:48:38: Using colors to generate CSS ...
Info 2021-04-12 14:48:38: Using colors to generate CSS ...
Info 2021-04-12 14:48:38: Using colors to generate CSS ...
Info 2021-04-12 14:48:39: Creating daemon process for /Users/ortk1/opt/anaconda3/envs/py39/bin/python with env variables count 46
Info 2021-04-12 14:48:39: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-04-12 14:48:39: Python Daemon (pid: 15136): Execute rpc method prewarm_kernel in DS Daemon
Info 2021-04-12 14:48:39: Python Daemon (pid: 15136): Execute rpc method prewarm_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:39: Python Daemon (pid: 15136): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Info 2021-04-12 14:48:39: Python Daemon (pid: 15136): Exec in DS Kernel Launcher Daemon (observable) ['/Users/ortk1/opt/anaconda3/envs/py39/bin/python', '/Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py', '/Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py']
Info 2021-04-12 14:48:39: Python Daemon (pid: 15136): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-04-12 14:48:39: Python Daemon (pid: 15136): Kernel launched, with PID 15137
Warn 2021-04-12 14:48:39: Python Daemon (pid: 15136): Waiting for Kernel to die 15137
Info 2021-04-12 14:48:39: Python Daemon (pid: 15136): Kernel launched, with PID as a daemon 15137
Info 2021-04-12 14:48:39: KernelProcess output: Content-Length: 358
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\n", "pid": 15123}}
Info 2021-04-12 14:48:39: Python Daemon (pid: 15123): write to stderr: /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-04-12 14:48:39: KernelProcess output: Content-Length: 333
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\n"}}Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\n", "pid": 15123}}Content-Length: 90
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\n"}}Content-Length: 384
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'b03b1b8d-225a-46b4-9a17-e42c8f6fe917' instead of 'b\"b03b1b8d-225a-46b4-9a17-e42c8f6fe917\"'.\n", "pid": 15123}}Content-Length: 359
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'b03b1b8d-225a-46b4-9a17-e42c8f6fe917' instead of 'b\"b03b1b8d-225a-46b4-9a17-e42c8f6fe917\"'.\n"}}Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\n", "pid": 15123}}Content-Length: 90
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\n"}}
Warn 2021-04-12 14:48:39: Kernel 15123 as possibly died, StdErr from Kernel Process /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Warn 2021-04-12 14:48:39: StdErr from Kernel Process /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-04-12 14:48:39: Python Daemon (pid: 15123): write to stderr:   warn(

Warn 2021-04-12 14:48:39: Kernel 15123 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-04-12 14:48:39: StdErr from Kernel Process   warn(

Info 2021-04-12 14:48:39: Python Daemon (pid: 15123): write to stderr: /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'b03b1b8d-225a-46b4-9a17-e42c8f6fe917' instead of 'b"b03b1b8d-225a-46b4-9a17-e42c8f6fe917"'.

Warn 2021-04-12 14:48:39: Kernel 15123 as possibly died, StdErr from Kernel Process /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'b03b1b8d-225a-46b4-9a17-e42c8f6fe917' instead of 'b"b03b1b8d-225a-46b4-9a17-e42c8f6fe917"'.

Warn 2021-04-12 14:48:39: StdErr from Kernel Process /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'b03b1b8d-225a-46b4-9a17-e42c8f6fe917' instead of 'b"b03b1b8d-225a-46b4-9a17-e42c8f6fe917"'.

Info 2021-04-12 14:48:39: Python Daemon (pid: 15123): write to stderr:   warn(

Warn 2021-04-12 14:48:39: Kernel 15123 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-04-12 14:48:39: StdErr from Kernel Process   warn(

Info 2021-04-12 14:48:39: Raw session started and connected
Started kernel Python 3.9.1 64-bit ('py39': conda)
Info 2021-04-12 14:48:39: Initial setup for history://2a948200-5e10-4bf7-8f89-17ba6ba776b8 starting ...
Info 2021-04-12 14:48:39: UpdateWorkingDirectoryAndPath
Info 2021-04-12 14:48:39: Kernel switching to busy
Info 2021-04-12 14:48:39: Kernel switching to idle
Info 2021-04-12 14:48:39: Starting raw kernel Python 3.9.1 64-bit ('py39': conda)
Info 2021-04-12 14:48:39: installMissingDependencies /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:39: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-04-12 14:48:39: Kernel switching to busy
Info 2021-04-12 14:48:39: Kernel switching to idle
Info 2021-04-12 14:48:39: Kernel switching to busy
Info 2021-04-12 14:48:39: Kernel switching to idle
Info 2021-04-12 14:48:39: Initial setup complete for history://2a948200-5e10-4bf7-8f89-17ba6ba776b8
Info 2021-04-12 14:48:39: Finished connecting 1c3cd39f-17d2-4c60-8717-f5bf828f1f6c
Info 2021-04-12 14:48:39: Registering commtarget jupyter.widget
Info 2021-04-12 14:48:39: Adding sys info for 91641b0f-839b-4f81-9c3a-c7e7923c7c98 0
Info 2021-04-12 14:48:39: Sys info for 91641b0f-839b-4f81-9c3a-c7e7923c7c98 0 complete
Error 2021-04-12 14:48:39: [Error: command 'python.analysis.restartLanguageServer' already exists
	at S.registerCommand (/Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:86:105496)
	at Object.registerCommand (/Users/ortk1/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:95:21174)
	at c.registerCommand (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:165033)
	at new r (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:61:182791)
	at Object.t.resolveInstance (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:268557)
	at /Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:267523
	at Array.map (<anonymous>)
	at Object.t.resolveInstance (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:268327)
	at /Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:267523
	at Object.t.resolve (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:267786)
	at /Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:258362
	at e._get (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:258128)
	at e.getTagged (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:256931)
	at e.getNamed (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:44:257023)
	at a.get (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:439264)
	at _.createRefCountedServer (/Users/ortk1/.vscode/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:52:32403)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)]
Info 2021-04-12 14:48:40: Install Missing Dependencies, Class name = v, completed in 942ms, has a falsy return value, Return Value: undefined
Info 2021-04-12 14:48:40: Kernel launching with ports 9005,9006,9007,9008,9009. Start port is 9000
Info 2021-04-12 14:48:40: Launching kernel daemon for Python 3.9.1 64-bit ('py39': conda) # /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:40: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-04-12 14:48:40: Fetching interpreter variables of Conda environment to be used as env vars of Kernel
Info 2021-04-12 14:48:40: Got custom variables for Kernel owned by a conda interpreter
Info 2021-04-12 14:48:40: Python Daemon (pid: 15136): Execute rpc method start_prewarmed_kernel in DS Daemon
Info 2021-04-12 14:48:40: Python Daemon (pid: 15136): Execute rpc method start_prewarmed_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:40: Python Daemon (pid: 15136): Start pre-warmed Kernel in DS Kernel Launcher Daemon 15137 with args ['ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9008', '--control=9006', '--hb=9005', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"c5d955a2-43a3-47d9-bcf7-6967f8ec72fe"', '--shell=9007', '--transport="tcp"', '--iopub=9009', '--f=/var/folders/_v/79yfn15n7kj6yzny_17g9lcm0019vf/T/tmp-14802SPTMe0DGkACW.json']
Info 2021-04-12 14:48:40: Launching kernel daemon, Class name = h, completed in 16ms, has a truthy return value, Arg 1: <Uri:/Users/ortk1/Dropbox/PhD/code>, Arg 2: "/Users/ortk1/Dropbox/PhD/code", Arg 3: {"specFile":"/Users/ortk1/opt/anaconda3/envs/py39/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","name":"python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d","argv":["/Users/ortk1/opt/anaconda3/envs/py39/bin/python","-m","ipykernel_launcher","--ip=127.0.0.1","--stdin=9008","--control=9006","--hb=9005","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"c5d955a2-43a3-47d9-bcf7-6967f8ec72fe\"","--shell=9007","--transport=\"tcp\"","--iopub=9009","--f=/var/folders/_v/79yfn15n7kj6yzny_17g9lcm0019vf/T/tmp-14802SPTMe0DGkACW.json"],"language":"python","path":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","display_name":"Python 3.9.1 64-bit ('py39': conda)"}, Arg 4: {"architecture":3,"path":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.9.1-final","major":3,"minor":9,"patch":1,"prerelease":["final"],"build":[],"version":"3.9.1-final"},"sysVersion":"3.9.1 | packaged by conda-forge | (default, Jan 26 2021, 01:32:59) \n[Clang 11.0.1 ]","sysPrefix":"/Users/ortk1/opt/anaconda3/envs/py39","fileHash":"fabffa5f74e526a348fdbd7009fa2224ba2d6fb37e8d25ffcf94f42ddba259c1a4e01400970ce04e3168f63fefd52ef4e7caa36333029cf9ca71998233905cf0","companyDisplayName":"Anaconda, Inc.","envType":"Conda","envPath":"/Users/ortk1/opt/anaconda3/envs/py39","envName":"py39","displayName":"Python 3.9.1 64-bit ('py39': conda)"}, Return Value: <Return value cannot be serialized for logging>
Info 2021-04-12 14:48:40: Launching kernel in kernelProcess.ts, Class name = _, completed in 16ms, has a truthy return value, Arg 1: "/Users/ortk1/Dropbox/PhD/code", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/Users/ortk1/opt/anaconda3/envs/py39/bin/python","_handle":{"pid":15136},"spawnargs":["/Users/ortk1/opt/anaconda3/envs/py39/bin/python","/Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":15136,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":false,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":true,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":false,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":true,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]},"out":{"_isScalar":false,"observers":[],"closed":false,"isStopped":false,"hasError":false,"thrownError":null}}
Info 2021-04-12 14:48:40: KernelProcess output: Content-Length: 358
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\n", "pid": 15136}}Content-Length: 333
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\n"}}Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\n", "pid": 15136}}Content-Length: 90
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\n"}}
Info 2021-04-12 14:48:40: Python Daemon (pid: 15136): write to stderr: /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Warn 2021-04-12 14:48:40: Kernel 15136 as possibly died, StdErr from Kernel Process /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Warn 2021-04-12 14:48:40: StdErr from Kernel Process /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-04-12 14:48:40: Python Daemon (pid: 15136): write to stderr:   warn(

Warn 2021-04-12 14:48:40: Kernel 15136 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-04-12 14:48:40: StdErr from Kernel Process   warn(

Info 2021-04-12 14:48:40: KernelProcess output: Content-Length: 384
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c5d955a2-43a3-47d9-bcf7-6967f8ec72fe' instead of 'b\"c5d955a2-43a3-47d9-bcf7-6967f8ec72fe\"'.\n", "pid": 15136}}Content-Length: 359
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c5d955a2-43a3-47d9-bcf7-6967f8ec72fe' instead of 'b\"c5d955a2-43a3-47d9-bcf7-6967f8ec72fe\"'.\n"}}Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\n", "pid": 15136}}Content-Length: 90
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\n"}}
Info 2021-04-12 14:48:40: Python Daemon (pid: 15136): write to stderr: /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c5d955a2-43a3-47d9-bcf7-6967f8ec72fe' instead of 'b"c5d955a2-43a3-47d9-bcf7-6967f8ec72fe"'.

Warn 2021-04-12 14:48:40: Kernel 15136 as possibly died, StdErr from Kernel Process /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c5d955a2-43a3-47d9-bcf7-6967f8ec72fe' instead of 'b"c5d955a2-43a3-47d9-bcf7-6967f8ec72fe"'.

Warn 2021-04-12 14:48:40: StdErr from Kernel Process /Users/ortk1/opt/anaconda3/envs/py39/lib/python3.9/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c5d955a2-43a3-47d9-bcf7-6967f8ec72fe' instead of 'b"c5d955a2-43a3-47d9-bcf7-6967f8ec72fe"'.

Info 2021-04-12 14:48:40: Python Daemon (pid: 15136): write to stderr:   warn(

Warn 2021-04-12 14:48:40: Kernel 15136 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-04-12 14:48:40: StdErr from Kernel Process   warn(

Info 2021-04-12 14:48:41: Creating daemon process for /Users/ortk1/opt/anaconda3/envs/py39/bin/python with env variables count 46
Info 2021-04-12 14:48:41: Process Execution: > ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~/opt/anaconda3/envs/py39/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-04-12 14:48:41: Python Daemon (pid: 15141): Execute rpc method prewarm_kernel in DS Daemon
Info 2021-04-12 14:48:41: Python Daemon (pid: 15141): Execute rpc method prewarm_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:41: Python Daemon (pid: 15141): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Info 2021-04-12 14:48:41: Python Daemon (pid: 15141): Exec in DS Kernel Launcher Daemon (observable) ['/Users/ortk1/opt/anaconda3/envs/py39/bin/python', '/Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py', '/Users/ortk1/.vscode/extensions/ms-toolsai.jupyter-2021.5.702919634/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py']
Info 2021-04-12 14:48:41: Python Daemon (pid: 15141): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-04-12 14:48:41: Python Daemon (pid: 15141): Kernel launched, with PID 15142
Warn 2021-04-12 14:48:41: Python Daemon (pid: 15141): Waiting for Kernel to die 15142
Info 2021-04-12 14:48:41: Python Daemon (pid: 15141): Kernel launched, with PID as a daemon 15142
Info 2021-04-12 14:48:44: Attempting to start a server because of preload conditions ...
Info 2021-04-12 14:48:53: Shutting down session history://2a948200-5e10-4bf7-8f89-17ba6ba776b8
Info 2021-04-12 14:48:53: Shutdown session - current session
Info 2021-04-12 14:48:53: shutdownSession 5b907929-7d09-42fc-9f1a-893904644105, .python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d./Users/ortk1/opt/anaconda3/envs/py39/bin/python./Users/ortk1/opt/anaconda3/envs/py39/bin/python.Python 3.9.1 64-bit ('py39': conda) - start
Info 2021-04-12 14:48:53: Session can be shutdown .python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d./Users/ortk1/opt/anaconda3/envs/py39/bin/python./Users/ortk1/opt/anaconda3/envs/py39/bin/python.Python 3.9.1 64-bit ('py39': conda)
Info 2021-04-12 14:48:53: Dispose Kernel process
Info 2021-04-12 14:48:53: kill daemon
Info 2021-04-12 14:48:53: Closing interactive window: Interactive - #1
Info 2021-04-12 14:48:53: KernelProcess output: Content-Length: 132
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Execute rpc method kill_kernel in DS Daemon", "pid": 15123}}
Info 2021-04-12 14:48:53: Python Daemon (pid: 15123): Execute rpc method kill_kernel in DS Daemon
Info 2021-04-12 14:48:53: KernelProcess output: Content-Length: 172
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Execute rpc method kill_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python", "pid": 15123}}Content-Length: 129
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Kill kernel in DS Kernel Launcher Daemon", "pid": 15123}}Content-Length: 140
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Kill kernel in DS Kernel Launcher Daemon, pid 15126", "pid": 15123}}
Info 2021-04-12 14:48:53: Python Daemon (pid: 15123): Execute rpc method kill_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:53: KernelProcess output: Content-Length: 43
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "id": 3, "result": null}
Info 2021-04-12 14:48:53: Python Daemon (pid: 15123): Kill kernel in DS Kernel Launcher Daemon
Info 2021-04-12 14:48:53: Python Daemon (pid: 15123): Kill kernel in DS Kernel Launcher Daemon, pid 15126
Info 2021-04-12 14:48:53: Dispose Kernel process
Info 2021-04-12 14:48:53: shutdownSession 5b907929-7d09-42fc-9f1a-893904644105, .python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d./Users/ortk1/opt/anaconda3/envs/py39/bin/python./Users/ortk1/opt/anaconda3/envs/py39/bin/python.Python 3.9.1 64-bit ('py39': conda) - shutdown complete
Info 2021-04-12 14:48:53: Dispose Kernel process
Info 2021-04-12 14:48:53: Shutdown session - get restart session
Info 2021-04-12 14:48:53: Shutdown session - shutdown restart session
Info 2021-04-12 14:48:53: shutdownSession 17cee829-a076-4cb8-80a7-1883e7802bda, .python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d./Users/ortk1/opt/anaconda3/envs/py39/bin/python./Users/ortk1/opt/anaconda3/envs/py39/bin/python.Python 3.9.1 64-bit ('py39': conda) - start
Info 2021-04-12 14:48:53: Session can be shutdown .python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d./Users/ortk1/opt/anaconda3/envs/py39/bin/python./Users/ortk1/opt/anaconda3/envs/py39/bin/python.Python 3.9.1 64-bit ('py39': conda)
Info 2021-04-12 14:48:53: Dispose Kernel process
Info 2021-04-12 14:48:53: kill daemon
Info 2021-04-12 14:48:53: KernelProcess Exit Exit - undefined 
Info 2021-04-12 14:48:53: KernelProcess output: Content-Length: 132
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Execute rpc method kill_kernel in DS Daemon", "pid": 15136}}Content-Length: 172
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Execute rpc method kill_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python", "pid": 15136}}Content-Length: 129
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Kill kernel in DS Kernel Launcher Daemon", "pid": 15136}}Content-Length: 140
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Kill kernel in DS Kernel Launcher Daemon, pid 15137", "pid": 15136}}Content-Length: 43
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "id": 3, "result": null}
Info 2021-04-12 14:48:53: Python Daemon (pid: 15136): Execute rpc method kill_kernel in DS Daemon
Info 2021-04-12 14:48:53: Python Daemon (pid: 15136): Execute rpc method kill_kernel from /Users/ortk1/opt/anaconda3/envs/py39/bin/python
Info 2021-04-12 14:48:53: Python Daemon (pid: 15136): Kill kernel in DS Kernel Launcher Daemon
Info 2021-04-12 14:48:53: Python Daemon (pid: 15136): Kill kernel in DS Kernel Launcher Daemon, pid 15137
Info 2021-04-12 14:48:53: Dispose Kernel process
Info 2021-04-12 14:48:53: shutdownSession 17cee829-a076-4cb8-80a7-1883e7802bda, .python391jvsc74a57bd0e29a4e2f4b6dfb67b7301aa04a049d4f2a6e81d9adee001f621849ba176a009d./Users/ortk1/opt/anaconda3/envs/py39/bin/python./Users/ortk1/opt/anaconda3/envs/py39/bin/python.Python 3.9.1 64-bit ('py39': conda) - shutdown complete
Info 2021-04-12 14:48:53: Dispose Kernel process
Info 2021-04-12 14:48:53: Shutdown session -- complete
Info 2021-04-12 14:48:53: KernelProcess Exit Exit - undefined

@ortk95 ortk95 added the bug Issue identified by VS Code Team member as probable bug label Apr 12, 2021
@joyceerhl
Copy link
Contributor

Unfortunately I cannot reproduce this behavior. However this issue may be related: microsoft/vscode-python#15586. From that issue it seems like one workaround is adding the following to your user settings.json:

"python.experiments.optOutFrom": ["pythonJediLSP"]

Please could you try adding that? It's possible you're running into the same issue, as the Jupyter extension relies on the Python extension for Python interpreter discovery. Thank you!

@joyceerhl joyceerhl added the info-needed Issue requires more information from poster label Apr 13, 2021
@ortk95
Copy link
Author

ortk95 commented Apr 13, 2021

Thanks very much! It looks like adding "python.experiments.optOutFrom": ["pythonJediLSP"] has fixed the issue.

@joyceerhl
Copy link
Contributor

Awesome. Closing as a duplicate of microsoft/vscode-python#15586. Thank you for confirming!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2021
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 info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants