mybinder.org-user-guide icon indicating copy to clipboard operation
mybinder.org-user-guide copied to clipboard

404 nbviewer before binder starts

Open jdkent opened this issue 6 years ago • 3 comments

Hi!

I tried looking for someone else with the same problem and looked at the docs, but I did not find someone with the same problem.

The Problem (Ref HBCLab/NiBetaSeries#166)

For the current binder link the nbviewer shows a 404 before the binder service is launched. I do not know what to troubleshoot (or if I should open an issue in nbviewer instead).

Thank you for making/maintaining binder, this is an excellent service that I use often for teaching/helping others get a start without having to install anything.

Edit: duplicate of jupyterhub/binderhub#616?

I tried changing: https://mybinder.org/v2/gh/HBClab/NiBetaSeries.git/binder?filepath=%2Fbinder%2Fplot_run_nibetaseries.ipynb

to

https://mybinder.org/v2/gh/HBClab/NiBetaSeries.git/binder?filepath=binder%2Fplot_run_nibetaseries.ipynb

but this does not appear to fix the issue.

jdkent avatar Jul 28 '19 04:07 jdkent

If you remove the .git from the repository part it works: https://mybinder.org/v2/gh/HBClab/NiBetaSeries/binder?filepath=binder%2Fplot_run_nibetaseries.ipynb

Happy Sunday!

betatim avatar Jul 28 '19 10:07 betatim

Thank you!

Should I close this issue and consider this user error only, or would there be any interest in handling this case (i.e., the case when a user clicks on the clone/download button to copy the repo url instead of using the address bar)

jdkent avatar Jul 28 '19 19:07 jdkent

hmmm - good question, we could strip the .git in the address bar when it generates the link for people to share, I could see that being fairly common

choldgraf avatar Jul 28 '19 21:07 choldgraf