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

Connecting to kernel for python 3.10.0 failed #8944

Closed
vliegeois opened this issue Feb 7, 2022 · 7 comments
Closed

Connecting to kernel for python 3.10.0 failed #8944

vliegeois opened this issue Feb 7, 2022 · 7 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-kernel Kernels issues (start/restart/switch/execution, install ipykernel)

Comments

@vliegeois
Copy link

Environment data

  • VS Code version: 1.64.0
  • Jupyter Extension version (available under the Extensions sidebar): v2022.1.1001775990
  • Python Extension version (available under the Extensions sidebar): v2022.0.1786462952
  • OS (Windows | Mac | Linux distro) and version: Mac
  • Python and/or Anaconda version: 3.10.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda 4.11.0
  • Jupyter server running: Local

Expected behaviour

When executing a jupyter notebook python cell, the cell should be executed

Actual behaviour

Connecting to kernel (Python 3.10.0): waiting for jupyter server

This was fine for Jupyter extension v2022.1.1001614873.
This is also fine for python 3.9.
Only failed with python 3.10 and last jupyter extension v2022.1.1001775990

Steps to reproduce:

Create an empty Jupyter notebook.
Type some python code in a cell and try to execute it.

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. XXX

Logs

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

XXX

@vliegeois vliegeois added the bug Issue identified by VS Code Team member as probable bug label Feb 7, 2022
@DonJayamanne DonJayamanne added the notebook-kernel Kernels issues (start/restart/switch/execution, install ipykernel) label Feb 7, 2022
@DonJayamanne
Copy link
Contributor

@vliegeois Thanks for filing this issue
Please could you provide the following information:

  • Output from the Jupyter output panel
  • Please could you confirm this worked in the previous version of the Jupyter extension (with Python 3.10).

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Feb 7, 2022
@vliegeois
Copy link
Author

Hi
Yes, everything was fine with previous version of Jupyter v2022.1.1001614873 and python 3.10.
I can also confirm to you that the issue affect both intel/m1 Mac.

In the Output panel, for jupyter, here is the complete output

Visual Studio Code (1.64.0, undefined, desktop)
Jupyter Extension Version: 2022.1.1001775990.
Python Extension Version: 2022.0.1786462952.
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Error 21:50:36: Exception while attempting zmq : [Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=89 uv=1 armv=8 libc=glibc node=14.16.0 electron=13.5.2
loaded from: /Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/node_modules/zeromq

at Function.load.path (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/node_modules/node-gyp-build/index.js:59:9)
at load (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/node_modules/node-gyp-build/index.js:21:30)
at Object.<anonymous> (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/node_modules/zeromq/lib/native.js:6:43)
at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:32271)
at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:28855)
at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:60382)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
at Object.<anonymous> (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/node_modules/zeromq/lib/index.js:3:16)
at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:32271)
at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:28855)
at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:60382)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
at Object.<anonymous> (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:51:195125)
at n (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:1:186)
at d.zmqSupported (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:113:223967)
at d.isSupportedForLocalLaunch (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:113:223758)
at d.get isSupported [as isSupported] (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:113:223668)
at t.registerTypes (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:66:1055763)
at /Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:66:275217
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async /Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:51:791501
at async t.activate (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/out/client/extension.js:51:791180)]

Info 21:50:36: Old kernelspecs (created by Jupyter extension) stored in directory /Users/vliegeoi/Library/Jupyter/kernels/__old_vscode_kernelspecs
Info 21:50:36: Preferred kernel connection found in cache .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher
Info 21:50:36: PreferredConnection: .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher found for NotebookDocument: untitled:Untitled-1.ipynb?jupyter-notebook
Info 21:50:36: Early registration of controller for Kernel connection .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher
Info 21:50:36: TargetController found ID: .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher for document untitled:Untitled-1.ipynb?jupyter-notebook
Info 21:50:36: Setting controller affinity for untitled:Untitled-1.ipynb?jupyter-notebook .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher
Info 21:50:36: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 21:50:36: Interrupt requested & no kernel.
Info 21:50:36: Setting setActiveController for untitled:Untitled-1.ipynb?jupyter-notebook
Info 21:50:36: KernelProvider switched kernel to id = .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:50:36: Starting Notebook in kernel.ts id = .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:50:36: Checking for server existence.
Info 21:50:36: Checking for server usability.
Info 21:50:37: Creating controller for jupyter-notebook with interpreter /opt/miniconda3/bin/python
Info 21:50:37: Process Execution: > /opt/miniconda3/bin/python -c "import notebook"

/opt/miniconda3/bin/python -c "import notebook"
Info 21:50:37: Process Execution: > /opt/miniconda3/bin/python -c "import jupyter"
/opt/miniconda3/bin/python -c "import jupyter"
Info 21:50:37: Process Execution: > /opt/miniconda3/bin/python -m pip list
/opt/miniconda3/bin/python -m pip list
Info 21:50:37: Registering dummy command feature
Info 21:50:38: Process Execution: > /opt/miniconda3/envs/py3.10/bin/python -m pip list
/opt/miniconda3/envs/py3.10/bin/python -m pip list
Info 21:50:38: Got activated conda env vars ourselves for /opt/miniconda3/envs/py3.10/bin/python in 1076
Info 21:50:38: Got activated conda env vars ourselves for /opt/miniconda3/bin/python in 1003
Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python -m jupyter kernelspec --version
/opt/miniconda3/bin/python -m jupyter kernelspec --version
Info 21:50:38: Starting notebook server.
Info 21:50:38: Connecting to server
Info 21:50:38: Launching server
Info 21:50:38: Starting Notebook
Info 21:50:38: Generating custom default config at /var/folders/vl/qsm_jb5s5fx74_tyr05lql_40000gn/T/8bb739df-e5bf-4ddc-b165-c739ffbdafd1/jupyter_notebook_config.py
Info 21:50:38: Starting Jupyter Notebook
Starting Jupyter from /opt/miniconda3/bin/python with command line --no-browser --notebook-dir="/" --config=/var/folders/vl/qsm_jb5s5fx74_tyr05lql_40000gn/T/8bb739df-e5bf-4ddc-b165-c739ffbdafd1/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 21:50:38: Creating daemon pool for /opt/miniconda3/bin/python with env variables count 48
Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
/opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
/opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
/opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/" --config=/var/folders/vl/qsm_jb5s5fx74_tyr05lql_40000gn/T/8bb739df-e5bf-4ddc-b165-c739ffbdafd1/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
/opt/miniconda3/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/" --config=/var/folders/vl/qsm_jb5s5fx74_tyr05lql_40000gn/T/8bb739df-e5bf-4ddc-b165-c739ffbdafd1/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 21:50:38: Waiting for Jupyter Notebook
/opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
Info 21:50:38: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(

[I 21:50:38.874 NotebookApp] Serving notebooks from local directory: /
Info 21:50:38: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:50:38.874 NotebookApp] Serving notebooks from local directory: /

[I 21:50:38.874 NotebookApp] Jupyter Notebook 6.4.6 is running at:
Info 21:50:38: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:50:38.874 NotebookApp] Serving notebooks from local directory: /
[I 21:50:38.874 NotebookApp] Jupyter Notebook 6.4.6 is running at:

[I 21:50:38.874 NotebookApp] http://localhost:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
Info 21:50:38: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:50:38.874 NotebookApp] Serving notebooks from local directory: /
[I 21:50:38.874 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 21:50:38.874 NotebookApp] http://localhost:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0

Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py

/opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 21:50:38.874 NotebookApp] or http://127.0.0.1:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
Info 21:50:38: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:50:38.874 NotebookApp] Serving notebooks from local directory: /
[I 21:50:38.874 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 21:50:38.874 NotebookApp] http://localhost:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
[I 21:50:38.874 NotebookApp] or http://127.0.0.1:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0

Info 21:50:38: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py

/opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 21:50:38.874 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Info 21:50:38: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:50:38.874 NotebookApp] Serving notebooks from local directory: /
[I 21:50:38.874 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 21:50:38.874 NotebookApp] http://localhost:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
[I 21:50:38.874 NotebookApp] or http://127.0.0.1:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
[I 21:50:38.874 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

[C 21:50:38.876 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/vliegeoi/Library/Jupyter/runtime/nbserver-67548-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
 or http://127.0.0.1:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0

Info 21:50:38: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:50:38.874 NotebookApp] Serving notebooks from local directory: /
[I 21:50:38.874 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 21:50:38.874 NotebookApp] http://localhost:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
[I 21:50:38.874 NotebookApp] or http://127.0.0.1:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
[I 21:50:38.874 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 21:50:38.876 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/vliegeoi/Library/Jupyter/runtime/nbserver-67548-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0
 or http://127.0.0.1:8888/?token=06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0

Info 21:50:39: Connecting to process server
Info 21:50:39: Connecting server kernel http://localhost:8888/
Info 21:50:39: Creating server with settings : {"baseUrl":"http://localhost:8888/","appUrl":"","wsUrl":"ws://localhost:8888/","token":"06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 21:50:39: Connection complete server
Info 21:50:39: Server started.
Info 21:50:39: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py

/opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 21:50:39: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py
/opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001775990/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 21:50:39.149 NotebookApp] Creating new notebook in
[E 21:50:39.154 NotebookApp] Error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
Traceback (most recent call last):
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/filemanager.py", line 477, in save
self._save_notebook(os_path, nb)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 290, in _save_notebook
with self.atomic_writing(os_path, encoding='utf-8') as f:
File "/opt/miniconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 210, in atomic_writing
with atomic_writing(os_path, args, log=self.log, **kwargs) as f:
File "/opt/miniconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 105, in atomic_writing
fileobj = io.open(path, 'w', encoding=encoding, **kwargs)
OSError: [Errno 30] Read-only file system: '/Untitled.ipynb'
[W 21:50:39.154 NotebookApp] 500 POST /api/contents?1644267039054 (127.0.0.1): Unexpected error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
[W 21:50:39.155 NotebookApp] Unexpected error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
[E 21:50:39.155 NotebookApp] {
"Content-Type": "text/plain;charset=UTF-8",
"Authorization": "token 06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0",
"Accept": "
/",
"Content-Length": "29",
"User-Agent": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",
"Accept-Encoding": "gzip,deflate",
"Connection": "close",
"Host": "localhost:8888"
}
[E 21:50:39.155 NotebookApp] 500 POST /api/contents?1644267039054 (127.0.0.1) 6.100000ms referer=None
[I 21:50:39.158 NotebookApp] Creating new notebook in
Info 21:50:39: installMissingDependencies /opt/miniconda3/envs/py3.10/bin/python
Info 21:50:39: IPykernel found previously in this environment /opt/miniconda3/envs/py3.10/bin/python
[E 21:50:39.159 NotebookApp] Error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
Traceback (most recent call last):
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/filemanager.py", line 477, in save
self._save_notebook(os_path, nb)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 290, in _save_notebook
with self.atomic_writing(os_path, encoding='utf-8') as f:
File "/opt/miniconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 210, in atomic_writing
with atomic_writing(os_path, args, log=self.log, **kwargs) as f:
File "/opt/miniconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 105, in atomic_writing
fileobj = io.open(path, 'w', encoding=encoding, **kwargs)
OSError: [Errno 30] Read-only file system: '/Untitled.ipynb'
[W 21:50:39.159 NotebookApp] 500 POST /api/contents?1644267039155 (127.0.0.1): Unexpected error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
[W 21:50:39.160 NotebookApp] Unexpected error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
[E 21:50:39.160 NotebookApp] {
"Content-Type": "text/plain;charset=UTF-8",
"Authorization": "token 06aa610b2b1453e3a9d89f8c7d3fa83467529278c1ad4bf0",
"Accept": "
/
",
"Content-Length": "19",
"User-Agent": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",
"Accept-Encoding": "gzip,deflate",
"Connection": "close",
"Host": "localhost:8888"
}
[E 21:50:39.160 NotebookApp] 500 POST /api/contents?1644267039155 (127.0.0.1) 1.820000ms referer=None
Info 21:50:39: Spec argv[0] updated from '/opt/miniconda3/envs/py3.10/bin/python' to '/opt/miniconda3/envs/py3.10/bin/python'
Info 21:50:39: Starting a new session for kernel id = .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher, name = python3100jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f
[I 21:50:39.244 NotebookApp] Kernel started: 15f408c7-df0c-4cde-b67d-402e4303a315, name: python3100jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f
Info 21:50:39: Waiting for idle on (kernel): 15f408c7-df0c-4cde-b67d-402e4303a315 -> unknown
Info 21:50:39: Finished waiting for idle on (kernel): 15f408c7-df0c-4cde-b67d-402e4303a315 -> idle
Info 21:50:39: Started session for kernel .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:50:39: Waiting for idle (session) kernel .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:50:39: Waiting for idle on (kernel): 15f408c7-df0c-4cde-b67d-402e4303a315 -> idle
Info 21:50:39: Finished waiting for idle on (kernel): 15f408c7-df0c-4cde-b67d-402e4303a315 -> idle
Info 21:50:39: Finished connecting kernel .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:50:40: Execute Cells request 0
Info 21:50:40: Execute Cell 0 untitled:Untitled-1.ipynb?jupyter-notebook
Info 21:50:45: Loading webview. View is notset
Info 21:50:45: Loading web view...
Info 21:50:45: Webview panel created.
Info 21:50:45: Web view react rendered
Info 21:50:45: Executing silently Code (idle) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
Info 21:50:45: Executing silently Code (idle) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
Info 21:50:45: Executing silently Code (completed) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
Info 21:50:45: Executing silently Code (idle) = import builtins\n_rwho_ls = %who_ls\nbuiltins.print(_VSCODE_getVariableTypes(_rwho_ls))
Info 21:50:45: Executing silently Code (completed) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
Info 21:50:45: Executing silently Code (idle) = import builtins\n_rwho_ls = %who_ls\nbuiltins.print(_VSCODE_getVariableTypes(_rwho_ls))
Info 21:50:45: Executing silently Code (completed) = import builtins\n_rwho_ls = %who_ls\nbuiltins.print(_VSCODE_getVariableTypes(_rwho_ls))
Info 21:50:45: Executing silently Code (completed) = import builtins\n_rwho_ls = %who_ls\nbuiltins.print(_VSCODE_getVariableTypes(_rwho_ls))
Info 21:50:45: Searching for token colors ...
Info 21:50:45: Attempting search for colors ...
Info 21:50:45: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/light_vs.json ...
Info 21:50:45: Attempting search for colors ...
Info 21:50:45: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-defaults/themes/light_vs.json ...
Info 21:50:45: Using colors to generate CSS ...

For the previous version, when everything was working fine:
Jupyter Extension Version: 2022.1.1001614873.
Python Extension Verison: 2022.0.1786462952.
Info 21:52:43: Experimentation service retrieved: [object Object]
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Error 21:52:43: Exception while attempting zmq : [Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=89 uv=1 armv=8 libc=glibc node=14.16.0 electron=13.5.2
loaded from: /Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/node_modules/zeromq

at Function.load.path (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/node_modules/node-gyp-build/index.js:59:9)
at load (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/node_modules/node-gyp-build/index.js:21:30)
at Object.<anonymous> (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/node_modules/zeromq/lib/native.js:6:43)
at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:32271)
at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:28855)
at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:60382)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
at Object.<anonymous> (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/node_modules/zeromq/lib/index.js:3:16)
at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:32271)
at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:28855)
at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:60382)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
at Object.<anonymous> (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:51:196542)
at n (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:1:186)
at d.zmqSupported (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:104:276100)
at d.isSupportedForLocalLaunch (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:104:275891)
at d.get isSupported [as isSupported] (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:104:275801)
at t.registerTypes (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:66:1076653)
at /Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:66:278108
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async /Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:51:757973
at async t.activate (/Users/vliegeoi/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/out/client/extension.js:51:757652)]

Info 21:52:43: Old kernelspecs (created by Jupyter extension) stored in directory /Users/vliegeoi/Library/Jupyter/kernels/__old_vscode_kernelspecs
Info 21:52:43: Freferred kernel connection found in cache .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher
Info 21:52:43: PreferredConnection: .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher found for NotebookDocument: untitled:Untitled-1.ipynb?jupyter-notebook
Info 21:52:43: Early registration of controller for Kernel connection .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher
Info 21:52:43: TargetController found ID: .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher for document untitled:Untitled-1.ipynb?jupyter-notebook
Info 21:52:43: Setting controller affinity for untitled:Untitled-1.ipynb?jupyter-notebook .jvsc74a57bd03d597f4c481aa0f25dceb95d2a0067e73c0966dcbd003d741d821a7208527ecf./opt/miniconda3/python./opt/miniconda3/python.-m#ipykernel_launcher
Info 21:52:43: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 21:52:43: Interrupt requested & no kernel.
Info 21:52:43: Setting setActiveController for untitled:Untitled-1.ipynb?jupyter-notebook
Info 21:52:43: KernelProvider switched kernel to id = .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:52:43: Starting Notebook in kernel.ts id = .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:52:43: Checking for server existence.
Info 21:52:43: Checking for server usability.
Info 21:52:44: Creating controller for jupyter-notebook with interpreter /opt/miniconda3/bin/python
Info 21:52:44: Process Execution: > /opt/miniconda3/bin/python -c "import notebook"

/opt/miniconda3/bin/python -c "import notebook"
Info 21:52:44: Process Execution: > /opt/miniconda3/envs/py3.10/bin/python -m pip list
/opt/miniconda3/envs/py3.10/bin/python -m pip list
Info 21:52:44: Process Execution: > /opt/miniconda3/bin/python -c "import jupyter"
/opt/miniconda3/bin/python -c "import jupyter"
Info 21:52:44: Process Execution: > /opt/miniconda3/bin/python -m pip list
/opt/miniconda3/bin/python -m pip list
Info 21:52:44: Got activated conda env vars ourselves for /opt/miniconda3/envs/py3.10/bin/python in 775
Info 21:52:44: Registering dummy command feature
Info 21:52:44: Got activated conda env vars ourselves for /opt/miniconda3/bin/python in 758
Info 21:52:44: Process Execution: > /opt/miniconda3/bin/python -m jupyter kernelspec --version
/opt/miniconda3/bin/python -m jupyter kernelspec --version
Info 21:52:44: Starting notebook server.
Info 21:52:44: Connecting to server
Info 21:52:44: Launching server
Info 21:52:44: Starting Notebook
Info 21:52:44: Generating custom default config at /var/folders/vl/qsm_jb5s5fx74_tyr05lql_40000gn/T/2667cde3-9c73-4fcc-a443-8fd5fad465de/jupyter_notebook_config.py
Info 21:52:44: Starting Jupyter Notebook
Starting Jupyter from /opt/miniconda3/bin/python with command line --no-browser --notebook-dir="/" --config=/var/folders/vl/qsm_jb5s5fx74_tyr05lql_40000gn/T/2667cde3-9c73-4fcc-a443-8fd5fad465de/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 21:52:44: Creating daemon pool for /opt/miniconda3/bin/python with env variables count 48
Info 21:52:44: Process Execution: > /opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
/opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 21:52:44: Process Execution: > /opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
/opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 21:52:44: Process Execution: > /opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
/opt/miniconda3/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 21:52:44: Process Execution: > /opt/miniconda3/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/" --config=/var/folders/vl/qsm_jb5s5fx74_tyr05lql_40000gn/T/2667cde3-9c73-4fcc-a443-8fd5fad465de/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
/opt/miniconda3/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/" --config=/var/folders/vl/qsm_jb5s5fx74_tyr05lql_40000gn/T/2667cde3-9c73-4fcc-a443-8fd5fad465de/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 21:52:44: Waiting for Jupyter Notebook
/opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
Info 21:52:45: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(

[I 21:52:45.269 NotebookApp] Serving notebooks from local directory: /
Info 21:52:45: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:52:45.269 NotebookApp] Serving notebooks from local directory: /

[I 21:52:45.269 NotebookApp] Jupyter Notebook 6.4.6 is running at:
Info 21:52:45: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:52:45.269 NotebookApp] Serving notebooks from local directory: /
[I 21:52:45.269 NotebookApp] Jupyter Notebook 6.4.6 is running at:

[I 21:52:45.269 NotebookApp] http://localhost:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
Info 21:52:45: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:52:45.269 NotebookApp] Serving notebooks from local directory: /
[I 21:52:45.269 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 21:52:45.269 NotebookApp] http://localhost:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d

Info 21:52:45: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py

/opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 21:52:45.269 NotebookApp] or http://127.0.0.1:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
Info 21:52:45: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:52:45.269 NotebookApp] Serving notebooks from local directory: /
[I 21:52:45.269 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 21:52:45.269 NotebookApp] http://localhost:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
[I 21:52:45.269 NotebookApp] or http://127.0.0.1:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d

Info 21:52:45: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py

/opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 21:52:45.269 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Info 21:52:45: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:52:45.269 NotebookApp] Serving notebooks from local directory: /
[I 21:52:45.269 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 21:52:45.269 NotebookApp] http://localhost:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
[I 21:52:45.269 NotebookApp] or http://127.0.0.1:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
[I 21:52:45.269 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

[C 21:52:45.272 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/vliegeoi/Library/Jupyter/runtime/nbserver-67762-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
 or http://127.0.0.1:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d

Info 21:52:45: /opt/miniconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/' instead of '"/"' if you require traitlets >=5.
warn(
[I 21:52:45.269 NotebookApp] Serving notebooks from local directory: /
[I 21:52:45.269 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 21:52:45.269 NotebookApp] http://localhost:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
[I 21:52:45.269 NotebookApp] or http://127.0.0.1:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
[I 21:52:45.269 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 21:52:45.272 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/vliegeoi/Library/Jupyter/runtime/nbserver-67762-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d
 or http://127.0.0.1:8888/?token=244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d

Info 21:52:45: Connecting to process server
Info 21:52:45: Connecting server kernel http://localhost:8888/
Info 21:52:45: Creating server with settings : {"baseUrl":"http://localhost:8888/","appUrl":"","wsUrl":"ws://localhost:8888/","token":"244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 21:52:45: Connection complete server
Info 21:52:45: Server started.
Info 21:52:45: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py

/opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 21:52:45: Process Execution: > /opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py
/opt/miniconda3/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001614873/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 21:52:45.540 NotebookApp] Creating new notebook in
[E 21:52:45.544 NotebookApp] Error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
Traceback (most recent call last):
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/filemanager.py", line 477, in save
self._save_notebook(os_path, nb)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 290, in _save_notebook
with self.atomic_writing(os_path, encoding='utf-8') as f:
File "/opt/miniconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 210, in atomic_writing
with atomic_writing(os_path, args, log=self.log, **kwargs) as f:
File "/opt/miniconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 105, in atomic_writing
fileobj = io.open(path, 'w', encoding=encoding, **kwargs)
OSError: [Errno 30] Read-only file system: '/Untitled.ipynb'
[W 21:52:45.545 NotebookApp] 500 POST /api/contents?1644267165449 (127.0.0.1): Unexpected error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
[W 21:52:45.545 NotebookApp] Unexpected error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
[E 21:52:45.545 NotebookApp] {
"Content-Type": "text/plain;charset=UTF-8",
"Authorization": "token 244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d",
"Accept": "
/",
"Content-Length": "29",
"User-Agent": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",
"Accept-Encoding": "gzip,deflate",
"Connection": "close",
"Host": "localhost:8888"
}
[E 21:52:45.545 NotebookApp] 500 POST /api/contents?1644267165449 (127.0.0.1) 6.340000ms referer=None
[I 21:52:45.549 NotebookApp] Creating new notebook in
[E 21:52:45.550 NotebookApp] Error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
Traceback (most recent call last):
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/filemanager.py", line 477, in save
self._save_notebook(os_path, nb)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 290, in _save_notebook
with self.atomic_writing(os_path, encoding='utf-8') as f:
File "/opt/miniconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 210, in atomic_writing
with atomic_writing(os_path, args, log=self.log, **kwargs) as f:
File "/opt/miniconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/miniconda3/lib/python3.9/site-packages/notebook/services/contents/fileio.py", line 105, in atomic_writing
fileobj = io.open(path, 'w', encoding=encoding, **kwargs)
OSError: [Errno 30] Read-only file system: '/Untitled.ipynb'
[W 21:52:45.551 NotebookApp] 500 POST /api/contents?1644267165546 (127.0.0.1): Unexpected error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
Info 21:52:45: installMissingDependencies /opt/miniconda3/envs/py3.10/bin/python
Info 21:52:45: IPykernel found previously in this environment /opt/miniconda3/envs/py3.10/bin/python
[W 21:52:45.551 NotebookApp] Unexpected error while saving file: Untitled.ipynb [Errno 30] Read-only file system: '/Untitled.ipynb'
[E 21:52:45.551 NotebookApp] {
"Content-Type": "text/plain;charset=UTF-8",
"Authorization": "token 244447eeb60a6569eafe8c0cb2627c004d1521d7239f522d",
"Accept": "
/
",
"Content-Length": "19",
"User-Agent": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",
"Accept-Encoding": "gzip,deflate",
"Connection": "close",
"Host": "localhost:8888"
}
[E 21:52:45.551 NotebookApp] 500 POST /api/contents?1644267165546 (127.0.0.1) 1.960000ms referer=None
Info 21:52:45: Spec argv[0] updated from '/opt/miniconda3/envs/py3.10/bin/python' to '/opt/miniconda3/envs/py3.10/bin/python'
Info 21:52:45: Starting a new session for kernel id = .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher, name = python3100jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f
[I 21:52:45.625 NotebookApp] Kernel started: a22d6c55-8068-4457-92ba-8107a4590ca1, name: python3100jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f
Info 21:52:45: Waiting for idle on (kernel): a22d6c55-8068-4457-92ba-8107a4590ca1 -> unknown
Info 21:52:46: Finished waiting for idle on (kernel): a22d6c55-8068-4457-92ba-8107a4590ca1 -> idle
Info 21:52:46: Started session for kernel .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:52:46: Waiting for idle (session) kernel .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:52:46: Waiting for idle on (kernel): a22d6c55-8068-4457-92ba-8107a4590ca1 -> idle
Info 21:52:46: Finished waiting for idle on (kernel): a22d6c55-8068-4457-92ba-8107a4590ca1 -> idle
Info 21:52:46: Finished connecting kernel .jvsc74a57bd03c755a48a3f3216cdb8c213915f9b1acb6b42947a9de89aed7f05eea4d85f54f./opt/miniconda3/envs/py3.10/python./opt/miniconda3/envs/py3.10/python.-m#ipykernel_launcher
Info 21:52:46: Executing (status idle) silently Code = import site;site.addsitedir(site.getusersitepackages())
Info 21:52:46: Executing silently Code (completed) = import site;site.addsitedir(site.getusersitepackages())
Info 21:52:46: UpdateWorkingDirectoryAndPath in Kernel
Info 21:52:46: Executing (status idle) silently Code = vsc_ipynb_file = 'Untitled-1.ipynb'
Info 21:52:46: Executing silently Code (completed) = vsc_ipynb_file = 'Untitled-1.ipynb'
Info 21:52:46: Executing (status idle) silently Code = %config Completer.use_jedi = False
Info 21:52:46: Executing silently Code (completed) = %config Completer.use_jedi = False
Info 21:52:46: Execute Cells request 0
Info 21:52:46: Execute Cell 0 untitled:Untitled-1.ipynb?jupyter-notebook
Info 21:52:46: Executing (status idle) silently Code = %config InlineBackend.figure_formats = ['png']
Info 21:52:46: Executing silently Code (completed) = %config InlineBackend.figure_formats = ['png']
Info 21:52:46: Executing (status idle) silently Code = import sys\nprint(sys.executable)
Info 21:52:46: Executing silently Code (completed) = import sys\nprint(sys.executable)
Info 21:52:46: Waiting for idle on (kernel): a22d6c55-8068-4457-92ba-8107a4590ca1 -> idle
Info 21:52:46: Finished waiting for idle on (kernel): a22d6c55-8068-4457-92ba-8107a4590ca1 -> idle
Info 21:52:46: IPyWidgetScriptSource.initialize
Info 21:52:46: Cell 0 executed with state Success
Info 21:52:46: Registering dummy command feature

@DonJayamanne
Copy link
Contributor

Thanks for providing the information.
A few follow up questions

  • Do you have a workspace folder opened, if not please could you open a folder?
  • Could you confirm the cell runs to completion, looking at the logs it looks like the cell ran to completion.
  • Do you get an error indicating connection failed?
    • Please could you provide a screenshot of the error displayed?

Thanks

@vliegeois
Copy link
Author

No the cell does not run to completion.
Here is a video which shows:

  • That using python 3.10.0 form miniconda with the last version of Jupyter extension failed.
  • Going back to python 3.9.7 from miniconda succeed
  • Going back to previous version of Jupyter extension with python 3.10.0 succeed.

For miniconda, the py3.10 env is created using the following command:
conda create -n py3.10 python=3.10 ipykernel scipy matplotlib

I have installed a virtual machine with windows 11 and I was able to reproduce the issue when using python from miniconda.
When installing python from official distribution (python.org, python 3.10.2), I don't have this issue.
So maybe it is related to conda installation.

Can you reproduce the issue?

When I open a folder containing jupyter notebooks, I have the same issue.

Capture d’écran 2022-02-08 à 11 47 59

Regards

Vincent

VSCode.bug.mp4

@DonJayamanne
Copy link
Contributor

This is most likely an issue with conda itself (see issues here conda/conda#10969, conda/conda#11072).
Please confirm you have updated conda to the latest version, I believe this should be fixed in there.

@vliegeois
Copy link
Author

Yes I'm using latest version if conda, namely 4.11.0.
For me, this is not related to the issue you have mentioned.
The issue must be related somehow to conda but everything is fine if I revert to the previous version of jupyter extension so something must of change in the last release that block the connection to the jupyter server installed using conda.
Regards
Vincent

@vliegeois
Copy link
Author

Hi again.

I have just installed python with conda but using condo-forge channel which install version 3.10.2 instead of 3.10.0.

Now, everything is fine.
So I don't really understand what is going on. Is it due to the difference of python version or in the additional packages version that are installed with condo-forge instead of the default channel.

So you can consider the issue closed
Regards

Vincent

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-kernel Kernels issues (start/restart/switch/execution, install ipykernel)
Projects
None yet
Development

No branches or pull requests

3 participants