jupyter / nbviewer

nbconvert as a web service: Render Jupyter Notebooks as static web pages
https://nbviewer.jupyter.org
Other
2.19k stars 544 forks source link

File not found, 404 Error #1020

Open JBFG opened 1 year ago

JBFG commented 1 year ago

Describe the bug You can access some image file on github, but nbviewer.org complains that it can not access the link to say File Not Found 404 Error.

To Reproduce

  1. You can access the following link. https://github.com/JBFG/ds_competition/blob/main/etc/images/iris_dtc.png
  2. When you paste the link into input box on https://nbviewer.org/, you will see File Not Found 404 Error.
  3. You can access the following link. https://nbviewer.org/github/JBFG/ds_competition/blob/main/etc/example_notebook.ipynb
  4. Find "Here's an example decision tree classifier:" text and you will see the broken image link.
  5. When you right-click and copy the broken image link, you can find the link "~main/etc/iris_dtc.png".
  6. You can download the notebook when you click the 'download notebook on the right upside of the browser (nbviewer)
  7. Find "Here's an example decision tree classifier:" text and yo well see "<img src=\"images/iris_dtc.png\" />\n", on the next lines.
  8. "/etc/iris_dtc.png" is not correct. It should be "/etc/images/iris_dtc.png" according to the source.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

floriankrb commented 1 year ago

This seems to be a cache issue, this is a duplicate of #912 . Wait a few hours/days and this should be fixed.