-
-
Notifications
You must be signed in to change notification settings - Fork 920
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
Cannot retrieve commits from a specific repository #1016
Comments
Thanks a lot, I was able to reproduce the issue, and here is how it looks for me:
|
We face the same problem when we analyze repositories. Do you have any updates on this issue? |
Had the same problem, updating git to git-2.30.0-1 solved it for me. |
I was getting this error message when I was trying to get info about a repository which I was not the owner of (even though I was root). I tried doing it manually with If you're having this problem, see if I would like to see some better error handling if possible. It seems clear to me that an error was not properly being raised somewhere and a function was silently returning an empty binary string. |
This is a known issue as some commands are configured to stream data and only look at stdout. That said, git appears to exit with code 129 making it possible to provide a better error message. We could use an issue to keep track of this or a PR to fix it. Here is a related conversation. |
Maybe git is running into a different owner than the repository. Inside repo, you can try this command: |
@ramonlins yes that was the fix for my particular problem |
thanks @ramonlins , that works for me as well. However, I do not understand what caused this error message to suddenly appear, while it was working before for a long time without any significant changes in the setup lately... |
@kapsner a recent update to Git on the apt repositories added a feature which is causing this problem. |
For more reading: https://stackoverflow.com/a/71904131/3580553
|
I am getting this error for https://github.com/nodejs/node. |
GitPython is failing to retrieve commits from a specific repository I am currently analyzing:
https://github.com/jbrowncfa/Cryptobomb
.Exception's stack trace:
Reproducible example:
Here is the Dockerfile I'm using:
Please let me know if you guys need any more info.
The text was updated successfully, but these errors were encountered: