Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Sorry, something went wrong. Reload?" when viewing *.ipynb #11

Open
iurisegtovich opened this issue Oct 21, 2016 · 177 comments
Open

"Sorry, something went wrong. Reload?" when viewing *.ipynb #11

iurisegtovich opened this issue Oct 21, 2016 · 177 comments
Labels
Milestone

Comments

@iurisegtovich
Copy link
Owner

iurisegtovich commented Oct 21, 2016

The issue

Getting the message "Sorry, something went wrong. Reload?" when viewing an *.ipynb on a GitHub blob page.

  • Probably a problem with the GitHub notebook viewing tool - sometimes github fails to render the ipynb notebooks, I believe that is some temporary (and recurring) issue with their backend

A workaround

Try to open that notebook that you want using nbviewer online, you don't need to install it.

This site nbviewer works independently of github.

  • If some notebook rendered in nbviewer appears different from rendered in github, then append "?flush_cache=true" to the end of the nbviewer version url to force it to rerender.
    e.g.
    http://nbviewer.jupyter.org/github/iurisegtovich/PyTherm-applied-thermodynamics/blob/master/index.ipynb
    becomes
    http://nbviewer.jupyter.org/github/iurisegtovich/PyTherm-applied-thermodynamics/blob/master/index.ipynb?flush_cache=true
@iurisegtovich iurisegtovich added this to the FAQ milestone Oct 21, 2016
iurisegtovich pushed a commit that referenced this issue Oct 21, 2016
@TVMKISHORE
Copy link

I checked in multiple networks.
I used Explorer, Firefox,chrome . But still I get 'Sorry, something went wrong. Reload?'
Not able to view .ipynb books.Any help?

@TVMKISHORE
Copy link

I am actually trying to access books at below link.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/udacity/1_notmnist.ipynb
But when I try to access today , there is no problem . I can view them without any issue!

@Bowiemb
Copy link

Bowiemb commented Jun 8, 2017

This issue just popped up for me as well. I can't view any ipynbs in Github. Any thoughts/advice?

@redwanhuq
Copy link

redwanhuq commented Jun 8, 2017

Also having this issue with ipynbs in GitHub all of a sudden.

@Bowiemb
Copy link

Bowiemb commented Jun 8, 2017

Now, it's working again... weird..

edit : for me at least.

@redwanhuq
Copy link

Weird indeed. It's working again...

@sansinghsanjay
Copy link

I am also facing same error, "Sorry, something went wrong. Reload?". Tried reloading around more than 25 times.

Still stuck at this. Using chrome on Ubuntu-16.04. Also tried after upgrading chrome but still facing this issue. Any help/suggestions?

@sansinghsanjay
Copy link

Thanks @iurisegtovich ,

I had seen your previous reply and already tried these links and found them working.

But still I am not able to open https://github.com/NikolasEnt/Vehicle-Detection-and-Tracking/blob/master/VehicheDetect.ipynb
Its a 2.83 MB size ipynb file on github.

Although I am trying some random things/suggestions like installing nbviewer (https://github.com/jupyter/nbviewer). I don't know exactly that installing this would be helpful or not, but I am trying.

Kindly, requesting for any concrete solution/suggestion.

Thanks

@iurisegtovich
Copy link
Owner Author

iurisegtovich commented Aug 21, 2017 via email

@sansinghsanjay
Copy link

Thanks @iurisegtovich

It worked for me too.

Thanks a lot.

@georgeliu1998
Copy link

Now I'm getting the same error (Sorry, something went wrong. Reload?), tried many times refreshing, but still not working...it's so frustrating.

@iurisegtovich
Copy link
Owner Author

iurisegtovich commented Jan 11, 2018 via email

@georgeliu1998
Copy link

Thanks Iuri! Since my repo is a private one, it won't load. I've reported to GitHub and they were able to reproduce and are looking into it.

@sarahaguasvivas
Copy link

I got the same problem. I am able to read on Github two of the three trial links. Notebook opens in nbviewer.

@kilojoules
Copy link

@shakarnwal
Copy link

Even I was having this problem. I had a jupyter notebook in one of my private repositories and it wasn't able to open. Then I just made it public and it worked. Now I changed it to private again and its working.

@yqren2005
Copy link

I am having this issue also, even a small notebook (60K) can not be opened in Github.
https://github.com/yqren2005/Coursera_DL/blob/master/Convolutional%20Neural%20Networks/week2/KerasTutorial/Keras%20-%20Tutorial%20-%20Happy%20House%20v2.ipynb

All my notebooks can be opened in nbviewer.

@vikramvinay
Copy link

I am having this same issue ,and the size of mile is(28K) not opened in GitHub.
https://github.com/vikramvinay/Titanic-Machine-Learning-from-Disaster/blob/master/Titanicc.ipynb

@rnk20
Copy link

rnk20 commented Jun 11, 2018

Open the notebook after 12-13 hours, press reload button 2 3 times it will be rendered.

I think the problem is with github not the notebooks.

@ModMaamari
Copy link

ModMaamari commented Sep 5, 2018

I can open others' .ipynb notebooks , but when I try to upload my notebooks the error :
"Sorry, something went wrong. Reload?"

@isht7
Copy link

isht7 commented Sep 25, 2018

I am getting this error in my repository now.

@bobknox42
Copy link

I am getting the same issue, I tried with a an extremely simple notebook with a markdown cell & code cell featuring 2+2 and it throws the same error "Sorry, something went wrong. Reload?"

@xue-jun
Copy link

xue-jun commented Oct 16, 2018

I'm getting the same error ("Sorry, something went wrong. Reload?") when I try to open *.ipynb files, in both my public repo, and the private repo of my organization.

@snehamani25
Copy link

I'm getting this error as well. Not able to view any of my *.ipynb files on my GitHub repos.

@kunal-soni
Copy link

I'm getting this error right now. Not able to view any of my *.ipynb files on my GitHub repos.

@james0032
Copy link

It seems like it has been an issue for a while. And my newly created repo had the same symptom as well. nbviewer is a work-around. We will keep this issue open and see if there's anyone could figure it out.

@bharatgurbani
Copy link

still same issue. Github must solve it.

@BjornFJohansson
Copy link

Same issue on private repo.

@zyzhu2000
Copy link

Wow. A five year old bug.

@tirth-hihoriya
Copy link

tirth-hihoriya commented Mar 24, 2021

try to open that notebook that you want using nbviewer online, you don't need to install it, i will try with that link you sent: open "https://nbviewer.jupyter.org/" paste "https://github.com/NikolasEnt/Vehicle-Detection-and-Tracking/blob/master/VehicheDetect.ipynb" there and then you get "https://nbviewer.jupyter.org/github/NikolasEnt/Vehicle-Detection-and-Tracking/blob/master/VehicheDetect.ipynb" This site nbviewer works independently of github. It works for me, I hope it will work for you too On Aug 21, 2017 15:55, "Sanjay Singh" notifications@github.com wrote: Thanks @iurisegtovich , I had seen your previous reply and already tried these links and found them working. But still I am not able to open https://github.com/NikolasEnt/Vehicle-Detection-and-Tracking/blob/master/VehicheDetect.ipynb Its a 2.83 MB size ipynb file on github. Although I am trying some random things/suggestions like installing nbviewer (https://github.com/jupyter/nbviewer). I don't know exactly that installing this would be helpful or not, but I am trying. Kindly, requesting for any concrete solution/suggestion. Thanks — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Can't use this with private notebooks.

Ya, such an annoying problem

@vineetred
Copy link

How is this issue been open for over 5 years and still not be fixed?

@ghaiyur-musubi
Copy link

Don't feel an external viewer should be a fix to this issue

@gosuto-inzasheru
Copy link

Some comments on this issue have been made by GitHub staff here: https://github.community/t/ipython-notebooks-are-not-rendered/13884/9

(I also suggest continuing the discussion there, it appears this issue is not related to this specific repository.)

@zecevic-matej
Copy link

zecevic-matej commented Apr 6, 2021

I second the opinion that an "external viewer is not a fix" considering that private repository content cannot be accessed.
Can confirm this issue for a private repository on all available notebooks (5+).

Update 3 hours later: upon checking now (i.e., could have been earlier) the notebooks load again.

@DanielGoldfarb
Copy link

I do not think anyone on staff at GitHub is paying any real attention to this thread.

However the following thread appears to have at least one GitHub staff member looking at it (at least sometimes):
https://github.community/t/jupyter-notebooks-can-not-be-displayed-in-github/14377/7?u=danielgoldfarb

@smaxwell953
Copy link

I'm in the same boat. When I try to open an ipynb file I keep getting "something went wrong". Amazing that it's still an issue years later.

@OscarBastardo
Copy link

I am having this issue with a 790 KB notebook.

@Ghassen-Cherni
Copy link

Same issue...

@Manu10744
Copy link

Is this seriously something that was reported 5 years ago and still persists?
l o l

@jgajera
Copy link

jgajera commented Apr 22, 2021

Facing this issue today!

@astanziola
Copy link

Incredibly, this is still an issue

@smaxwell953
Copy link

smaxwell953 commented Apr 24, 2021

So am I, yet again. It's inexcusable. Come on, GitHub, you can do better than this!

@iamsouravbanerjee
Copy link

Each and every day facing the same issue again and again.

@ttamg
Copy link

ttamg commented May 4, 2021

I too have been getting this error quite a lot. Can you share with us how this actually works in the backend? Is it generating the render just the once and saving it so we can see it, or is it being generated on the fly, in which case it seems the render machines are easily overloaded?

Love Github, but this is one issue it would be nice to fix please.

@DanielGoldfarb
Copy link

@ttamg @iamsouravbanerjee @smaxwell953 @astanziola @jgajera @Manu10744 and everyone else:

As I mentioned above, I do not believe anyone from GitHub is looking at this thread. So while it is great that everyone is posting here so we can see just how much this is affecting people, I don't think it will get GitHub's attention.

I would suggest that you all also post here: https://github.community/t/jupyter-notebooks-can-not-be-displayed-in-github/14377/ and in particular address @nethgato (a GitHub staff member) on that thread. If you have a LinkedIn account, you may also try sending inmail to Nat Friedman, the CEO of GitHub, and/or to Erica Brescia, GitHub's COO.

@tsitsvero
Copy link

tsitsvero commented May 19, 2021

Disconnecting/reconnecting from VPN sometimes allowed to load notebook...

@salihmarangoz
Copy link

I have solved the problem by rendering notebooks by myself and publishing HTML outputs directly. All done automatically using "Github Actions" + "nbconvert" + "Github Pages". All HTML outputs are pushed to another branch. After a successful rendering previous HTML outputs are being deleted, so not using any extra disk space.

See my repository: https://github.com/salihmarangoz/github_ci_nbconvert

@maziyarpanahi
Copy link

I see this issue for Jupyter notebooks on GitHub every now and then. Pretty annoying and no matter how many times I refresh or change the browser, it just doesn't load.

However, from time to time when I see this issue I just do the following and refresh again:
image

Enabling Disable cache in the Network tab seems to enforce something that makes it work often. (just be careful to disable it again since it makes browsing the Internet very slow as it won't cache anything 😊 )

@jefferythewind
Copy link

Yeah I'm getting this too now every time, and i want to point out that the proposed solution does not work for private repos.

@marcejohnson
Copy link

marcejohnson commented Jul 9, 2021

Getting this issue intermittently. Github could you please improve the backend preview renderer? Cache the results so we always get a cached render rather than the error.
*.ipynb are important to many companies, and is a "show stopper" to intermittently fail like this -- causing our management to look at github alternatives (which I'm advising against since you provide support?).

@ghost
Copy link

ghost commented Aug 9, 2021

I have observed that the repository names (and file names) with underscore cause issues when creating a link with the nbviewer. Try removing underscores. This solved issue for me.

@ambitiousrahul
Copy link

I have observed this pattern in my case that it comes when the jupyter file is large , in almost of my use cases, when I was able to replicate this defect , the size was more than 4 MB

@MohamadAbdulrahman
Copy link

same issue

@joaoambiente
Copy link

joaoambiente commented Oct 1, 2021

The same issue is happening in my gists.
In my case, the file's size is only 6 KB.
The filename contains underscores, but I have other filenames with underscores that present no problems.
The rendered blob is never displayed.
The source blob is always displayed.

@sergylog
Copy link

Same for a couple of years

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests