You are not logged in.

#1 2018-08-06 20:42:18

sajaysurya
Member
Registered: 2018-08-06
Posts: 2

problem with jupyter's recent update

Hi

I am using the latest jupyter-notebook version (5.3.0-4) in community repo, last updated on 2018-08-06 08:26 UTC.
Before the update everything was workking fine, however after update the Kernel keeps restarting repeatedly when I create a new file.

I got the following logs

[I 21:19:23.551 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.7/site-packages/ipykernel_launcher.py", line 16, in <module>
    app.launch_new_instance()
  File "/usr/lib/python3.7/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/usr/lib/python3.7/site-packages/ipykernel/kernelapp.py", line 477, in start
    ioloop.IOLoop.instance().start()
  File "/usr/lib/python3.7/site-packages/tornado/platform/asyncio.py", line 132, in start
    self.asyncio_loop.run_forever()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 510, in run_forever
    raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
[W 21:19:24.557 NotebookApp] Timeout waiting for kernel_info reply from 0ee05486-6a41-4298-b5ee-e898b26bcfcd
[I 21:19:26.571 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
WARNING:root:kernel 0ee05486-6a41-4298-b5ee-e898b26bcfcd restarted
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.7/site-packages/ipykernel_launcher.py", line 16, in <module>
    app.launch_new_instance()
  File "/usr/lib/python3.7/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/usr/lib/python3.7/site-packages/ipykernel/kernelapp.py", line 477, in start
    ioloop.IOLoop.instance().start()
  File "/usr/lib/python3.7/site-packages/tornado/platform/asyncio.py", line 132, in start
    self.asyncio_loop.run_forever()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 510, in run_forever
    raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
[W 21:19:29.581 NotebookApp] KernelRestarter: restart failed
[W 21:19:29.582 NotebookApp] Kernel 0ee05486-6a41-4298-b5ee-e898b26bcfcd died, removing from map.
ERROR:root:kernel 0ee05486-6a41-4298-b5ee-e898b26bcfcd restarted failed!

Am I the only one with this problem? If so, could anybody please suggest workarounds?

Thanks.

Offline

#2 2018-08-06 20:45:38

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: problem with jupyter's recent update


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2018-08-06 20:47:19

sajaysurya
Member
Registered: 2018-08-06
Posts: 2

Re: problem with jupyter's recent update

Oh!

Should have checked that first.

Thanks!

Offline

#4 2018-08-07 18:09:49

doblerone
Member
Registered: 2011-12-08
Posts: 215

Re: problem with jupyter's recent update

In my particular case, yesterday's updates also python from 3.6.3 to 3.7, amongst others, broke my virtual environments and couldn't start anything jupyter-related.

P.S.: It´s not only me https://bbs.archlinux.org/viewtopic.php?id=239356

Last edited by doblerone (2018-08-07 18:37:58)

Offline

#5 2018-08-10 21:44:39

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: problem with jupyter's recent update

I've tested and pushed an updated ipykernel package.

If your problem is fixed, please edit your first post and prepend "[Solved]" to the thread title. smile


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2018-08-11 09:59:00

martin.savc
Member
Registered: 2018-08-07
Posts: 3

Re: problem with jupyter's recent update

Had this problem, works after update. Thank you.

Offline

Board footer

Powered by FluxBB