-
Notifications
You must be signed in to change notification settings - Fork 145
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
AttributeError when Author is None #140
Comments
I ran into the same problem. Have you found a solution @TylerGubala? In common.py I added try:
author = commit_node.find('author').text
except AttributeError:
author = None as a quick fix for me. I am currently not sure what kind of impact this will have but for now its fine I guess... |
My "solution" basically amounts to avoiding commits where the author is
returned as None.
I also have not looked very deeply into it. Hope you find better success!
…On Mon, Nov 23, 2020, 5:52 AM mtHB ***@***.***> wrote:
I ran into the same problem. Have you found a solution @TylerGubala
<https://github.com/TylerGubala>?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#140 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFLEYR4NUY5E5A7P3VWOR33SRI5IJANCNFSM4ISUWRXQ>
.
|
@TylerGubala You should not avoid commits where author is None. |
OS: Windows 10 64bit
Python version: 3.5-32
PySvn version: 0.3.46
When attempting to list files in extended mode (
extended=True
) or recursively, an exception is thrown when thecommit_node.find('author') is None
.Example:
Possibly related is a pull request from 2017 and issue #89
The text was updated successfully, but these errors were encountered: