It's know GitPython bug. There are [merge 
request](https://github.com/gitpython-developers/GitPython/pull/124) 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? 


---

** [tickets:#7021] Handle pgp-signed git commits**

**Status:** in-progress
**Labels:** 42cc 
**Created:** Thu Jan 02, 2014 04:37 PM UTC by Dave Brondsema
**Last Updated:** Fri Feb 07, 2014 07:37 PM UTC
**Owner:** nobody

~~~~
  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-----
~~~~


---

Sent from sourceforge.net because [email protected] is subscribed 
to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to