-
Notifications
You must be signed in to change notification settings - Fork 36
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
Setup via jupyter_notebook_config.py not respected (Server-Side Settings) #76
Comments
I'm also having problems with server-side settings. I've tried to specify Unfortunately, I cannot reproduce the issue. This minimal example results in a correctly functional sidebar pane: FROM jupyter/base-notebook
RUN pip install jupyter-fs
RUN echo '{ \
"ServerApp": { \
"contents_manager_class": "jupyterfs.metamanager.MetaManager", \
"jpserver_extensions": { \
"jupyterfs.extension": true \
} \
}, \
"Jupyterfs": { \
"resources": [ \
{ \
"name": "HOME", \
"url": "osfs:///home/jovyan" \
} \
] \
} \
}' > /etc/jupyter/jupyter_server_config.json |
I can reproduce with the FROM eurodatacube/jupyter-user-base:10
RUN pip install jupyter-fs
RUN echo '{ \
"ServerApp": { \
"contents_manager_class": "jupyterfs.metamanager.MetaManager", \
"jpserver_extensions": { \
"jupyterfs.extension": true \
} \
}, \
"Jupyterfs": { \
"resources": [ \
{ \
"name": "HOME", \
"url": "osfs:///home/jovyan" \
} \
] \
} \
}' > /etc/jupyter/jupyter_server_config.json WorkaroundInterestingly, if I manually paste the config into the advanced settings, a second {
"resources": [
{
"name": "HOME",
"url": "osfs:///home/jovyan"
}
]
} Edit: Refreshing the page (F5) makes the sidebar blank again and a refresh can only be triggered by modifying the configuration in the Advanced Settings Editor. |
These are the error messages from the Console: Uncaught (in promise) TypeError: this.table_model is undefined
init tree-finder.js:28
init tree-finder.js:32
I treefinder.js:79
tree-finder.js:28:720
Uncaught (in promise) TypeError: this._table_clip is undefined
draw tree-finder.js:1
tree-finder.js:1:14898 Relevant line in upstream source: https://github.com/telamonian/tree-finder/blob/1a1d48106d3a4764160f8d0bc1c1912c609a03c3/packages/tree-finder/src/element/grid.ts#L32 |
Since I think that my issue is unrelated, I have opened a new one here: #129 |
Hello all, I've read through the readme, and am trying to figure out if what I am doing is wrong, and this is expected, or if I should be able to achieve this (which for me, all setup occurs in jupyter_notebook_config.py, I do this so I can automate this install for folks).
Essentially,
I inferred from the Readme (Note: If this is accurate, we should make this explicit under Server-Side Settings) that I can put this in the jupyter_notebook_config.py to set the contents_manager_class and enabled the plugin.
Then, per the Server-Side Settings (This part IS explicit) I added a couple of locations for testing:
When I restart my notebook server this does NOT work.
Nothing new appears.
However, when I open the Advanced Settings Editor, go to jupyter-fs and add:
Then I get two new items with the proper root as expected.
Note, when I do this, I don't change the jupyter_notebook_config.py so all the other information is there
I am using Anaconda, I am not sure if that could affect things.
Essentially, I would like to be able to do ALL the setup in the jupyter_notebook_config.py without having to touch any of the json files/UI settings. This allows me to automate a setup for my users.
Any thoughts would be appreciated.
The text was updated successfully, but these errors were encountered: