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

Crater errors aren't entirely helpful #1038

Open
rsheeter opened this issue Oct 15, 2024 · 3 comments
Open

Crater errors aren't entirely helpful #1038

rsheeter opened this issue Oct 15, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@rsheeter
Copy link
Contributor

I don't know whether this is a user error or if I should Do Something to fix it:

Bad URL: failed to parse URL: RelativeUrlWithoutBase: relative URL without a base                                                                             
command failed: 'Cloning into './font_repos/Alegreya'...                                                                                                      
fatal: could not read Username for 'https://github.com': terminal prompts disabled
'
command failed: 'Cloning into './font_repos/elsiefont (404)'...                                                                                               
fatal: unable to access 'https://github.com/googlefonts/elsiefont (404)/': URL rejected: Malformed input to a URL function
'
command failed: 'Cloning into './font_repos/glory'...                                                                                                         
fatal: could not read Username for 'https://github.com': terminal prompts disabled
'
command failed: 'Cloning into './font_repos/manrope'...                                                                                                       
fatal: could not read Username for 'https://github.com': terminal prompts disabled
'
command failed: 'Cloning into './font_repos/Orelega'...                                                                                                       
fatal: could not read Username for 'https://github.com': terminal prompts disabled

My local cache dir seems well populated so maybe these are just bad sources...?

@rsheeter rsheeter added the enhancement New feature or request label Oct 15, 2024
@cmyr
Copy link
Member

cmyr commented Oct 17, 2024

What command did you run to see this? This is mostly telling you that we couldn't check out a repository because it is private (hence it is asking for your username/password) and I would only expect to see this when it is trying to build up the initial repo list.

There's nothing really actionable here.

@rsheeter
Copy link
Contributor Author

I think just compile but probably any command with no local repos would do it. I was unclear from the output if this was normal or not.

@cmyr
Copy link
Member

cmyr commented Oct 18, 2024

okay yea I need to rework/simplify the source finding a bit... I think part of the issue here is that you don't get context without logging enabled, and the messages you're seeing are actually being generated by a child git process that's inherited our stdout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants