File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 232, in refresh_commit_info tree_id=ci.tree.hexsha, File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__ self._set_cache_(attr) File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 133, in _set_cache_ self._deserialize(StringIO(stream.read())) File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20131017-py2.7.egg/git/objects/commit.py", line 453, in _deserialize self.author.name = self.author.name.decode(self.encoding) LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----
It's know GitPython bug. There are merge request for fixing this, but unfortunately it isn't merged into main GitPython repo yet.
We can use GitPython from this fork, or make our own from stable revision and apply similar changes to it. What do you think?
We've been compiling our other patches to GitPython at this repo/branch: https://github.com/johnsca/GitPython/tree/sf-master
I'd recommend a test of merging the pull request with that branch, and see if it all works well.
Closed #533.
Created pull request on github https://github.com/johnsca/GitPython/pull/2
No Allura changes.