Closed
Description
openedon Nov 19, 2020
Environment data
Version: 1.52.0-insider (user setup)
Commit: a36c68b9ec3d6a0aca9799d7a10be741a6658a51
Date: 2020-11-19T05:37:52.577Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19042
I use WSL2 with an Ubuntu-20.04 image.
Expected behaviour
Installed using sudo apt-get install sagemath
. I am trying to use VSCode with the remote development extension and make the Jupyter extension use SageMath.
Actual behaviour
I get a Timed out waiting to get a heartbeat from process
message.
Steps to reproduce:
- Choose Remote-WSL: New Window
- Choose Jupyter: Create New Blank Jupyter Notebook
- Insert
x=3
in the first cell - Execute cell
- When prompted "Select a notebook kernel to run this notebook" select
SageMath 9.0
.
Logs
Note: I set the logs to debug mode by adding this line to settings.json:
"jupyter.logging.level": "debug"
Additional information:
~$ /usr/bin/sage --python --version
Python 3.8.5
~$ /usr/bin/sage --python -m ipykernel --version
7.13.0
~$ /usr/bin/sage --python -m jupyter notebook --version
6.0.3
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
User belongs to experiment group 'NativeNotebookEditor'
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/sage --python -m sage.repl.ipython_kernel -f /tmp/tmp-1175bneWkEsS7Qdu.json
cwd: /mnt/c/Users/Elad Zelingher/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.51.3
Error 2020-11-19 14:33:07: Timed out waiting to get a heartbeat from kernel process.
Error 2020-11-19 14:33:07: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Error 2020-11-19 14:33:07: failed to create INotebook in kernel [Error: Timed out waiting to get a heartbeat from kernel process.
at m.waitForHeartbeat (/home/elad/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/out/client/extension.js:49:646443)]
Error 2020-11-19 14:33:07: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
at m.waitForHeartbeat (/home/elad/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2020.11.358541065/out/client/extension.js:49:646443)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment