-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 when invoking open3d.web_visualizer.draw in jupyterlab for non blocking visualization. #5605
Comments
It looks like this is caused by an incompatibility of the open3d webvisualizer in jupyter and ipywidgets version 8.
The workaround suggested in the plotly issue works for me as well, i.e.
|
According to this comment from one of the ipywidgets developers ipywidgets 7.7.2 does provide the updated jupyterlab_widgets dependency on the correct version of jupyterlab_widgets. |
thanks! I was facing the same issue and downgrading helped |
+1 I have the same issue. Hoping for a fix as soon as possible. |
same here. |
I closed the issue because it's fixed by pull request #6239 in master. |
Checklist
master
branch).Describe the issue
Created a Python venv with
python3 -m venv --copies --system-site-packages /home/user/open3d
.Installed jupyterlab, numpy and open3d via pip.
Run the below code in a jupyterlab notebook.
Steps to reproduce the bug
Error message
[Open3D INFO] Window window_0 created.
[Open3D INFO] EGL headless mode enabled.
WARNING: Using soft CircularBuffer (6144 KiB)
FEngine (64 bits) created at 0x7f7159fe6010 (threading is enabled)
[Open3D INFO] ICE servers: {"stun:stun.l.google.com:19302", "turn:user:password@34.69.27.100:3478", "turn:user:password@34.69.27.100:3478?transport=tcp"}
[Open3D INFO] Set WEBRTC_STUN_SERVER environment variable add a customized WebRTC STUN server.
[Open3D INFO] WebRTC Jupyter handshake mode enabled.
[Open Browser Console for more detailed log - Double click to close this message]
Model class 'WebVisualizerModel' from module 'open3d' is loaded but can not be instantiated
TypeError: r._deserialize_state is not a function
at f._make_model (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.3e1e5adfd821b9b96340.js?v=3e1e5adfd821b9b96340:1:7933)
Expected behavior
Visualization in non blocking mode.
Open3D, Python and System information
Additional information
I get the error in Firefox as well as Brave (Chromium).
The text was updated successfully, but these errors were encountered: