Notebookparams is no longer working (original) (raw)
November 13, 2024, 6:30pm 1
jupyter-notebookparams is no longer working in binder. It is installed
jovyan@jupyter-berniegsfc-cdasws-notebooks-vpqteg8o:~$ pip list |grep params
jupyter-notebookparams 0.0.4
but not enabled
jovyan@jupyter-berniegsfc-cdasws-notebooks-vpqteg8o:~$ jupyter nbextension list
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir] [--paths] [--json]
[--debug]
[subcommand]
...
Jupyter command `jupyter-nbextension` not found.
I’m not sure when it stopped working. An example notebook that depends upon it is CdasWsGenericExample. If the parameter value had been passed correctly, the second code cell would read
# Parameters:
dataset = 'APOLLO12_SWS_1HR'
instead of
# Parameters:
dataset = 'AC_H2_MFI'
Note that
jovyan@jupyter-berniegsfc-2dcdasws-2dnotebooks-2dcssj7d9h:~$ jupyter nbextension list
Known nbextensions:
config dir: /srv/conda/envs/notebook/etc/jupyter/nbconfig
notebook section
jupyter-notebookparams/main enabled
- Validating: OK
jupyter_resource_usage/main enabled
- Validating: OK
jupyter-offlinenotebook/main enabled
- Validating: OK
jupyter-js-widgets/extension enabled
- Validating: OK
on binder.opensci.2i2c.cloud
but it does not function there either.
Does anyone know how to correct this? Thanks.
Bernie
manics November 13, 2024, 7:39pm 2
This is due to the upgrade of notebook from 6 to 7, which is a large breaking change. The best short term solution is to pin notebook to version 6:
Thanks, that fixed it. Is there a long term solution?
manics November 14, 2024, 11:47am 4
It’ll need to be rewritten (which as always requires free time), I’ve created an issue: