-
-
Notifications
You must be signed in to change notification settings - Fork 933
AttributeError: 'PushInfo' object has no attribute 'name' #820
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
Comments
Which version of GitPython are you using? Could you also provide a more self-contained example on how to reproduce the issue? Maybe |
I'm using 2.1.11 and the following will reproduce the error.
|
Thanks a lot! I could reproduce the issue. |
I have a similar problem, when printing result.summary:
This is the full stack:
|
I am also facing the same error as @metakernelteam when trying to print the summary |
I think it would be good to open a new issue for this, as that would contain instruction to reproduce a possibly new issue that looks similar. All that is under the assumption that this issue was actually fixed a couple of years ago - otherwise please do feel free to add instructions here for a reproduction to have this issue reopened instead. Thank you. |
A simple call to:
result = self._client.remotes.origin.push(**args)
print(result.summary)
results in:
Traceback (most recent call last):
File "C:\Users\jsmith\Envs\halpy\lib\site-packages\halpy\cms.py", line 623, in checkin_files
print(result.summary)
File "C:\Users\jsmith\Envs\halpy\lib\site-packages\git\util.py", line 883, in getattr
if getattr(item, self._id_attr) == attr:
AttributeError: 'PushInfo' object has no attribute 'name'
The text was updated successfully, but these errors were encountered: