Hi,
I’m fairly new to the whole Jupyter notebook and have just tried to give the ROOT kernel a shot, it failed immediately. Any hints on what I may have done wrong?
Dead kernel
The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened.
[W 16:20:07.662 NotebookApp] Session not found: session_id='22c741fd-2fb3-4442-91ec-8beb07b6254a'
[W 16:20:07.662 NotebookApp] 404 DELETE /api/sessions/22c741fd-2fb3-4442-91ec-8beb07b6254a (::1) 0.98ms referer=http://localhost:8888/notebooks/Documents/Notebooks/Untitled.ipynb?kernel_name=root
[I 16:20:07.679 NotebookApp] Kernel started: cc450642-22d6-42ee-a051-d423d774b5ae
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/opt/root/root-6.08.06/lib/JupyROOT/__init__.py", line 1, in <module>
import JupyROOT.utils
File "/opt/root/root-6.08.06/lib/JupyROOT/utils.py", line 17, in <module>
import handlers
ModuleNotFoundError: No module named 'handlers'
[I 16:20:10.679 NotebookApp] KernelRestarter: restarting kernel (1/5)
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/opt/root/root-6.08.06/lib/JupyROOT/__init__.py", line 1, in <module>
import JupyROOT.utils
File "/opt/root/root-6.08.06/lib/JupyROOT/utils.py", line 17, in <module>
import handlers
ModuleNotFoundError: No module named 'handlers'
[I 16:20:13.687 NotebookApp] KernelRestarter: restarting kernel (2/5)
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/opt/root/root-6.08.06/lib/JupyROOT/__init__.py", line 1, in <module>
import JupyROOT.utils
File "/opt/root/root-6.08.06/lib/JupyROOT/utils.py", line 17, in <module>
import handlers
ModuleNotFoundError: No module named 'handlers'
[I 16:20:16.695 NotebookApp] KernelRestarter: restarting kernel (3/5)
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/opt/root/root-6.08.06/lib/JupyROOT/__init__.py", line 1, in <module>
import JupyROOT.utils
File "/opt/root/root-6.08.06/lib/JupyROOT/utils.py", line 17, in <module>
import handlers
ModuleNotFoundError: No module named 'handlers'
[W 16:20:17.690 NotebookApp] Timeout waiting for kernel_info reply from cc450642-22d6-42ee-a051-d423d774b5ae
[I 16:20:19.700 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel cc450642-22d6-42ee-a051-d423d774b5ae restarted
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/opt/root/root-6.08.06/lib/JupyROOT/__init__.py", line 1, in <module>
import JupyROOT.utils
File "/opt/root/root-6.08.06/lib/JupyROOT/utils.py", line 17, in <module>
import handlers
ModuleNotFoundError: No module named 'handlers'
[W 16:20:22.708 NotebookApp] KernelRestarter: restart failed
[W 16:20:22.709 NotebookApp] Kernel cc450642-22d6-42ee-a051-d423d774b5ae died, removing from map.
ERROR:root:kernel cc450642-22d6-42ee-a051-d423d774b5ae restarted failed!
[W 16:20:22.729 NotebookApp] Kernel deleted before session
[W 16:20:22.730 NotebookApp] 410 DELETE /api/sessions/dc5030e2-1b46-431e-86be-69d2ec78bbed (::1) 1.33ms referer=http://localhost:8888/notebooks/Documents/Notebooks/Untitled.ipynb?kernel_name=root
(Also, does this belong in the ROOT Category?)
Thanks