jupyter / jupyter_core

Core Jupyter functionality
https://jupyter-core.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
196 stars 181 forks source link

Improve error handling when .jupyter is a file instead of directory #123

Open willingc opened 6 years ago

willingc commented 6 years ago

While troubleshooting an issue on Cal Poly's JupyterHub deployment (https://github.com/jupyterhub/jupyterhub/issues/1618), we found that the notebook server can't start if ~/.jupyter is a file. Filing a follow up issue here as this error probably effects all Jupyter entrypoints. The relevant code is likely in this repo's source.

cc/ @minrk @ellisonbg

ellisonbg commented 6 years ago

A few more details:

On Thu, Jan 11, 2018 at 12:30 PM, Carol Willing notifications@github.com wrote:

While troubleshooting an issue on Cal Poly's JupyterHub deployment ( jupyterhub/jupyterhub#1618 https://github.com/jupyterhub/jupyterhub/issues/1618), we found that the notebook server can't start if ~/.jupyter is a file. Filing a follow up issue here as this error probably effects all Jupyter entrypoints. The relevant code is likely in this repo's source.

cc/ @minrk https://github.com/minrk @ellisonbg https://github.com/ellisonbg

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jupyter/jupyter_core/issues/123, or mute the thread https://github.com/notifications/unsubscribe-auth/AABr0H6N-av_WmIpjtgAnBoUmLbY-vfSks5tJm94gaJpZM4RbaET .

-- Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub bgranger@calpoly.edu and ellisonbg@gmail.com