Exported HTML does not render in browser since last week #3754
Labels
answered
The issue has been answered by a community member.
closing as answered
The issue will be closed as answered soon unless there is further follow-up.
Description
Up until recently I was successfully exporting 3D visualizations into HTML files with pyvista (that relies on
ipywidgets
for that) and opening them in the browser. A week or two ago all my exported HTMLs started showing blank pages with nothing rendered, this is the same for old HTMLs that were opening correctly before.I've tried opening it on 3 different computers with Edge, Chrome, and Firefox - the same situation. Asked my teammates to reproduce and they confirm that the issue is also started happening to them.
I suspect this may be related to #3735 because of a similar error in the browser console:
embed-amd.js:16 DOMException: Failed to execute 'structuredClone' on 'Window': #<Promise> could not be cloned.
Browser Console Image
If I manually change the HTML file code to load
0.19.0
of@jupyter-widgets/html-manager
instead of0.20.0
(or any later version) everything works as expected and browser renders a 3D scene. But it was working fine with 0.20.0 in the pastReproduce
Expected behavior
Browser showing the interactive 3D scene instead of an empty page.
Context
Browser Output
The text was updated successfully, but these errors were encountered: