microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.29k stars 290 forks source link

Problems tab is not cleared after error has been fixed in Notebooks #5161

Closed jaymegordo closed 3 years ago

jaymegordo commented 3 years ago

Code cells very frequenty get their syntax highlighting messed up. Sometimes its highlighted in the wrong place, or just general "missing import" type things.

In this image, I'm hovering over "df", yet pylance thinks its referring to a "plt" variable:

vscode_pylance_syntax_highlighting

Switching the cell from code > to markdown (M) > back to code (Y) always resolves the issue, which makes me think pylance syntax state is allowed to get out of sync with the notebook cell's actual contents at some point. Running the cell does not resolve it.

Its really difficult to tell exactly when this happens or what causes it, but it's very frequent, almost guaranteed to happen at some point while working on a notebook.

Here's another example of how a cell looks immediately after reloading vs code:

before_cell_change

And after to markdown > to code:

after_cell_change

This is an issue I've seen happen in pretty much every notebook I've used since switching to native notebooks, and is the last "pretty annoying" unresolved bug I experience.

Environment data

Expected behaviour

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

``` User belongs to experiment group 'pythonJediLSP' User belongs to experiment group 'jupyterTest' User belongs to experiment group 'pythonDiscoveryModule' User belongs to experiment group 'NativeNotebookEditor' Info 2021-03-13 10:05:54: ZMQ install verified. Info 2021-03-13 10:05:54: Attempting to start a server because of preload conditions ... Info 2021-03-13 10:05:55: Found existing keyfile at /Users/Jayme/Library/Application Support/Code - Insiders/User/globalStorage/ms-toolsai.jupyter/nbsecret Info 2021-03-13 10:05:55: Check if Notebook is Trusted, Class name = p, completed in 0ms, has a truthy return value, Return Value: true Info 2021-03-13 10:05:55: Attempting to start a server because of preload conditions ... Info 2021-03-13 10:05:55: Search all interpreters /Users/Jayme/.local/share/virtualenvs/Jambot-uzRuMVcQ/bin/python, /Users/Jayme/.local/share/virtualenvs/SMS-4WPEHYhu/bin/python, /Users/Jayme/.local/share/virtualenvs/python-chromedriver-autoinstaller-BiRCrPZ2/bin/python, /Users/Jayme/.local/share/virtualenvs/whissybook-za4JZZmh/bin/python, /opt/miniconda3/bin/python, /opt/miniconda3/envs/512/bin/python, /opt/miniconda3/envs/513/bin/python, /opt/miniconda3/envs/522_grp_13/bin/python, /opt/miniconda3/envs/531/bin/python, /opt/miniconda3/envs/532_grp23/bin/python, /opt/miniconda3/envs/553/bin/python, /opt/miniconda3/envs/563/bin/python, /opt/miniconda3/envs/571/bin/python, /opt/miniconda3/envs/572/bin/python, /opt/miniconda3/envs/573/bin/python, /opt/miniconda3/envs/nicenumber/bin/python, /usr/local/bin/python, /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 Info 2021-03-13 10:05:56: Cached data exists getEnvironmentVariables, Info 2021-03-13 10:05:56: Cached data exists getEnvironmentVariables, Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import jupyter" > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import jupyter" Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import jupyter" > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import jupyter" Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import notebook" > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import notebook" Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import notebook" > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import notebook" Info 2021-03-13 10:05:56: Cached data exists getEnvironmentVariables, Info 2021-03-13 10:05:56: Cached data exists getEnvironmentVariables, Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version Info 2021-03-13 10:05:56: Process Execution: > /usr/local/opt/python@3.9/bin/python3.9 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" > /usr/local/opt/python@3.9/bin/python3.9 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" Info 2021-03-13 10:05:56: Process Execution: > /usr/local/opt/python@3.9/bin/python3.9 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" > /usr/local/opt/python@3.9/bin/python3.9 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/.local/share/virtualenvs/Jambot-uzRuMVcQ/share/jupyter/kernels/python3/kernel.json for /Users/Jayme/.local/share/virtualenvs/Jambot-uzRuMVcQ/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/.local/share/virtualenvs/SMS-4WPEHYhu/share/jupyter/kernels/python3/kernel.json for /Users/Jayme/.local/share/virtualenvs/SMS-4WPEHYhu/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/.local/share/virtualenvs/whissybook-za4JZZmh/share/jupyter/kernels/python3/kernel.json for /Users/Jayme/.local/share/virtualenvs/whissybook-za4JZZmh/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/512/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/512/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/513/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/513/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/522_grp_13/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/522_grp_13/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/531/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/531/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/532_grp23/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/532_grp23/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/553/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/553/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/563/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/563/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/571/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/571/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/572/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/572/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/573/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/nicenumber/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/nicenumber/bin/python Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/ir/kernel.json for undefined Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python3/kernel.json for undefined Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python36564bitvenvvirtualenv9e701f79e3d842e68396e668e6e8e076/kernel.json for undefined Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python38164bit8b4b56d360d1412abecb12d37ae5417d/kernel.json for undefined Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python38164bitjambotpipenv54aa71f2a0ac47cf8c8cd8c21cc6d144/kernel.json for undefined Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python38164bitsmspipenv575249c45d7f4959994ba4e4c050f4bf/kernel.json for undefined Info 2021-03-13 10:05:57: Cached data exists getEnvironmentVariables, Info 2021-03-13 10:05:57: Process Execution: > /usr/local/opt/python@3.9/bin/python3.9 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list > /usr/local/opt/python@3.9/bin/python3.9 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list Info 2021-03-13 10:05:57: Process Execution: > /usr/local/opt/python@3.9/bin/python3.9 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list > /usr/local/opt/python@3.9/bin/python3.9 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.8 64-bit ('base': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.7.9 64-bit ('513': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('522_grp_13': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('512': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.1 64-bit ('532_grp23': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.7.9 64-bit ('553': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('531': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('563': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.7.9 64-bit ('572': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.7.8 64-bit ('571': conda) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.2 64-bit ('nicenumber': conda) is 4 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('573': conda) is 19 Info 2021-03-13 10:05:57: findPreferredKernel score for R is -1 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.6.5 64-bit ('venv': virtualenv) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.1 64-bit is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.1 64-bit ('SMS': pipenv) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3 is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.1 64-bit ('Jambot': pipenv) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.2 64-bit ('SMS-4WPEHYhu': pipenv) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.2 64-bit ('whissybook-za4JZZmh': pipenv) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.2 64-bit ('Jambot-uzRuMVcQ': pipenv) is 3 Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.2 64-bit ('python-chromedriver-autoinstaller-BiRCrPZ2': pipenv) is 3 Info 2021-03-13 10:05:57: Find kernel spec, Class name = k, completed in 73ms, has a truthy return value, Arg 1: , Arg 2: {"celltoolbar":"Slideshow","kernelspec":{"display_name":"Python 3.8.6 64-bit ('573': conda)","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.6"},"rise":{"scroll":true,"theme":"league"}}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/opt/miniconda3/envs/573/bin/python","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723","argv":["/opt/miniconda3/envs/573/bin/python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/opt/miniconda3/envs/573/bin/python","display_name":"Python 3.8.6 64-bit ('573': conda)"},"interpreter":{"sysPrefix":"/opt/miniconda3/envs/573","envType":"Conda","envName":"573","envPath":"/opt/miniconda3/envs/573","path":"/opt/miniconda3/envs/573/bin/python","architecture":3,"sysVersion":"3.8.6 | packaged by conda-forge | (default, Oct 7 2020, 18:42:56) \n[Clang 10.0.1 ]","version":{"raw":"3.8.6","major":3,"minor":8,"patch":6,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.6 64-bit ('573': conda)"},"id":".python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723./opt/miniconda3/envs/573/bin/python./opt/miniconda3/envs/573/bin/python.Python 3.8.6 64-bit ('573': conda)"} Info 2021-03-13 10:05:57: KernelProvider switched kernel to id = .python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723./opt/miniconda3/envs/573/bin/python./opt/miniconda3/envs/573/bin/python.Python 3.8.6 64-bit ('573': conda)} Info 2021-03-13 10:05:57: Starting Notebook in kernel.ts id = .python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723./opt/miniconda3/envs/573/bin/python./opt/miniconda3/envs/573/bin/python.Python 3.8.6 64-bit ('573': conda) Info 2021-03-13 10:05:57: Creating raw notebook for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb Info 2021-03-13 10:05:57: Getting preferred kernel for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb Info 2021-03-13 10:05:57: Computing working directory file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb Info 2021-03-13 10:05:57: Connecting to raw session for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/opt/miniconda3/envs/573/bin/python","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723","argv":["/opt/miniconda3/envs/573/bin/python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/opt/miniconda3/envs/573/bin/python","display_name":"Python 3.8.6 64-bit ('573': conda)"},"interpreter":{"sysPrefix":"/opt/miniconda3/envs/573","envType":"Conda","envName":"573","envPath":"/opt/miniconda3/envs/573","path":"/opt/miniconda3/envs/573/bin/python","architecture":3,"sysVersion":"3.8.6 | packaged by conda-forge | (default, Oct 7 2020, 18:42:56) \n[Clang 10.0.1 ]","version":{"raw":"3.8.6","major":3,"minor":8,"patch":6,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.6 64-bit ('573': conda)"},"id":".python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723./opt/miniconda3/envs/573/bin/python./opt/miniconda3/envs/573/bin/python.Python 3.8.6 64-bit ('573': conda)"} Info 2021-03-13 10:05:57: Starting raw kernel Python 3.8.6 64-bit ('573': conda) Info 2021-03-13 10:05:57: installMissingDependencies /opt/miniconda3/envs/573/bin/python Info 2021-03-13 10:05:57: Cached data exists getEnvironmentVariables, Info 2021-03-13 10:05:57: Creating daemon pool for /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 with env variables count 0 Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-03-13 10:06:00: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list Info 2021-03-13 10:06:00: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" Info 2021-03-13 10:06:00: Install Missing Dependencies, Class name = v, completed in 3635ms, has a falsy return value, Return Value: undefined Info 2021-03-13 10:06:00: Kernel launching with ports 9026,9027,9028,9029,9030. Start port is 9000 Info 2021-03-13 10:06:00: Launching kernel daemon for Python 3.8.6 64-bit ('573': conda) # /opt/miniconda3/envs/573/bin/python Info 2021-03-13 10:06:00: Fetching interpreter variables of Conda environment to be used as env vars of Kernel Info 2021-03-13 10:06:03: Creating daemon process for /opt/miniconda3/envs/573/bin/python with env variables count 110 Info 2021-03-13 10:06:03: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v Info 2021-03-13 10:06:03: Got custom variables for Kernel owned by a conda interpreter Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Execute rpc method exec_module in DS Daemon Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Execute rpc method exec_module from /opt/miniconda3/envs/573/bin/python Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Exec module in DS Kernel Launcher Daemon ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9029', '--control=9027', '--hb=9026', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"29fd1c20-e428-427a-ab15-8805d05a9b49"', '--shell=9028', '--transport="tcp"', '--iopub=9030', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946lEvuOGc3Y2sf.json'] Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Exec in DS Kernel Launcher Daemon (observable) ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9029', '--control=9027', '--hb=9026', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"29fd1c20-e428-427a-ab15-8805d05a9b49"', '--shell=9028', '--transport="tcp"', '--iopub=9030', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946lEvuOGc3Y2sf.json'] Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Exec in DS Kernel Launcher Daemon (observable) ['/opt/miniconda3/envs/573/bin/python', '-m', 'ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9029', '--control=9027', '--hb=9026', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"29fd1c20-e428-427a-ab15-8805d05a9b49"', '--shell=9028', '--transport="tcp"', '--iopub=9030', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946lEvuOGc3Y2sf.json'] Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Exec in DS Kernel Launcher Daemon (observable) Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Kernel launched, with PID 26443 Warn 2021-03-13 10:06:03: Python Daemon (pid: 26442): Waiting for Kernel to die 26443 Info 2021-03-13 10:06:03: Launching kernel daemon, Class name = h, completed in 2847ms, has a truthy return value, Arg 1: , Arg 2: "/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor", Arg 3: {"specFile":"/opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/opt/miniconda3/envs/573/bin/python","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723","argv":["/opt/miniconda3/envs/573/bin/python","-m","ipykernel_launcher","--ip=127.0.0.1","--stdin=9029","--control=9027","--hb=9026","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"29fd1c20-e428-427a-ab15-8805d05a9b49\"","--shell=9028","--transport=\"tcp\"","--iopub=9030","--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946lEvuOGc3Y2sf.json"],"language":"python","path":"/opt/miniconda3/envs/573/bin/python","display_name":"Python 3.8.6 64-bit ('573': conda)"}, Arg 4: {"sysPrefix":"/opt/miniconda3/envs/573","envType":"Conda","envName":"573","envPath":"/opt/miniconda3/envs/573","path":"/opt/miniconda3/envs/573/bin/python","architecture":3,"sysVersion":"3.8.6 | packaged by conda-forge | (default, Oct 7 2020, 18:42:56) \n[Clang 10.0.1 ]","version":{"raw":"3.8.6","major":3,"minor":8,"patch":6,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.6 64-bit ('573': conda)"}, Return Value: Info 2021-03-13 10:06:03: Launching kernel in kernelProcess.ts, Class name = _, completed in 2848ms, has a truthy return value, Arg 1: "/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/opt/miniconda3/envs/573/bin/python","_handle":{"pid":26442},"spawnargs":["/opt/miniconda3/envs/573/bin/python","/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":26442,"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-03-13 10:06:04: KernelProcess output: Content-Length: 346 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /opt/miniconda3/envs/573/lib/python3.8/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": 26442}}Content-Length: 321 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/opt/miniconda3/envs/573/lib/python3.8/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"}} Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr: /opt/miniconda3/envs/573/lib/python3.8/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-03-13 10:06:04: KernelProcess output: 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": 26442}}Content-Length: 90 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": " warn(\n"}}Content-Length: 372 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b\"29fd1c20-e428-427a-ab15-8805d05a9b49\"'.\n", "pid": 26442}}Content-Length: 347 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b\"29fd1c20-e428-427a-ab15-8805d05a9b49\"'.\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": 26442}}Content-Length: 90 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": " warn(\n"}} Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/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-03-13 10:06:04: StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/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-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr: warn( Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process warn( Warn 2021-03-13 10:06:04: StdErr from Kernel Process warn( Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b"29fd1c20-e428-427a-ab15-8805d05a9b49"'. Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b"29fd1c20-e428-427a-ab15-8805d05a9b49"'. Warn 2021-03-13 10:06:04: StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b"29fd1c20-e428-427a-ab15-8805d05a9b49"'. Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr: warn( Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process warn( Warn 2021-03-13 10:06:04: StdErr from Kernel Process warn( Info 2021-03-13 10:06:04: KernelProcess output: Content-Length: 172 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: [IPKernelApp] WARNING | Unknown error in handling startup files:\n", "pid": 26442}}Content-Length: 147 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "[IPKernelApp] WARNING | Unknown error in handling startup files:\n"}} Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr: [IPKernelApp] WARNING | Unknown error in handling startup files: Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files: Warn 2021-03-13 10:06:04: StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files: Info 2021-03-13 10:06:04: Raw session started and connected Started kernel Python 3.8.6 64-bit ('573': conda) Info 2021-03-13 10:06:04: Initial setup for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb starting ... Info 2021-03-13 10:06:04: Kernel switching to busy Info 2021-03-13 10:06:04: Kernel switching to idle Info 2021-03-13 10:06:04: Starting raw kernel Python 3.8.6 64-bit ('573': conda) Info 2021-03-13 10:06:04: installMissingDependencies /opt/miniconda3/envs/573/bin/python Info 2021-03-13 10:06:04: Initialize matplotlib for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb Info 2021-03-13 10:06:04: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" Info 2021-03-13 10:06:04: Kernel switching to busy Info 2021-03-13 10:06:04: Kernel switching to idle Info 2021-03-13 10:06:04: Kernel switching to busy Info 2021-03-13 10:06:04: Kernel switching to idle Info 2021-03-13 10:06:04: Kernel switching to busy Info 2021-03-13 10:06:04: Install Missing Dependencies, Class name = v, completed in 365ms, has a falsy return value, Return Value: undefined Info 2021-03-13 10:06:04: Kernel launching with ports 9031,9032,9033,9034,9035. Start port is 9000 Info 2021-03-13 10:06:04: Launching kernel daemon for Python 3.8.6 64-bit ('573': conda) # /opt/miniconda3/envs/573/bin/python Info 2021-03-13 10:06:04: Fetching interpreter variables of Conda environment to be used as env vars of Kernel Info 2021-03-13 10:06:04: Creating daemon process for /opt/miniconda3/envs/573/bin/python with env variables count 110 Info 2021-03-13 10:06:04: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v Info 2021-03-13 10:06:04: Kernel switching to idle Info 2021-03-13 10:06:04: Run startup code for notebook: %load_ext autoreload %autoreload 2 %config Completer.use_jedi = False - results: 1 Info 2021-03-13 10:06:04: Initial setup complete for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb Info 2021-03-13 10:06:04: Finished connecting facc286e-4b8b-4b62-8214-15ff303ca35f Info 2021-03-13 10:06:04: Registering commtarget jupyter.widget Info 2021-03-13 10:06:04: Waiting for idle on (kernel): 77db9e6f-a1bc-4960-8c7a-5cda36f06361 -> idle Info 2021-03-13 10:06:04: Finished waiting for idle on (kernel): 77db9e6f-a1bc-4960-8c7a-5cda36f06361 -> idle Info 2021-03-13 10:06:04: Got custom variables for Kernel owned by a conda interpreter Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Execute rpc method exec_module in DS Daemon Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Execute rpc method exec_module from /opt/miniconda3/envs/573/bin/python Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Exec module in DS Kernel Launcher Daemon ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9034', '--control=9032', '--hb=9031', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"5832651b-3371-4a62-8a32-66831f62ff1d"', '--shell=9033', '--transport="tcp"', '--iopub=9035', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946QDccD1UAlQL6.json'] Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Exec in DS Kernel Launcher Daemon (observable) ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9034', '--control=9032', '--hb=9031', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"5832651b-3371-4a62-8a32-66831f62ff1d"', '--shell=9033', '--transport="tcp"', '--iopub=9035', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946QDccD1UAlQL6.json'] Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Exec in DS Kernel Launcher Daemon (observable) ['/opt/miniconda3/envs/573/bin/python', '-m', 'ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9034', '--control=9032', '--hb=9031', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"5832651b-3371-4a62-8a32-66831f62ff1d"', '--shell=9033', '--transport="tcp"', '--iopub=9035', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946QDccD1UAlQL6.json'] Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Exec in DS Kernel Launcher Daemon (observable) Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Kernel launched, with PID 26448 Warn 2021-03-13 10:06:04: Python Daemon (pid: 26447): Waiting for Kernel to die 26448 Info 2021-03-13 10:06:04: Launching kernel daemon, Class name = h, completed in 67ms, has a truthy return value, Arg 1: , Arg 2: "/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor", Arg 3: {"specFile":"/opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/opt/miniconda3/envs/573/bin/python","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723","argv":["/opt/miniconda3/envs/573/bin/python","-m","ipykernel_launcher","--ip=127.0.0.1","--stdin=9034","--control=9032","--hb=9031","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"5832651b-3371-4a62-8a32-66831f62ff1d\"","--shell=9033","--transport=\"tcp\"","--iopub=9035","--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946QDccD1UAlQL6.json"],"language":"python","path":"/opt/miniconda3/envs/573/bin/python","display_name":"Python 3.8.6 64-bit ('573': conda)"}, Arg 4: {"sysPrefix":"/opt/miniconda3/envs/573","envType":"Conda","envName":"573","envPath":"/opt/miniconda3/envs/573","path":"/opt/miniconda3/envs/573/bin/python","architecture":3,"sysVersion":"3.8.6 | packaged by conda-forge | (default, Oct 7 2020, 18:42:56) \n[Clang 10.0.1 ]","version":{"raw":"3.8.6","major":3,"minor":8,"patch":6,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.6 64-bit ('573': conda)"}, Return Value: Info 2021-03-13 10:06:04: Launching kernel in kernelProcess.ts, Class name = _, completed in 67ms, has a truthy return value, Arg 1: "/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/opt/miniconda3/envs/573/bin/python","_handle":{"pid":26447},"spawnargs":["/opt/miniconda3/envs/573/bin/python","/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":26447,"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-03-13 10:06:05: KernelProcess output: Content-Length: 346 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /opt/miniconda3/envs/573/lib/python3.8/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": 26447}} Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr: /opt/miniconda3/envs/573/lib/python3.8/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-03-13 10:06:05: KernelProcess output: Content-Length: 321 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/opt/miniconda3/envs/573/lib/python3.8/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": 26447}}Content-Length: 90 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": " warn(\n"}}Content-Length: 372 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b\"5832651b-3371-4a62-8a32-66831f62ff1d\"'.\n", "pid": 26447}}Content-Length: 347 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b\"5832651b-3371-4a62-8a32-66831f62ff1d\"'.\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": 26447}}Content-Length: 90 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": " warn(\n"}} Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/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-03-13 10:06:05: StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/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-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr: warn( Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process warn( Warn 2021-03-13 10:06:05: StdErr from Kernel Process warn( Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b"5832651b-3371-4a62-8a32-66831f62ff1d"'. Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b"5832651b-3371-4a62-8a32-66831f62ff1d"'. Warn 2021-03-13 10:06:05: StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b"5832651b-3371-4a62-8a32-66831f62ff1d"'. Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr: warn( Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process warn( Warn 2021-03-13 10:06:05: StdErr from Kernel Process warn( Info 2021-03-13 10:06:05: KernelProcess output: Content-Length: 172 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: [IPKernelApp] WARNING | Unknown error in handling startup files:\n", "pid": 26447}} Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr: [IPKernelApp] WARNING | Unknown error in handling startup files: Info 2021-03-13 10:06:05: KernelProcess output: Content-Length: 147 Content-Type: application/vscode-jsonrpc; charset=utf8 {"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "[IPKernelApp] WARNING | Unknown error in handling startup files:\n"}} Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files: Warn 2021-03-13 10:06:05: StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files: Info 2021-03-13 10:06:17: Execute Cell 0 vscode-notebook-cell:/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb#ch0000066 in kernelWithMetadata.ts Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. User queued cell for execution Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. Update cell state as it was enqueued Info 2021-03-13 10:06:17: Hooked up kernel restart handler Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. Ready to execute Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. Before Execute individual cell Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. Start execution Info 2021-03-13 10:06:17: Cell Index:0, state:1, exec: undefined. Send code for execution Info 2021-03-13 10:06:17: Cell Index:0, state:1, exec: undefined. Wait for jupyter execution Info 2021-03-13 10:06:17: Cell Index:0, state:1, exec: undefined. Kernel switching to busy Info 2021-03-13 10:06:17: Notebook Session status file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb # Busy Info 2021-03-13 10:06:17: Cell Index:0, state:1, exec: undefined. Update execution count Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Kernel switching to idle Info 2021-03-13 10:06:19: Notebook Session status file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb # Idle Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Jupyter execution completed Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Completed successfully Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Update run duration Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Update cell state 3 and message '' Info 2021-03-13 10:06:19: Cell Index:0, state:3, exec: 1. Completed successfully & resolving Info 2021-03-13 10:06:19: Cell Index:0, state:3, exec: 1. After Execute individual cell 3 Info 2021-03-13 10:06:19: Cell Index:0, state:3, exec: 1. Executed successfully in executeCell Info 2021-03-13 10:06:19: Cell Index:0, state:3, exec: 1. Execution disposed ```

claudiaregio commented 3 years ago

Hi @jaymegordo, does the issue persist if you change your language server in your JSON settings back to "Jedi" or "Microsoft"?

jaymegordo commented 3 years ago

@claudiaregio after a very quick test of both, the issue immediately comes back with "Microsoft", but not with "Jedi".

claudiaregio commented 3 years ago

@jaymegordo thanks for checking! Will have a dev look as soon as possible

DonJayamanne commented 3 years ago

@jaymegordo

Sorry you're experiencing this issue. I'd like to get this fixed for our next release. However I'm struggling to replicate this issue.

ts really difficult to tell exactly when this happens or what causes it, but it's very frequent, almost guaranteed to happen at some point while

I'll keep trying as well. In the mean time if you can (or manage to find a way to replicate this) please could you provide some steps i can use to repro this at my end. Thanks

DonJayamanne commented 3 years ago

From @chrisdias

I'm having similar issues... after working with a few cells, adding/removing code I end up with leftover errors that should be gone but they linger.

image

This with latest Jupyter/Plyance/Python extensions installed in an Ubuntu 20.04 image running on WSL:

image

DonJayamanne commented 3 years ago

@chrisdias I've been trying to replicate this at my end and have been unsuccessful, Will keep trying.

joyceerhl commented 3 years ago

@DonJayamanne I can reliably induce ghost diagnostics in the Problems pane by following these steps:

  1. Create two cells with invalid code. Note the two diagnostics which are reported for each cell. image

  2. Delete the content of the first cell and note that the diagnostic correctly disappears. image

  3. Ctrl+Z to undo the deletion. The diagnostic correctly reappears. image

  4. Now join the two cells. image

  5. A third diagnostic appears, which suggests that the language server is unaware that the text document for the second cell has disappeared. image

  6. Close the document by clicking on the X in the document title tab. The diagnostics for that document continue to be reported in the Problems pane, which suggests that the language server is not notified that the document has been closed.

joyceerhl commented 3 years ago

Found an even simpler repro, creating a cell with an error in it and then deleting it does not clear the diagnostic in the problems panel.

jaymegordo commented 3 years ago

Not exactly sure the simplest way to repro this I could share a notebook maybe? What @joyceerhl has shown seems to be the same thing for sure.

here's another example, this type of thing still happens every time I use a notebook, and you can tell that the state of pylance is completely out of sync with the cells contents:

vscode_highlighting_problems
DonJayamanne commented 3 years ago

Hopefully will be fixed by https://github.com/microsoft/vscode-python/pull/16529

rchiodo commented 3 years ago

I think this is fixed now? At least there were bugs with markdown cells causing diagnostics to jump around.