Skip to content

Jupyter Notebook never becomes ready to execute cell #4441

@dallasssimpson

Description

@dallasssimpson

Starting today 3/1/2018 I started receiving the following error in the logs generated by /bin/bash -c jupyter lab &> /tmp/jupyterlab.

I found:
Exception in callback <bound method WebSocketMixin.send_ ping of <notebook.terminal.handlers.TermSocket object at 0x7f5d24576668>> Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/tornado/ioloop.py", line 907, in _run return self.callback() File "/usr/local/lib/python3.5/dist-packages/notebook/base/zmqhandlers.py" , line 175, in send_ping if self.stream.closed() and self.ping_callback is not None: AttributeError: 'NoneType' object has no attribute 'closed'

Tornado released a new version today that seems to break things.

Downgrading Tornado from 6.0 to 5.1.1 and restarting Jupyter seems to resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions