Skip to content

Launching Binder from jupyterbook via gitlab repo causes error, URL not read correctly #282

@merrygin

Description

@merrygin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions