Package Details: tortoisehg 6.6.3-4

Git Clone URL: https://aur.archlinux.org/tortoisehg.git (read-only, click to copy)
Package Base: tortoisehg
Description: Graphical tools for Mercurial
Upstream URL: https://foss.heptapod.net/mercurial/tortoisehg/thg
Licenses: GPL
Submitter: bwalle
Maintainer: Misery
Last Packager: Misery
Votes: 126
Popularity: 0.108967
First Submitted: 2011-06-11 12:14 (UTC)
Last Updated: 2024-03-14 17:39 (UTC)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 23 Next › Last »

Artalus commented on 2019-08-13 07:53 (UTC)

@chrisjbillington downgrading to python2-pyqt5-5.12.3-2-x86_64.pkg.tar.xz helped, thanks

neit95 commented on 2019-08-12 22:30 (UTC) (edited on 2019-08-12 22:32 (UTC) by neit95)

Reported and also saw a similar issue. I have not downgrade to python2-pyqt5 5.12.3-2. I use another program so far.

chrisjbillington commented on 2019-08-09 19:44 (UTC) (edited on 2019-08-09 19:51 (UTC) by chrisjbillington)

@neit95 seems similar to the bug discussed earlier in this thread - does it still occur if you downgrade to python2-pyqt5 5.12.3-2? If so, probably a bug in tortoisehg, and you should report it to their bugtracker on bitbucket.

neit95 commented on 2019-08-09 19:28 (UTC) (edited on 2019-08-09 19:29 (UTC) by neit95)

Error starting in Russian localization:

#!python
** Mercurial version (5.0.2).  TortoiseHg version (5.0.2)
** Command: 
** CWD: /home/user
** Encoding: UTF-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 2.7.16 (default, Mar 11 2019, 18:59:25) [GCC 8.2.1 20181127]
** System: Linux KASRoadArch 5.2.5-arch1-1-ARCH #1 SMP PREEMPT Wed Jul 31 08:30:34 UTC 2019 x86_64
** Qt-5.13.0 PyQt-5.13.0 QScintilla-2.11.2
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 71, in dispatch
    return _runcatch(u, args)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 274, in _runcatch
    return runcommand(ui, args)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 365, in runcommand
    return _runcommand(lui, options, cmd, d)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 417, in _runcommand
    return checkargs()
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 370, in checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 364, in <lambda>
    d = lambda: qtrun(checkedfunc, ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 459, in __call__
    dlg, reporoot = self._createdialog(dlgfunc, args, opts)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 523, in _createdialog
    return dlgfunc(self._ui, *args, **opts), reporoot
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 1680, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 962, in log
    w = _workbench(ui, *pats, **opts)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 454, in _workbench
    w = qtrun.createWorkbench()
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 555, in createWorkbench
    self._workbench = workbench.Workbench(self._ui, self._repomanager)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/workbench.py", line 73, in __init__
    self.reporegistry = rr = RepoRegistryView(repomanager, self)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/reporegistry.py", line 259, in __init__
    self.createActions()
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/reporegistry.py", line 491, in createActions
    for name, desc, icon, tip, cb in self._action_defs():
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-11: ordinal not in range(128)

chrisjbillington commented on 2019-07-12 15:43 (UTC)

@abique so would I. I was thinking of trying to see if any TUs have interest in it after the transition to Python 3 for mercurial and tortoisehg is complete, since that could be a bit disruptive, and since there is increasing pressure to remove Python 2 only packages from the repos given it's EOL in six months.

abique commented on 2019-07-12 09:43 (UTC)

I would really love to see this package in community repository. Right now the pair mercurial / tortoisehg breaks way too often.

chrisjbillington commented on 2019-07-11 14:18 (UTC) (edited on 2019-07-11 14:55 (UTC) by chrisjbillington)

Upstream PyQt say that the issue will be fixed in tonight's snapshot, and that a bugfix release of PyQt5 will happen soon.

If anyone is desperate, they could file a bug against Arch's python2-pyqt5 package to get the fix sooner. But there seems to be no downside to holding back the package, so I would probably just wait for the release.

SeeLook commented on 2019-07-11 10:36 (UTC)

Downgrading to python2-pyqt5 5.12.3-2 still works for me as well. Otherwise tortoise doesn't launch.

schnedan commented on 2019-07-09 11:38 (UTC)

as my system here thows a different error message... maybe its helpfull

#!python
** Mercurial version (5.0.1).  TortoiseHg version (4.9.1+20-8a83b9931094)
** Command: 
** CWD: /home/danny
** Encoding: UTF-8
** Extensions loaded: convert, strip, mq, transplant, churn, histedit, rebase, relink, tortoisehg.util.configitems
** Python version: 2.7.16 (default, Mar 11 2019, 18:59:25) [GCC 8.2.1 20181127]
** System: Linux name 5.1.16-arch1-1-ARCH #1 SMP PREEMPT Wed Jul 3 20:23:07 UTC 2019 x86_64
** Qt-5.13.0 PyQt-5.13.0 QScintilla-2.11.2
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/workbench.py", line 718, in openRepo
    if not self.repoTabsWidget.openRepo(root, bundle):
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repotab.py", line 126, in openRepo
    rw = self._createRepoWidget(root, bundle)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repotab.py", line 405, in _createRepoWidget
    rw = repowidget.RepoWidget(repoagent, self, bundle=bundle)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repowidget.py", line 160, in __init__
    self.setupUi()
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repowidget.py", line 190, in setupUi
    self.filterbar = RepoFilterBar(self._repoagent, self)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repofilter.py", line 152, in __init__
    if not QFontMetrics(self.font()).inFont(u'\u2605'):
ValueError: string of length 1 expected

chrisjbillington commented on 2019-07-08 14:19 (UTC)

Looks like a bug in python2-pyqt5:

from PyQt5.QtWidgets import QApplication
from PyQt5.QtGui import QFontMetrics
app = QApplication([])
QFontMetrics(app.font()).inFont(u'\u2605')

Traceback (most recent call last):
  File "292.py", line 4, in <module>
    QFontMetrics(app.font()).inFont(u'\u2605')
ValueError: string of length 1 expected

Reported upstream:

https://www.riverbankcomputing.com/pipermail/pyqt/2019-July/041910.html