Skip to content
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

Error displaying widget: model not found #202

Closed
garvanwalshe opened this issue Jun 16, 2021 · 8 comments
Closed

Error displaying widget: model not found #202

garvanwalshe opened this issue Jun 16, 2021 · 8 comments

Comments

@garvanwalshe
Copy link

Hello.

I get this error when trying to use ipysheet. Simple widgets work but ipysheet doesn't.

Screenshot 2021-06-16 at 14 46 08

I have installed jupyterlab-manager and the ipysheet extensions.

Output of jupyter labextension list is:

Python is 3.9.5

JupyterLab v3.0.16
/usr/local/Cellar/jupyterlab/3.0.16/libexec/share/jupyter/labextensions
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled OK (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
   app dir: /usr/local/Cellar/jupyterlab/3.0.16/libexec/share/jupyter/lab
        ipysheet v0.4.4 enabled OK

I've checked both related closed issues but can't seem to find anything else in them that helps in my case.

Any ideas?

Many thanks

Garvan

@chrisdewa
Copy link

I'm having this issue as well.

@1kastner
Copy link

Same issue here with Python 3.8. Since many parts of the repository are a bit older, I guess that no full JupyterLab 3 support is given yet? I also only receive a Error displaying widget: model not found and there are no further error logs in the commandline which could help here. For replication, here is my environment:

(data-generation-ui) PS C:\Users\USERNAME> conda env export
name: data-generation-ui
channels:
  - conda-forge
  - defaults
dependencies:
  - anyio=3.1.0=py38haa244fe_0
  - appdirs=1.4.4=pyh9f0ad1d_0
  - argon2-cffi=20.1.0=py38h294d835_2
  - astroid=2.5.6=py38haa244fe_0
  - async_generator=1.10=py_0
  - attrs=21.2.0=pyhd8ed1ab_0
  - babel=2.9.1=pyh44b312d_0
  - backcall=0.2.0=pyh9f0ad1d_0
  - backports=1.0=py_2
  - backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0
  - bleach=3.3.0=pyh44b312d_0
  - blosc=1.21.0=h0e60522_0
  - branca=0.4.2=pyhd8ed1ab_0
  - brotli=1.0.9=h0e60522_4
  - brotlipy=0.7.0=py38h294d835_1001
  - bzip2=1.0.8=h8ffe710_4
  - ca-certificates=2021.5.30=h5b45459_0
  - certifi=2021.5.30=py38haa244fe_0
  - cffi=1.14.5=py38hd8c33c5_0
  - cfitsio=3.470=h0af3d06_7
  - chardet=4.0.0=py38haa244fe_1
  - charls=2.2.0=h39d44d4_0
  - cloudpickle=1.6.0=py_0
  - colorama=0.4.4=pyh9f0ad1d_0
  - cryptography=3.4.7=py38hd7da0ea_0
  - cycler=0.10.0=py_2
  - cytoolz=0.11.0=py38h294d835_3
  - dask-core=2021.6.1=pyhd8ed1ab_0
  - decorator=5.0.9=pyhd8ed1ab_0
  - defusedxml=0.7.1=pyhd8ed1ab_0
  - entrypoints=0.3=pyhd8ed1ab_1003
  - et_xmlfile=1.0.1=py_1001
  - folium=0.12.0=pyhd8ed1ab_1
  - freetype=2.10.4=h546665d_1
  - fsspec=2021.6.0=pyhd8ed1ab_0
  - giflib=5.2.1=h8d14728_2
  - git=2.30.2=h57928b3_1
  - icu=68.1=h0e60522_0
  - idna=2.10=pyh9f0ad1d_0
  - imagecodecs=2021.6.8=py38hb6d6902_0
  - imageio=2.9.0=py_0
  - importlib-metadata=4.5.0=py38haa244fe_0
  - intel-openmp=2021.2.0=h57928b3_616
  - ipykernel=5.5.5=py38h43734a8_0
  - ipysheet=0.4.4=pyh9f0ad1d_1
  - ipython=7.24.1=py38h43734a8_0
  - ipython_genutils=0.2.0=py_1
  - ipywidgets=7.6.3=pyhd3deb0d_0
  - isort=5.8.0=pyhd8ed1ab_0
  - jbig=2.1=h8d14728_2003
  - jdcal=1.4.1=py_0
  - jinja2=3.0.1=pyhd8ed1ab_0
  - joblib=1.0.1=pyhd8ed1ab_0
  - jpeg=9d=h8ffe710_0
  - json5=0.9.5=pyh9f0ad1d_0
  - jsonschema=3.2.0=pyhd8ed1ab_3
  - jupyter-lsp=1.3.0=pyhd8ed1ab_0
  - jupyter_client=6.1.12=pyhd8ed1ab_0
  - jupyter_core=4.7.1=py38haa244fe_0
  - jupyter_server=1.8.0=pyhd8ed1ab_0
  - jupyterlab=3.0.16=pyhd8ed1ab_0
  - jupyterlab-lsp=3.7.0=pyhd8ed1ab_0
  - jupyterlab-spellchecker=0.6.0=pyhd8ed1ab_0
  - jupyterlab_pygments=0.1.2=pyh9f0ad1d_0
  - jupyterlab_server=2.6.0=pyhd8ed1ab_0
  - jupyterlab_widgets=1.0.0=pyhd8ed1ab_1
  - jxrlib=1.1=h8ffe710_2
  - kiwisolver=1.3.1=py38hbd9d945_1
  - lazy-object-proxy=1.6.0=py38h294d835_0
  - lcms2=2.12=h2a16943_0
  - lerc=2.2.1=h0e60522_0
  - libaec=1.0.5=h39d44d4_0
  - libblas=3.9.0=9_mkl
  - libcblas=3.9.0=9_mkl
  - libclang=11.1.0=default_h5c34c98_1
  - libdeflate=1.7=h8ffe710_5
  - liblapack=3.9.0=9_mkl
  - libpng=1.6.37=h1d00b33_2
  - libsodium=1.0.18=h8d14728_1
  - libtiff=4.3.0=h0c97f57_1
  - libwebp-base=1.2.0=h8ffe710_2
  - libzopfli=1.0.3=h0e60522_0
  - locket=0.2.0=py_2
  - lz4-c=1.9.3=h8ffe710_0
  - m2w64-gcc-libgfortran=5.3.0=6
  - m2w64-gcc-libs=5.3.0=7
  - m2w64-gcc-libs-core=5.3.0=7
  - m2w64-gmp=6.1.0=2
  - m2w64-libwinpthread-git=5.0.0.4634.697f757=2
  - markupsafe=2.0.1=py38h294d835_0
  - matplotlib=3.4.2=py38haa244fe_0
  - matplotlib-base=3.4.2=py38heae8d8c_0
  - matplotlib-inline=0.1.2=pyhd8ed1ab_2
  - mccabe=0.6.1=py_1
  - mistune=0.8.4=py38h294d835_1003
  - mkl=2021.2.0=hb70f87d_389
  - msys2-conda-epoch=20160418=1
  - nb_conda_kernels=2.3.1=py38haa244fe_0
  - nbclassic=0.3.1=pyhd8ed1ab_1
  - nbclient=0.5.3=pyhd8ed1ab_0
  - nbconvert=6.0.7=py38haa244fe_3
  - nbformat=5.1.3=pyhd8ed1ab_0
  - nest-asyncio=1.5.1=pyhd8ed1ab_0
  - networkx=2.5=py_0
  - notebook=6.4.0=pyha770c72_0
  - numpy=1.20.3=py38h09042cb_0
  - olefile=0.46=pyh9f0ad1d_1
  - openjpeg=2.4.0=hb211442_1
  - openpyxl=3.0.7=pyhd8ed1ab_0
  - openssl=1.1.1k=h8ffe710_0
  - packaging=20.9=pyh44b312d_0
  - pandas=1.2.4=py38h60cbd38_0
  - pandoc=2.14.0.2=h8ffe710_0
  - pandocfilters=1.4.2=py_1
  - partd=1.2.0=pyhd8ed1ab_0
  - peewee=3.14.4=py38h91b5285_0
  - pickleshare=0.7.5=py_1003
  - pillow=8.2.0=py38h9273828_1
  - pip=21.1.2=pyhd8ed1ab_0
  - pooch=1.4.0=pyhd8ed1ab_0
  - prometheus_client=0.11.0=pyhd8ed1ab_0
  - prompt-toolkit=3.0.19=pyha770c72_0
  - pscript=0.7.5=pyhd3deb0d_0
  - pycparser=2.20=pyh9f0ad1d_2
  - pygments=2.9.0=pyhd8ed1ab_0
  - pylint=2.8.3=pyhd8ed1ab_0
  - pyopenssl=20.0.1=pyhd8ed1ab_0
  - pyparsing=2.4.7=pyh9f0ad1d_0
  - pyqt=5.12.3=py38haa244fe_7
  - pyqt-impl=5.12.3=py38h885f38d_7
  - pyqt5-sip=4.19.18=py38h885f38d_7
  - pyqtchart=5.12=py38h885f38d_7
  - pyqtwebengine=5.12.1=py38h885f38d_7
  - pyrsistent=0.17.3=py38h294d835_2
  - pysocks=1.7.1=py38haa244fe_3
  - python=3.8.10=h7840368_1_cpython
  - python-dateutil=2.8.1=py_0
  - python_abi=3.8=1_cp38
  - pytz=2021.1=pyhd8ed1ab_0
  - pywavelets=1.1.1=py38h347fdf6_3
  - pywin32=300=py38h294d835_0
  - pywinpty=1.1.1=py38hd3f51b4_0
  - pyyaml=5.4.1=py38h294d835_0
  - pyzmq=22.1.0=py38h09162b1_0
  - qt=5.12.9=h5909a2a_4
  - requests=2.25.1=pyhd3deb0d_0
  - scikit-image=0.18.1=py38h4c96930_0
  - scikit-learn=0.24.2=py38h5d5d464_0
  - scipy=1.6.3=py38he847743_0
  - send2trash=1.5.0=py_0
  - setuptools=49.6.0=py38haa244fe_3
  - six=1.16.0=pyh6c4a22f_0
  - snappy=1.1.8=ha925a31_3
  - sniffio=1.2.0=py38haa244fe_1
  - sqlite=3.35.5=h8ffe710_0
  - tbb=2021.2.0=h2d74725_0
  - terminado=0.10.1=py38haa244fe_0
  - testpath=0.5.0=pyhd8ed1ab_0
  - threadpoolctl=2.1.0=pyh5ca1d4c_0
  - tifffile=2021.6.14=pyhd8ed1ab_0
  - tk=8.6.10=h8ffe710_1
  - toml=0.10.2=pyhd8ed1ab_0
  - toolz=0.11.1=py_0
  - tornado=6.1=py38h294d835_1
  - traitlets=5.0.5=py_0
  - urllib3=1.26.5=pyhd8ed1ab_0
  - vc=14.2=hb210afc_4
  - voila=0.2.10=pyhd8ed1ab_0
  - vs2015_runtime=14.28.29325=h5e1d092_4
  - wcwidth=0.2.5=pyh9f0ad1d_2
  - webencodings=0.5.1=py_1
  - websocket-client=0.57.0=py38haa244fe_4
  - wheel=0.36.2=pyhd3deb0d_0
  - widgetsnbextension=3.5.1=py38haa244fe_4
  - win_inet_pton=1.1.0=py38haa244fe_2
  - wincertstore=0.2=py38haa244fe_1006
  - winpty=0.4.3=4
  - wrapt=1.12.1=py38h294d835_3
  - xz=5.2.5=h62dcd97_1
  - yaml=0.2.5=he774522_0
  - zeromq=4.3.4=h0e60522_0
  - zfp=0.5.5=h0e60522_5
  - zipp=3.4.1=pyhd8ed1ab_0
  - zlib=1.2.11=h62dcd97_1010
  - zstd=1.5.0=h6255e5f_0
  - pip:
    - autopep8==1.5.5
    - docstring-to-markdown==0.9
    - flake8==3.8.4
    - jedi==0.17.2
    - parso==0.7.1
    - pluggy==0.13.1
    - pycodestyle==2.6.0
    - pydocstyle==6.1.1
    - pyflakes==2.2.0
    - python-jsonrpc-server==0.4.0
    - python-language-server==0.36.2+49.g3536061
    - rope==0.19.0
    - snowballstemmer==2.1.0
    - ujson==4.0.2
    - yapf==0.31.0
prefix: C:\Users\USERNAME\anaconda3\envs\data-generation-ui
(data-generation-ui) PS C:\Users\USERNAME>

@IvanAntipov
Copy link

I have this issue. ipysheet works in vs code, but doesn't work in JupyterLab. Insatallation of jupyter labextension install @jupyter-widgets/jupyterlab-manager didn't help

@marscher
Copy link

#184 (comment)

@martinRenou
Copy link
Contributor

Will be fixed by #200

@stefaneidelloth
Copy link

Does not seem to be fixed in JupyterLab 3.2.3. Should I create an extra ticket?

@Retzoh
Copy link

Retzoh commented Dec 10, 2021

Hi @stefaneidelloth , had the same issue earlier today but all I needed to solve it was to run:
conda update -c conda-forge && jupyter labextension install @jupyter-widgets/jupyterlab-manager

(not sure the second part is actually needed judging from the commit)

@stefaneidelloth
Copy link

stefaneidelloth commented Dec 22, 2021

jupyter labextension install @jupyter-widgets/jupyterlab-manager
fixed the issue for me in JupyterLab 3.2.5 (I installed ipysheet with pip instead of conda.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants