takluyver / nbopen

Open a Jupyter notebook in the best available server
BSD 3-Clause "New" or "Revised" License
301 stars 58 forks source link

nbopen path #49

Closed beew closed 6 years ago

beew commented 6 years ago

Hi, It appears that double click to open ipynb only works if c.NotebookApp.notebook_dir in jupyter_notebook_config.py is not set (default to $HOME), otherwise double click would open an empty notebook with 404 not found. It seems that nbopen search paths relative to $HOME. Is there a way to configure it so that it interprets paths as relative to notebook_dir ?

OS is Ubuntu 16.04 on two machines, in one I use anaconda, the other just installed with pip.

Thanks.

takluyver commented 6 years ago

Thanks, that makes sense. I thought that passing the directory in would override the config, but it appears that it doesn't. I think I can see a better way to do it.