nbviewer icon indicating copy to clipboard operation
nbviewer copied to clipboard

404 Error for notebooks in github repo

Open Nikeshbajaj opened this issue 4 years ago • 6 comments

Describe the bug 404 Error on the jupyter-notebooks added to github repo

To Reproduce Here are the notebooks:

  • https://github.com/Nikeshbajaj/Notebooks/blob/master/spkit/SP/ATAR_Algorithm_EEG_Artifact_Removal.ipynb
  • https://github.com/Nikeshbajaj/Notebooks/blob/master/spkit/SP/ICA_based_Artifact_Removal.ipynb
  • https://github.com/Nikeshbajaj/Notebooks/blob/master/spkit/SP/ATAR_Algorithm_EEG_Artifact_Removal_v0.0.9.3.ipynb
  • https://github.com/Nikeshbajaj/Notebooks/blob/master/spkit/SP/ICA_based_Artifact_Removal_v0.0.9.3.ipynb

If I click here https://nbviewer.org/github/Nikeshbajaj/Notebooks/tree/master/spkit/SP/ I can see the notebooks, but if I click, it says

''' 404 : Not Found Remote HTTP 404: spkit/SP/ATAR_Algorithm_EEG_Artifact_Removal.ipynb not found among 58 files ''' Same for other three

Expected behavior

Should be open in nbviewer

Desktop (please complete the following information): Tried on windows/linux chrome/firefox,

Nikeshbajaj avatar Oct 11 '21 15:10 Nikeshbajaj

I am getting the same issue with https://github.com/Imperial-MATH50003/MATH50003NumericalAnalysis/blob/main/sheets/week2.ipynb

dlfivefifty avatar Jan 24 '22 11:01 dlfivefifty

I think, they take time to be available on https://nbviewer.org. It sometime takes couple of days, sometime a little more. But I didn't find any solution to resolve this, immediately.

Nikeshbajaj avatar Jan 25 '22 04:01 Nikeshbajaj

That's a bit frustrating as GitHub's rendering is not good, and I'm using it for lecture notes 😥

dlfivefifty avatar Jan 25 '22 13:01 dlfivefifty

Works fine with the full (or even partial, if you're feeling risky) sha:

https://nbviewer.org/github/Imperial-MATH50003/MATH50003NumericalAnalysis/blob/0bc6fff/sheets/week2.ipynb

bollwyvl avatar Jan 25 '22 14:01 bollwyvl

It is a little frustrating. There are a few other options to have a quick rendered html file.

  1. Download notebook as html, upload it to github repo (e.g. Notebooks) and view in username.github.io/Notebooks/filename.html
  2. Use Jupyter-Book and update on /docs file to render, (for example, here is mine - [A] (https://nikeshbajaj.github.io/spkit_guide/) or [B] (https://spkit.github.io/guide/))
  3. Download notebook as .md file, and update it with your github readdocs fie
  4. Last but not least, - upload notebooks on a github repo (which you already have) and open with Binder (https://mybinder.org/) - save the link and share to students. It takes time to open a notebook but once it is open, it will be executable :)

Hope these can help

Nikeshbajaj avatar Jan 25 '22 14:01 Nikeshbajaj