Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only use deprecated notebook_dir config if root_dir is not set #400

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Feb 3, 2021

if an existing jupyter_notebook_config file sets notebook_dir, this would override explicit setting of root_dir, as the deprecated value was used even when the new value was also set.

To simulate, you can try:

jupyter lab . --NotebookApp.notebook_dir=/tmp

if an existing jupyter_notebook_config file sets notebook_dir, this would override explicit setting of root_dir,
as the deprecated value was used even when the new value was also set
Copy link
Member

@Zsailer Zsailer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @minrk!

@Zsailer Zsailer merged commit e78e4bf into jupyter-server:master Feb 3, 2021
@minrk minrk deleted the root-dir-priority branch February 8, 2021 14:58
omazapa added a commit to omazapa/jupyter-extensions that referenced this pull request Oct 26, 2021
…nager

Running locally the root_dir is not set on
https://github.com/swan-cern/jupyter-extensions/blob/master/SwanContents/swancontents/filemanager/swanfilemanager.py#L49
but in swan-spare it is set, because at the moment it is not using jupyter_server.

to run it locally I found the solution with
jupyterlab/jupyterlab#9633
jupyter-server/jupyter_server#400

passing the parameter --NotebookApp.notebook_dir=/path/to/home to jupyterlab
Zsailer added a commit to Zsailer/jupyter_server that referenced this pull request Nov 18, 2022
…logs with regex; add extra metrics (jupyter-server#400)

* simplify the Hubble telemtry design

* extend log_request with hubble

* more hubble updates

* more hubble updates

* only set instance of nbservice client in the main app

* clean up singleton handling in tests

* better typing in base handler

* move all huble specific logic into its own submodule

* add metrics and prefix metrics with jlab

* Bump to 0.21.0
hMED22 pushed a commit to hMED22/jupyter_server that referenced this pull request Jan 23, 2023
only use deprecated notebook_dir config if root_dir is not set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants