1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #40 resolved

TypeError: decoding Unicode is not supported

Mads Kiilerich
created an issue

Running "thg log" on the Mercurial repo I get this when I scroll around - probably because I hit some non-ascii name

{{{

!python

Please report this bug to http://bitbucket.org/tortoisehg/thg/issues Mercurial version (1.7.2). TortoiseHg version (1.9+36-01d6d2257e60) Command: log CWD: /home/mk/hg/tests Extensions loaded: patchbomb, graphlog, mq, hg-git, hgsubversion, bookmarks, parentrevspec, mbox, convert, extdiff, transplant, rebase Python version: 2.7 (r27:82500, Sep 16 2010, 18:03:06) [GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 398, in data result = self.rawdata(row, column, role) File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 410, in rawdata text = self._columnmapcolumn File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 466, in getbranch return unicode(ctx.branch(), 'utf-8') TypeError: decoding Unicode is not supported Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 398, in data result = self.rawdata(row, column, role) File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 410, in rawdata text = self._columnmapcolumn File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 466, in getbranch return unicode(ctx.branch(), 'utf-8') TypeError: decoding Unicode is not supported Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 398, in data result = self.rawdata(row, column, role) File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 410, in rawdata text = self._columnmapcolumn File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repomodel.py", line 466, in getbranch return unicode(ctx.branch(), 'utf-8') TypeError: decoding Unicode is not supported

}}}

Comments (2)

  1. Log in to comment