jupyter-widgets / ipywidgets

Interactive Widgets for the Jupyter Notebook
https://ipywidgets.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.14k stars 948 forks source link

To HTML converted notebooks are not displayed (due to embed.amd.js) #3904

Closed JoergVanAken closed 5 months ago

JoergVanAken commented 5 months ago

For a few hours now, all notebooks converted to HTML are no longer displayed. The reason for this is that

https://unpkg.com/@jupyter-widgets/html-manager@*/dist/embed-amd.js

does not provide a response ("Web server is returning an unknown error"). However, if you change the URL to

https://cdn.jsdelivr.net/npm/@jupyter-widgets/html-manager@*/dist/embed-amd.js

everything works as usual. I simply made these changes in the HTML output


//var widgetRendererSrc = 'https://unpkg.com/@jupyter-widgets/html-manager@*/dist/embed-amd.js';
 var widgetRendererSrc = 'https://cdn.jsdelivr.net/npm/@jupyter-widgets/html-manager@*/dist/embed-amd.js';
JoergVanAken commented 5 months ago

Now the original link is working again -> close issue.