jupyter-widgets/pythreejs

Automatic publicPath is not supported in this browser

maartenbreddels opened this issue · 6 comments

I'm trying to support ipyvolume/pythreejs in solara, but I'm getting: "Automatic publicPath is not supported in this browser"

Any pointers where a change happened in pythreejs where this changed?

Hmm, also seeing this in the (classic) notebook now. Starting from a new virtual env, pythreejs doesn't seem to work (2.4.1)

I am encountering this issue in classic notebooks as well with these versions:

notebook==6.5.2
ipywidgets==8.0.4
jupyterlab_widgets==3.0.5
pythreejs==2.4.1
widgetsnbextension==4.0.5

This particular combination of versions (found in another Issue) works, though I haven't tested the effect of each downgrade individually:

ipywidgets==7.7.2
jupyterlab_widgets==1.1.1
pythreejs==2.3.0
widgetsnbextension==3.6.1

In both cases, testing in Chrome 110.0.5481.77 on Ubuntu 22.04.

I don't think any change was made in pythreejs, but I think a change was recommended? https://ipywidgets.readthedocs.io/en/stable/migration_guides.html#updating-the-webpack-publicpath-configuration Maybe it will work with that?

Weird, it's with the classic notebook extension. Maybe for some reason, the extension fails, and it will try to fallback to the CDN, which then fails. I'll investigate more.

This should be fixed in 2.4.2 that I just pushed to PyPI. Please try it and see if it resolves the issue.

Yes, thanks a lot @vidartf !