Skip to content

Pypy2.4.0 support #23

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

Closed
andrefreitas opened this issue Mar 3, 2015 · 1 comment
Closed

Pypy2.4.0 support #23

andrefreitas opened this issue Mar 3, 2015 · 1 comment

Comments

@andrefreitas
Copy link

Hi,
I am trying to use gitpython in pypy2.4.0 but I got an exception:

>>>> import git
>>>> git.Repo("/Users/andre/git/MPAndroidChart")
<git.Repo "/Users/andre/git/MPAndroidChart/.git">
>>>> r = git.Repo("/Users/andre/git/MPAndroidChart")
>>>> r.iter_commits(max_count=6)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Applications/pypy3-2.4.0-osx64/site-packages/git/repo/base.py", line 466, in iter_commits
    rev = self.head.commit
  File "/Applications/pypy3-2.4.0-osx64/site-packages/git/refs/symbolic.py", line 182, in _get_commit
    obj = self._get_object()
  File "/Applications/pypy3-2.4.0-osx64/site-packages/git/refs/symbolic.py", line 175, in _get_object
    return Object.new_from_sha(self.repo, hex_to_bin(self.dereference_recursive(self.repo, self.path)))
TypeError: 'str' does not support the buffer interface

I am getting this in any repository.

@andrefreitas
Copy link
Author

Wrong repository, sorry :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant