jupyter notebook /path/to/notebook
not working when ServerApp.use_redirect_file=false
#7043
Labels
jupyter notebook /path/to/notebook
not working when ServerApp.use_redirect_file=false
#7043
Description
With
notebook~=6.0
, this:opens the specified notebook in browser, skipping the
/tree
view.Now, with
notebook~=7.0
(and after changingNotebookApp
-->ServerApp
), this:does not open the expected notebook, but instead opens the
/tree
path.Note: both commands need
token
andpassword
set to an empty string for the open to work smoothly (assuming safe environment here).Reproduce
notebook~=7.0
http://localhost:8888/tree
), instead of the notebook asked, on e.g.http://localhost:8888/notebooks/path/to/notebook
.Expected behavior
According to docs, opening a specific notebook from the CLI should still work.
It turns out it doesn't work just when the redirect file is not used, i.e. it does work when
use_redirect_file=true
.For some use cases, use of local redirect files is not an option (e.g. an online IDE, like GitPod or Codespaces).
Now, my question is, is this really the expected/desired behavior?
A workaround
Opens the specified notebook, but it has a few drawbacks.
Context
The text was updated successfully, but these errors were encountered: