-
Notifications
You must be signed in to change notification settings - Fork 2k
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
AttributeError: 'NoneType' object has no attribute 'isatty': sys.stdin.isatty() #1108
Comments
Looks like it does not like |
This is a bug in each of ptyprocess and the notebook application, not handing the rare case when Since all of these issues are in the single-user notebook servers, removing jupyterhub.sqlite and the issue being fixed could have been a coincidence. What would have been needed is relaunching the Hub and starting a new single-user server. Depending on your Spawner and configuration, it's possible that single-user servers stay running across Hub restarts, in which case the single-user server would itself need a manual restart after relaunching the Hub. Removing jupyterhub.sqlite in this case would cause the Hub to lose its information about running servers, prompting the next login to spawn a new server. If removing jupyterhub.sqlite did indeed fix the issue, that probably means that prior single-user instances are still running, but the Hub doesn't know about them. |
Thank you very much for the info and explanation. I will use |
Both upstream PRs have been merged. Closing this issue since it appears to be resolved. Please feel free to leave an issue at jupyter/help or leave a comment requesting this issue be reopened. Thanks to all! |
How to reproduce the issue
500 while trying to log in with default config using anaconda3 installation.
What you expected to happen
Login to work.
What actually happens
500 error with exception logged:
Share what version of JupyterHub you are using
0.7.2
Running
jupyter troubleshoot
from the command line, if possible, and postingits output would also be helpful.
If I comment out 2 lines in notebookapp.py I can log in but then terminal won't work with this error:
The text was updated successfully, but these errors were encountered: