Package Details: tortoisehg-hg 3.7.1.17982-1

Git Clone URL: https://aur.archlinux.org/tortoisehg-hg.git (read-only)
Package Base: tortoisehg-hg
Description: Mercurial GUI front end
Upstream URL: http://tortoisehg.bitbucket.org/
Licenses: GPL2
Conflicts: tortoisehg
Provides: tortoisehg
Submitter: Misery
Maintainer: anshumanb
Last Packager: anshumanb
Votes: 58
Popularity: 0.001364
First Submitted: 2008-04-14 22:22
Last Updated: 2016-03-04 12:48

Dependencies (9)

Required by (0)

Sources (2)

Latest Comments

anshumanb commented on 2016-03-04 12:56

This issue occurs because tags 3.7 and 3.7.1 point to the same changeset hence {latesttag} returns a colon-delimited list. I've updated pkgver to use the last tag from a list of tags -- a generic version of @biloucat's "cut" workaround.

Thank you @biloucat for bringing this to my attention and providing a workaround.

biloucat commented on 2016-03-02 10:25

pkgver() send error (in french)
==> ERREUR : pkgver ne peut pas contenir de deux-points, de tirets ou d’espaces.
==> ERREUR : pkgver() a généré une version non valide : 3.7:3.7.1.17981

for me, replacing:
echo $(hg parents --template {latesttag}).$(hg identify -n)
with:
echo $(hg parents --template {latesttag}|cut -d: -f2).$(hg identify -n)

do the trick

anshumanb commented on 2014-07-08 23:42

Got the same issue on upgrade today. Found this bug, https://bugs.archlinux.org/task/41103, through https://bbs.archlinux.org/viewtopic.php?pid=1433813. Rebuilt qscintilla and tortoisehg works fine for me now. Hope that helps!

Here's the latest qscintilla PKGBUILD: https://projects.archlinux.org/svntogit/packages.git/plain/qscintilla/trunk/PKGBUILD.

smradlev commented on 2014-07-06 12:25

With an up-to-date system (mercurial 3.0.2-1; python2-pyqt5 5.3.1-1; python2-pyqt4 4.11.1-1; python-qscintilla-common 2.8.3-2; python2-qscintilla 2.8.3-2; qt4 4.8.6-1), with tortoisehg-hg freshly rebuilt (3.0.1.16648-1), I get:


#!python
** Mercurial version (3.0.2). TortoiseHg version (3.0.1+14-c5d3ee1467e3)
** Command:
** CWD:
** Encoding: UTF-8
** Extensions loaded:
** Python version: 2.7.8 (default, Jul 1 2014, 17:30:21) [GCC 4.9.0 20140604 (prerelease)]
** System: Linux computer 3.15.3-1-ARCH #1 SMP PREEMPT Fri Jul 4 11:16:03 EDT 2014 x86_64
** Qt-4.8.6 PyQt-4.11.1 QScintilla-(unknown)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 50, in dispatch
return _runcatch(u, args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 229, in _runcatch
return runcommand(ui, args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 317, in runcommand
return _runcommand(lui, options, cmd, d)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 368, in _runcommand
return checkargs()
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 322, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 316, in <lambda>
d = lambda: qtrun(checkedfunc, ui, *args, **cmdoptions)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 338, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 402, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 518, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 844, in log
w = _workbench(ui, *pats, **opts)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 412, in _workbench
w = qtrun.createWorkbench()
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 434, in createWorkbench
self._workbench = workbench.Workbench(self._ui, self._repomanager)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 102, in __getattribute__
self._load()
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 74, in _load
mod = _hgextimport(_import, head, globals, locals, None, level)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/workbench.py", line 18, in <module>
from tortoisehg.hgqt.repowidget import RepoWidget
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repowidget.py", line 31, in <module>
from tortoisehg.hgqt.commit import CommitWidget
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/commit.py", line 18, in <module>
from tortoisehg.hgqt.messageentry import MessageEntry
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/messageentry.py", line 12, in <module>
from PyQt4.Qsci import QsciScintilla, QsciLexerMakefile
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
ImportError: /usr/lib/python2.7/site-packages/PyQt4/Qsci.so: undefined symbol: _ZTI11QsciPrinter

smradlev commented on 2013-03-09 01:28

I rebuilt it, and indeed now it works. Thanks a lot!

anshumanb commented on 2013-03-08 22:36

Just did a pacman -Syu and a rebuild of tortoisehg-hg thereafter. tortoisehg-hg 13736 with mercurial 2.5.2, python2-pyqt 4.10, python2-qscintilla 2.7.1 and qt4 4.8.4 works for me. This is on i686 but x86_64 should work too.

Didn't run into the issue myself, but maybe this commit https://bitbucket.org/tortoisehg/thg/commits/e571f9b3eadc2e2706bd350dab33d3bee5bf2315 , which was made quite recently, for issue https://bitbucket.org/tortoisehg/thg/issue/2467 fixed it?

barchiesi commented on 2013-03-08 11:27

@smradlev: Try rebuilding it now, I had the same issues and now it is working.

barchiesi commented on 2013-03-08 11:24

I confirm what smradlev says. I'm not getting anything at all at the cli, is there some way to enable more debugging?

smradlev commented on 2013-03-07 17:36

After upgrading from
python2-pyqt-4.9.6-2-x86_64.pkg.tar.xz
to
python2-pyqt-4.10-1-x86_64.pkg.tar.xz
thg no longer starts.

smradlev commented on 2013-03-07 17:33

After upgrading from
python2-pyqt-4.9.6-2-x86_64.pkg.tar.xz
to
python2-pyqt-4.10-1-x86_64.pkg.tar.xz
thg no longer starts. strace says:

stat("/usr/lib/python2.7/site-packages/hgext/os", 0x7fff7ab7adf0) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/hgext/os.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/hgext/osmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/hgext/os.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/hgext/os.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)

All comments