Notebookparams is no longer working

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

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?

It’ll need to be rewritten (which as always requires free time), I’ve created an issue: