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 Binder from jupyterbook via gitlab repo causes error, URL not read correctly #282

Open
merrygin opened this issue May 30, 2023 · 1 comment
Labels

Comments

@merrygin
Copy link

Bug description

I am trying to start binder from a jupyterbook, having provided the url in the config.yml, but binder doesn’t recognize the repo this way - it displays the colon (and only the colon) encoded so I suspect there might be some issue with that? Curiously, if I manually start a binder from repo directly via mybinder.org everything works just fine.

The repo url is: https://gitlab.gwdg.de/jmschmitz/abm-compendium-jupyterbook

Maybe it the problem lies with the gitlab instance the repo is hosted on. When I pass a github repo in the config.yml, the binder integration also works f

See error log below.

Expected behaviour

Start binder from jupyterbook with url given in config.yml, binder reads the url exactly as given in config, finds repo, launches binder

Actual behaviour

Start binder from jupyterbook with exact url given in config.yml, binder reads the url but with "%3A" instead of ":", fails to find repo

How to reproduce

  1. Use this repo and build the jupyterbook
  2. Go to chapter "Mesatutorial", subchapter "Introduction to mesa"
  3. Click rocket symbol/"binder" to launch binder instance of the repo
  4. See error

Your personal set up

/

  • OS: MacOS
  • Version(s): 11.6.1
Full environment
# paste output of `pip freeze` or `conda list` here
Configuration
# jupyterhub_config.py
Logs Error resolving ref for git:https%3A//gitlab.gwdg.de/jmschmitz/abm-compendium-jupyterbook/main: Unable to run git ls-remote to get the resolved_ref: ssh: Could not resolve hostname https: Name or service not known fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@merrygin merrygin added the bug label May 30, 2023
@welcome
Copy link

welcome bot commented May 30, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

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

1 participant