ServerApp.preferred_dir
wrongly set if root_dir
is overwritten in extension app
#1181
Labels
ServerApp.preferred_dir
wrongly set if root_dir
is overwritten in extension app
#1181
Description
The PR #1162 induces a failure on the example job of JupyterLab:
The trouble comes from:
jupyter_server/jupyter_server/serverapp.py
Lines 1685 to 1687 in 4e9d105
The
root_dir
is the current working directory and not the overwrittenroot_dir
set athttps://github.com/jupyterlab/jupyterlab/blob/d4688fe784c2b7d8cb9af8a153af88c91fd8dcc8/examples/example_check.py#L44
Hence the error.
I will fix this in JupyterLab by setting the
preferred_dir
to be identical to theroot_dir
. But I don't know if something must be done in jupyter-server.Reproduce
See https://github.com/jupyterlab/jupyterlab/actions/runs/3913713828/jobs/6689933733
Expected behavior
No error
Context
The text was updated successfully, but these errors were encountered: