trungleduc / jupyter_app_launcher

A JupyterLab extension to create custom launcher entries.
https://jupyter-app-launcher.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
53 stars 11 forks source link

Mismatch between jupyter --path and jupyter_app_launcher's search path #39

Closed Hoseung closed 8 months ago

Hoseung commented 10 months ago

Hi, Thanks for this great extension! I had a minor problem that Jupyter-lab won't find my config.yaml file. It turned out that the search path your handlers._init_launcher() is different from what I get from jupyter --path in the terminal. I fixed the problem by simply moving the config file to a new location. Just wanted to tell you that the description of ReadMe may not apply to some users.

$ jupyter --path outputs: config: /home/hoseung/miniconda3/envs/myjplab/etc/jupyter /home/hoseung/.jupyter /home/hoseung/.local/etc/jupyter /usr/local/etc/jupyter /etc/jupyter

The extension's search path: /home/hoseung/miniconda3/envs/myjplab/shared/jupyter

I think suggestion #36 will probably solve this problem more gracefully.

trungleduc commented 8 months ago

Hi, jupyter_app_launcher looks at "the data section of the jupyter --path command", and not the config section as your comment. #36 will be addressed in the next release.