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 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5437
Closed
Open
Created Jul 26, 2019 by Bitbucket Importer@bitbucket_importerOwner

TypeError: invalid result from RepoTreeModel.data(), unable to convert a Python 'unicode' object to a C++ 'QString' instance

Created originally on Bitbucket by Pierre Bousquie

Hi, after updating mercurial + tortoisehg i’m having this Error at startup.

I don’t know why it’s python 2 and not python 3 that is loaded.. and how to force load it.

I’m using it on command line for “hg view”

.hgrc

[extension]

hgk =

[hgk]

path=/usr/bin/thg

‌

‌

$ hg view

qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
Exception UnicodeEncodeError: UnicodeEncodeError('ascii', u'Votre TortoiseHg est \xe0 jour.', 21, 22, 'ordinal not in range(128)') in 'garbage collection' ignored
Fatal Python error: unexpected exception during garbage collection

‌

#!python

‌ ** Mercurial version (5.0.2). TortoiseHg version (5.0.2)

‌ ** Command:

‌ ** CWD: /home/pierre/src/facturation

‌ ** Encoding: UTF-8

‌ ** Extensions loaded: purge, shelve, rebase, hgk, strip, mq, prompt, extdiff, tortoisehg.util.configitems

‌ ** Python version: 2.7.16 (default, Mar 11 2019, 18:59:25) [GCC 8.2.1 20181127]

‌ ** System: Linux minibear 5.1.19-1-MANJARO #1 (closed) SMP PREEMPT Sun Jul 21 14:17:15 UTC 2019 x86_64

‌ ** Qt-5.13.0 PyQt-5.13.0 QScintilla-2.11.2

‌ TypeError: invalid result from RepoTreeModel.data(), unable to convert a Python 'unicode' object to a C++ 'QString' instance

‌ TypeError: invalid result from RepoTreeModel.data(), unable to convert a Python 'unicode' object to a C++ 'QString' instance

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking