Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

Unhelpful error message for misspelled repository name: "invalid tar file" #76

Open
AaronWatters opened this issue Sep 7, 2016 · 2 comments · May be fixed by binder-project/binder-build#4

Comments

@AaronWatters
Copy link

Novice users find this error message unhelpful, please improve it.

starting build for URL: https://github.com/abcdef/ghijk
fetching source at https://github.com/abcdef/ghijk
could not build image abcdef-ghijk: Error: invalid tar file
@freeman-lab
Copy link
Member

Thanks for flagging, one option would be to do a client-side check that the repository exists on the website before even starting the build. We're currently doing that just to check for valid repository names, but not to check that it exists.

@minrk
Copy link

minrk commented Sep 9, 2016

binder-project/binder-build#4 should give a better error when the repo download fails for any reason. The resulting 404 might at least point the user in the right direction.

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

Successfully merging a pull request may close this issue.

3 participants