TypeError: can only concatenate str (not "bytes") to str
#!python
** Mercurial version (5.4.2). TortoiseHg version (5.4.2)
** Command: --nofork
** CWD: /home/cissys
** Encoding: UTF-8
** Extensions loaded: strip, mq, tortoisehg.util.configitems
** Python version: 3.9.1 (default, Jan 20 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)]
** System: Linux localhost.localdomain 5.10.12-200.fc33.x86_64 #1 SMP Mon Feb 1 02:40:52 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.0 QScintilla-2.11.5
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/repowidget.py", line 887, in onRevisionSelected
self.revDetailsWidget.onRevisionSelected(rev)
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/revdetails.py", line 316, in onRevisionSelected
msg = ' '.join('[%s]' % hglib.tounicode(tag)
TypeError: can only concatenate str (not "bytes") to str
I get such error while choosing from the graph revisions that have Tags. I use Fedora 33 Workstation with kernel 5.11.11-200.fc33.x86_64. There is no newer mercurial (hg) and tortoisehg (thg) available at fedora package repositiories for this Fedora version.
sudo dnf install mercurial
Last metadata expiration check: 1:14:46 ago on Mon 12 Apr 2021 06:08:57 PM CEST.
Package mercurial-py2-5.4.2-3.fc33.x86_64 is already installed.
Package mercurial-py3-5.4.2-3.fc33.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
sudo dnf install tortoisehg
Last metadata expiration check: 1:16:54 ago on Mon 12 Apr 2021 06:08:57 PM CEST.
Package tortoisehg-5.4.2-1.fc33.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!