jupyter-widgets / ipydatagrid

Fast Datagrid widget for the Jupyter Notebook and JupyterLab
BSD 3-Clause "New" or "Revised" License
579 stars 51 forks source link

[Jupyter Notebook] cannot display #506

Open zkGaia opened 7 months ago

zkGaia commented 7 months ago

I was trying to upgrade ipydatagrid: 1.2.0 -> 1.3.0, but the table cannot be displayed anymore. And the errors:

Screenshot 2024-04-19 193238

I have checked that some other packages have similar problems (e.g. Issue1, Issue2). Their solution is to downgrade ipywidgets or need to make more adaptations to the package. I suspect that the problem is similar.

Also tried but doesn't work:

Environment:

python==3.8
jupyter-core==5.2.0
jupyter-server==1.13.5
jupyterlab-widgets==3.0.7
ipywidgets==8.0.6
martinRenou commented 7 months ago

Can you run jupyter labextension list? Also what's your Jupyter Notebook version?

zkGaia commented 6 months ago

Sorry for replying late. I run it in jupyter notebook, so here is the result of jupyter nbextension list:

Known nbextensions:
  config dir: /home/xxxxxxx/.local/etc/jupyter/nbconfig
    notebook section
      bqplot/extension  enabled 
      - Validating: OK
      ipydatagrid/extension  enabled 
      - Validating: OK
      nbextensions_configurator/config_menu/main  enabled 
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
      jupyter_resource_usage/main  enabled 
      - Validating: OK
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
    tree section
      nbextensions_configurator/tree_tab/main  enabled 
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main
  config dir: /usr/etc/jupyter/nbconfig
    notebook section
      appmode/main  enabled 
      - Validating: OK
      ipydatagrid/extension  enabled 
      - Validating: OK
  config dir: /usr/local/etc/jupyter/nbconfig
    notebook section
      bqplot/extension  enabled 
      - Validating: OK
      ipydatagrid/extension  enabled 
      - Validating: OK
      nbextensions_configurator/config_menu/main  enabled 
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
      jupyter_resource_usage/main  enabled 
      - Validating: OK
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
    tree section
      nbextensions_configurator/tree_tab/main  enabled 
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main

And notebook version is 6.5.5

u3Izx9ql7vW4 commented 4 months ago

Having similar problems. Any updates on this issue?