NSLS-II-CHX / CHX_BugReport

Unified issue-tracker for bugs in the data analysis JupyterHub at CHX
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Kernel Error #6

Closed cwagenbach closed 8 years ago

cwagenbach commented 8 years ago

Hi, When I open a XPCS pipeline notebook to perform an analysis, I now get a Kernel Error. It does not matter which notebook I open, the error message remains. I have tried reconnecting to the kernel and restarting the kernel, but no improvement. I have attached a screenshot of the kernel error.

kernel error

When I click on the kernel error message, a popup box opens and says this: *Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/notebook/base/handlers.py", line 458, in wrapper result = yield gen.maybe_future(method(self, _args, _kwargs)) File "/usr/local/lib/python3.4/dist-packages/tornado/gen.py", line 1008, in run value = future.result() File "/usr/local/lib/python3.4/dist-packages/tornado/concurrent.py", line 232, in result raise_exc_info(self._exc_info) File "", line 3, in raise_exc_info File "/usr/local/lib/python3.4/dist-packages/tornado/gen.py", line 1014, in run yielded = self.gen.throw(_exc_info) File "/usr/local/lib/python3.4/dist-packages/notebook/services/sessions/handlers.py", line 58, in post sm.create_session(path=path, kernel_name=kernel_name)) File "/usr/local/lib/python3.4/dist-packages/tornado/gen.py", line 1008, in run value = future.result() File "/usr/local/lib/python3.4/dist-packages/tornado/concurrent.py", line 232, in result raise_exc_info(self._exc_info) File "", line 3, in raise_exc_info File "/usr/local/lib/python3.4/dist-packages/tornado/gen.py", line 1014, in run yielded = self.gen.throw(_exc_info) File "/usr/local/lib/python3.4/dist-packages/notebook/services/sessions/sessionmanager.py", line 73, in create_session self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name) File "/usr/local/lib/python3.4/dist-packages/tornado/gen.py", line 1008, in run value = future.result() File "/usr/local/lib/python3.4/dist-packages/tornado/concurrent.py", line 232, in result raise_exc_info(self._exc_info) File "", line 3, in raise_exc_info File "/usr/local/lib/python3.4/dist-packages/tornado/gen.py", line 282, in wrapper yielded = next(result) File "/usr/local/lib/python3.4/dist-packages/notebook/services/kernels/kernelmanager.py", line 87, in start_kernel super(MappingKernelManager, self).start_kernel(kwargs) File "/usr/local/lib/python3.4/dist-packages/jupyter_client/multikernelmanager.py", line 109, in start_kernel km.start_kernel(kwargs) File "/usr/local/lib/python3.4/dist-packages/remotekernel/manager.py", line 60, in start_kernel """ AttributeError: 'KernelSpec' object has no attribute 'host'**

yugangzhang commented 8 years ago

We noticed that there was a Jupiterhub shut down yesterday without known reason. I met the same "no kernel" problem. I was suggested to restart the server snd the kernel works again. So, please restart your sever.

yugangzhang commented 8 years ago

How to restart the server:

Click 'control panel' and restart 'my server'.

cwagenbach commented 8 years ago

Thanks, that fixed the problem.