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

graphql error on some large repos #106

Open
cmdoret opened this issue Jan 9, 2024 · 0 comments
Open

graphql error on some large repos #106

cmdoret opened this issue Jan 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cmdoret
Copy link
Member

cmdoret commented Jan 9, 2024

When calling gimie on numpy/numpy, the license is missing from the output.

It occasionally crashes with:

gimie data --exclude-parser license https://github.com/numpy/numpy 
gimie/gimie/extractors/github.py:239 in _repo_data    │
│                                                                                                  │
│   236 │   │   response = send_graphql_query(GH_API, repo_query, data, self._headers)             │
│   237 │   │                                                                                      │
│   238 │   │   if "errors" in response:                                                           │
│ ❱ 239 │   │   │   raise ValueError(response["errors"])                                           │
│   240 │   │                                                                                      │
│   241 │   │   return response["data"]["repository"]   

ValueError: [{'message': 'Something went wrong while executing your query. Please include [...] when reporting this issue.'}]
@cmdoret cmdoret added the bug Something isn't working label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant