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

Launching notebooks on a private server fails #269

Closed
doctor-phil opened this issue Feb 4, 2025 · 3 comments
Closed

Launching notebooks on a private server fails #269

doctor-phil opened this issue Feb 4, 2025 · 3 comments
Labels
bug Something isn't working high-priority

Comments

@doctor-phil
Copy link
Collaborator

Hi @mmcky

After the recent update that removed binder, I now have an issue where trying to launch a notebook to a private server fails.

E.g., using ubc.syzygy.ca in the private box and clicking launch used to work, but now it gives me a 404 error. The URL it's trying to redirect to is

https://ubc.syzygy.ca/user-redirect/git-pull?repo=https://github.com/QuantEcon/lecture-datascience.notebooks&branch=main&urlpath=tree/lecture-datascience.notebooks/scientific/numpy_arrays.ipynb

I think the problem is with the github link that's being used itself, since https://github.com/QuantEcon/lecture-datascience.notebooks&branch=main&urlpath=tree/lecture-datascience.notebooks/scientific/numpy_arrays.ipynb
also gives a 404. It seems like something's wrong with the & qualifiers

Can you please look into this when you get a chance? This is high impact since this is how I use the notebooks in class

@doctor-phil doctor-phil added bug Something isn't working high-priority labels Feb 4, 2025
@doctor-phil
Copy link
Collaborator Author

Just an update, it is definitely an issue with the github link that's being generated. For whatever reason, https://github.com/QuantEcon/lecture-datascience.notebooks&branch=main&urlpath=tree/lecture-python-intro.notebooks/intro.ipynb

Does not point to a valid address, but a link with a similar style in a different repo (e.g. lecture-python-intro.notebooks) does work correctly. I'm guessing it's due to a difference in the way this notebook repo was set up, but I wasn't around for that

@mmcky
Copy link
Contributor

mmcky commented Feb 4, 2025

Well that's fascinating.

In 0.8.1 I updated that link to work for a class at UC Berkeley. I think that link must be dependent on the version for the hosted Jupyter Hub.

I will set your theme back to 0.8.0 which will have the correct link generation.

https://github.com/QuantEcon/quantecon-book-theme/releases/tag/v0.8.1

@doctor-phil
Copy link
Collaborator Author

Fixed by #270

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority
Projects
None yet
Development

No branches or pull requests

2 participants