Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 838
    • Issues 838
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Mercurial Paris conference scheduled ! Main event : 2022-09-22. Call for papers deadline: 2022-06-17.

  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5711

Closed
Open
Created Apr 12, 2021 by Paweł@velarispl

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!
Edited Apr 12, 2021 by Paweł
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking