Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Notebook never becomes ready to execute cell #4441

Closed
dallasssimpson opened this issue Mar 1, 2019 · 7 comments
Closed

Jupyter Notebook never becomes ready to execute cell #4441

dallasssimpson opened this issue Mar 1, 2019 · 7 comments

Comments

@dallasssimpson
Copy link

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.

@audy
Copy link

audy commented Mar 1, 2019

Same. This appears to fix it but it has not been released yet. Tag?

@davesque
Copy link

davesque commented Mar 2, 2019

Same issue.

1 similar comment
@C0NTRIBUTE
Copy link

Same issue.

@jasongrout
Copy link
Member

See also #4399 for tornado 6 issues.

@dazzag24
Copy link

dazzag24 commented Mar 5, 2019

Same issue here. Both jupyter-lab and notebook were broken until I downgraded tornado from 6.0.0. to 5.1.1

@jasongrout
Copy link
Member

My guess is this is the incompatibility with tornado 6 a lot of people have been experiencing. See #4439 and #4449. The solution would be either upgrading notebook to version 5.7.5, or downgrading tornado to version 5.1.1.

@minrk
Copy link
Member

minrk commented Mar 8, 2019

Yup, this is fixed in notebook 5.7.5

@minrk minrk closed this as completed Mar 8, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants