jupyter-widgets / pythreejs

A Jupyter - Three.js bridge
https://pythreejs.readthedocs.io
Other
943 stars 188 forks source link

Version > 2.0.0 raises an error on jupyterlab #230

Closed hadim closed 5 years ago

hadim commented 5 years ago

Please see the thread for this details: https://github.com/maartenbreddels/ipyvolume/issues/201#issuecomment-435853281

Error:

Module jupyter-threejs, semver range ^2.0.2 is not registered as a widget module

Here is a binder session that reproduce the issue: https://mybinder.org/v2/gh/hadim/binder-sandbox/master?urlpath=lab/tree/notebooks/ipyvolume-bug.ipynb

hadim commented 5 years ago

Thanks, @vidartf.

You can ping me here when the JS and PY packages are released to npm/conda so I can test.

vidartf commented 5 years ago

@hadim Should be up by now!

hadim commented 5 years ago

It works like a charm!

Small suggestion: you should tag the release you do in Git, https://github.com/jupyter-widgets/pythreejs/releases.

michaelaye commented 4 years ago

This seems to have regressed for pythreejs 2.1.1 (or jupyterlab 2.x?)

Screenshot 2020-03-13 17 54 10
hadim commented 4 years ago

This is a very typical JLab version incompatibility version error so probably due to JLab 2.0. I saw the same kind of error with other extensions.

michaelaye commented 4 years ago

yeah, works fine when switching to notebook.

vidartf commented 4 years ago

Yes, pythreejs has not yet added support for lab 2. WIP