Open
Description
When using jupyter_server + nbclassic, When I open the notebook in my browser, I get the following error message and collapsible headings does not work. (Triangles at headings are not displayed.)
main.js?v=20230603045922:1076 [collapsible_headings] error: TypeError: Cannot read properties of undefined (reading 'split')
at patch_Tooltip (main.js?v=20230603045922:598:73)
Steps to Reproduce
- Build and run Dockerfile based on docker-stacks or launch the jupyter notebook using MyBinder: https://mybinder.org/v2/gist/yacchin1205/156752d2a08004026f0b10c3a1ff472b/HEAD?urlpath=tree
- Once the jupyter notebook server is open, Create the new notebook
- Open the notebook
- Open your browser's developer tools and you will find the error log above and that collapsible headings does not work.
Cause of this error
This error occurs in the following code.
The code expects the global variable sys_info
to have a notebook_version
, but the combination of jupyter_server and nbclassic seems to provide a sys_info
without a notebook_version
.

Also, nbclassic seems to give 1.0.0
as the Jupyter.version
, so we will need to consider that.
Metadata
Metadata
Assignees
Labels
No labels