-
-
Notifications
You must be signed in to change notification settings - Fork 936
'NoneType' object has no attribute 'groups' #35
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
I would need a full stack trace. |
Traceback:
Exception Type: AttributeError at /newrepo/commit/1c6336ab05f0ec6838143cb7167b2850862357d0/ |
What is the git-python version you are using ? |
'0.3.2 RC1' |
I see the same issue with debian unstable gitpython version 0.3.2~RC1-3 and openerp "project_git" (http://bit.ly/1oL9oqs). Is this issue still open in the last git version of gitpython? Trace follows: |
I believe it's save to assume that the issue is still open: there is no pull request fixing this issue, nor did I work on it. However, maybe there are forks which fix the issue, that didn't submit a PR yet. |
Helps fixing #35 Also, the production status was changed to 'stable', which should have been done much earlier.
I have added an assertion to check for unusual diff formats that we might not be able to parse. It would be useful to know the repository that caused this issue, to help reproducing it. |
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'groups'
Exception Location: /usr/local/lib/python2.6/dist-packages/git/diff.py in _index_from_patch_format, line 301
Python Executable: /usr/bin/python
Python Version: 2.6.6
this happens when trying to "Swap two inputs" .
commit = repo.commit()
diff = commit.diff('HEAD~1', create_patch=True, R=True)
The text was updated successfully, but these errors were encountered: