vitessce / vitessce-python

Python API and Jupyter widget for Vitessce
https://python-docs.vitessce.io
MIT License
40 stars 7 forks source link

widget fails to load "vitessce-jupyter.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)" #208

Open lee-t opened 2 years ago

lee-t commented 2 years ago

Describe the bug

This was noticed on RStudioConnect which converts all juypter content into html via Nbconvert. The resulting html page does not load vitessce widgets.

More details from the chrome console: DevTools failed to load source map: Could not load content for https://cdn.jsdelivr.net/npm/vitessce-jupyter@%5E0.1.14/dist/index.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE this one is a bit odd because the file at that link is called index.js and not index.js.map

this works: https://cdn.jsdelivr.net/npm/vitessce-jupyter@%5E0.1.14/dist/index.js but this one is what the widget calls for : https://cdn.jsdelivr.net/npm/vitessce-jupyter@%5E0.1.14/dist/index.js.map

To Reproduce Save an ipynb of a vitessce widget. Then convert to html with execution on.

This will result in a mostly empty notebook with the following js console output image.

image

To see an online version: https://ccb.connect.hms.harvard.edu/merfish1/ for whatever reason it cannot find https://ccb.connect.hms.harvard.edu/merfish1/vFLOv47fN/vitessce-jupyter.js

Environment:

keller-mark commented 2 years ago

Hi @lee-t thank you for reporting this issue, I think the are multiple things going on here. I believe the major issue is:

Loading failed for the Githubissues.

  • Githubissues is a development platform for aggregating issues.