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.20
First Submitted: 2011-06-11 12:14 (UTC)
Last Updated: 2024-03-14 17:39 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 23 Next › Last »

chrisjbillington commented on 2020-01-31 19:13 (UTC)

No worries! I've updated mercurial-python3 to hg 5.2.2, and posted to aur-requests asking them to disregard the deletion request.

schnedan commented on 2020-01-31 18:39 (UTC)

Thx,... and sorry for being of no help this afternoon.

chrisjbillington commented on 2020-01-31 18:30 (UTC)

@schnedan I just updated my Arch install and am now experiencing the same issue!

I realised that what's happened is that mercurial in the repos has reverted to Python 2. So mercurial-python3 will continue to be needed for the moment, I will work out how to undelete/recreate it and will update it to 5.2.2.

chrisjbillington commented on 2020-01-31 14:17 (UTC) (edited on 2020-01-31 14:18 (UTC) by chrisjbillington)

Yes, something is messed up with your Python or mercurial since tortoisehg's setup can't import mercurial. So you should investigate them. What do you get if you do the following (my output shown below, if yours is different, something might be wrong)?

$ pacman -Q mercurial
mercurial 5.2.2-1
$ python --version
Python 3.8.1
$ type python
python is hashed (/usr/bin/python)
$ python
Python 3.8.1 (default, Jan 22 2020, 06:38:00) 
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mercurial.__version__
>>> mercurial.__version__.version
b'5.2.2'
>>> mercurial.__file__
'/usr/lib/python3.8/site-packages/mercurial/__init__.py'

schnedan commented on 2020-01-31 08:51 (UTC) (edited on 2020-01-31 08:56 (UTC) by schnedan)

Seems to be reproduceable...

just updated my vm (remember mercurial and tortoisehg have been updated a view days ago and it worked), so here is what was updated today:
[2020-01-31T09:40:38+0100] [PACMAN] Running '/usr/bin/pacman -Syu'
[2020-01-31T09:40:38+0100] [PACMAN] synchronizing package lists
[2020-01-31T09:40:46+0100] [PACMAN] starting full system upgrade
[2020-01-31T09:41:40+0100] [ALPM] transaction started
[2020-01-31T09:41:41+0100] [ALPM] upgraded boost-libs (1.71.0-4 -> 1.72.0-1)
[2020-01-31T09:41:41+0100] [ALPM] upgraded p11-kit (0.23.19-2 -> 0.23.20-2)
[2020-01-31T09:41:41+0100] [ALPM] upgraded ca-certificates-mozilla (3.49.2-2 -> 3.49.2-3)
[2020-01-31T09:41:41+0100] [ALPM] upgraded qpdf (9.1.0-1 -> 9.1.1-1)
[2020-01-31T09:41:41+0100] [ALPM] upgraded sqlite (3.30.1-2 -> 3.31.1-1)
[2020-01-31T09:41:41+0100] [ALPM] upgraded nss (3.49.2-2 -> 3.49.2-3)
[2020-01-31T09:41:41+0100] [ALPM] upgraded cups-filters (1.26.2-1 -> 1.27.0-1)
[2020-01-31T09:41:41+0100] [ALPM] upgraded dhcpcd (8.1.5-1 -> 8.1.6-1)
[2020-01-31T09:41:43+0100] [ALPM] upgraded mesa (19.3.2-2 -> 19.3.3-1)
[2020-01-31T09:41:43+0100] [ALPM] upgraded mtdev (1.1.5-2 -> 1.1.6-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-base (5.14.0-3 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-svg (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-declarative (5.14.0-3 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-x11extras (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-multimedia (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-speech (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded kwallet (5.66.0-1 -> 5.66.0-2)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-sensors (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-script (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-graphicaleffects (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:46+0100] [ALPM] upgraded qt5-quickcontrols (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:47+0100] [ALPM] upgraded qt5-quickcontrols2 (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:47+0100] [ALPM] upgraded kwin (5.17.5-1 -> 5.17.5-2)
[2020-01-31T09:41:47+0100] [ALPM] upgraded libcmis (0.5.2-3 -> 0.5.2-4)
[2020-01-31T09:41:47+0100] [ALPM] upgraded libixion (0.14.1-5 -> 0.15.0-1)
[2020-01-31T09:41:47+0100] [ALPM] upgraded liborcus (0.14.1-5 -> 0.15.3-1)
[2020-01-31T09:41:47+0100] [ALPM] upgraded libpaper (1.1.24-11 -> 1.1.28-1)
[2020-01-31T09:41:48+0100] [ALPM] warning: /etc/profile.d/libreoffice-fresh.sh installed as /etc/profile.d/libreoffice-fresh.sh.pacnew
[2020-01-31T09:41:55+0100] [ALPM] upgraded libreoffice-fresh (6.3.4-2 -> 6.4.0-1)
[2020-01-31T09:41:56+0100] [ALPM] upgraded libreoffice-fresh-de (6.3.4-1 -> 6.4.0-1)
[2020-01-31T09:41:56+0100] [ALPM] upgraded mercurial (5.2.2-1 -> 5.2.2-2)
[2020-01-31T09:41:57+0100] [ALPM] upgraded openexr (2.4.0-6 -> 2.4.0-7)
[2020-01-31T09:41:57+0100] [ALPM] upgraded openresolv (3.9.2-2 -> 3.10.0-1)
[2020-01-31T09:41:57+0100] [ALPM] upgraded plasma-integration (5.17.5-1 -> 5.17.5-2)
[2020-01-31T09:41:57+0100] [ALPM] upgraded python-jinja (2.11.0-1 -> 2.11.1-1)
[2020-01-31T09:41:57+0100] [ALPM] upgraded qt5-location (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:58+0100] [ALPM] upgraded qt5-tools (5.14.0-2 -> 5.14.1-1)
[2020-01-31T09:41:58+0100] [ALPM] upgraded qt5-translations (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:58+0100] [ALPM] upgraded qt5-wayland (5.14.0-3 -> 5.14.1-1)
[2020-01-31T09:41:58+0100] [ALPM] upgraded qt5-webchannel (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:41:58+0100] [ALPM] upgraded vulkan-icd-loader (1.2.131-1 -> 1.2.132-1)
[2020-01-31T09:42:02+0100] [ALPM] upgraded qt5-webengine (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:42:04+0100] [ALPM] upgraded qt5-webkit (5.212.0alpha3-8 -> 5.212.0alpha3-9)
[2020-01-31T09:42:04+0100] [ALPM] upgraded qt5-xmlpatterns (5.14.0-1 -> 5.14.1-1)
[2020-01-31T09:42:04+0100] [ALPM] upgraded thunar (1.8.11-1 -> 1.8.12-1)
[2020-01-31T09:42:04+0100] [ALPM] transaction completed

after that thg refused to start... so that happens with stuff from AUR sometimes and normaly a reinstall with a rebuild is a good cure, right?

but when I do update tortoisehg this is the result:
Repository : AUR
Name : tortoisehg
Version : 5.2.0-1
Maintainer : Misery
URL : https://tortoisehg.bitbucket.io
AUR URL : https://aur.archlinux.org/packages.php?ID=690502
License : GPL
Votes : 120
Popularity : 0.22%
Installed : Yes
Out Of Date : No
Depends On : python
mercurial>=5.2.2
mercurial<5.3
python-qscintilla-qt5
python-iniparse
qt5-svg
python-pyqt5
Make Deps : None
Check Deps : None
Optional Deps : python-pygments: syntax highlighting
python-nautilus: Python binding for Nautilus components
Provides : None
Conflicts With : None
Replaces : None
Package Base : tortoisehg
Last Update : Tue Jan 28 10:02:41 2020
Description : Graphical tools for Mercurial

==> Erstelle Paket: tortoisehg 5.2.0-1 (Fr 31 Jan 2020 09:44:44 CET)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
-> Lade tortoisehg-5.2.0-10a1e3f75cba.tar.gz herunter...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8073k 100 8073k 0 0 1048k 0 0:00:07 0:00:07 --:--:-- 1889k
==> Überprüfe source Dateien mit sha256sums... tortoisehg-5.2.0-10a1e3f75cba.tar.gz ... Durchgelaufen
==> Entpacke Quellen...
-> Entpacke tortoisehg-5.2.0-10a1e3f75cba.tar.gz mit bsdtar
==> Betrete fakeroot Umgebung...
==> Beginne package()...
Traceback (most recent call last):
File "setup.py", line 29, in <module>
from i18n.msgfmt import Msgfmt
File "/tmp/trizen-danny/tortoisehg/src/tortoisehg-thg-10a1e3f75cba /i18n/msgfmt.py", line 39, in <module>
from mercurial import (
ModuleNotFoundError: No module named 'mercurial'
==> FEHLER: Ein Fehler geschah in package().
Breche ab...
:: Unable to build tortoisehg - makepkg exited with code: 4

... which is exactly what I have suffered from yesterday

schnedan commented on 2020-01-31 08:23 (UTC) (edited on 2020-01-31 08:36 (UTC) by schnedan)

@chrisjbillington 1/2 Don't really understand... I removed mercurial-python3 as I did several days ago in my VM at work [there at last the install worked without problems], installed mercurial and tortoise afterwards showed the known behavior when a python2 based mercurial is hit. then I did a 'locate mercurial' and there was a lot of mercuial stuff like /lib/pyhton2xyz, so I asume something went really wrong...

and yes I retried the whole thing with removing thg and hg - I think 2 times.

@chrisjbillington 2/2 I am aware of the issue that PyQt packages are dropped. Problem is in case of mercurial3, its in an unusable state - at least in some enviroments. Yes, at home it works better, but in my company due issues with proxies, certificates, TLS,... its almost unuseable. I also filed a bug to mercurial already. And the same is true for tortoisehg based on that. I really would love that the arch community would support Linus' thinking: never break userspace. So its OK to drop python2 and PyQt as soon as the replacements can take over 1:1 but not a second erlier! So my list is a bit longer: samba is broken (can not print to cups via samba any more with default build setting - the issue exists almost a year now, maintainers do not care), on my laptop pulseaudio has a serious issue (the pa guys say its a kernel issue and I should tell them which exact version has broke it...), and now hg and tortoisehg are in an devastating state.

The last time I faced such serious problems was back in 2006/2007, about that time I switched from ubuntu based distros to arch...

chrisjbillington commented on 2020-01-30 23:17 (UTC)

As for wanting to keep running mercurial on Python 2, that should be doable by making a PKGBUILD that uses Python 2, similarly to how mercurial-python3 was modifying the install to use Python 3. An additional step that renames the executable to /usr/bin/hg2 would allow it to coexist with the Python 3 one.

However, tortoisehg imports the mercurial Python library, rather than using the executable, so you won't be able to get tortoisehg using the Python 2 mercurial unless tortoisehg is running under Python 2 itself (a much more difficult prospect on Arch due to python2-based PyQt packages being dropped).

chrisjbillington commented on 2020-01-30 23:06 (UTC)

@schnedan I've filed a deletion request for mercurial-python3, since it is superseded by mercurial 5.2.2 in [extra], which is now on Python 3.

The dependency list you posted looks like all Python 3 based packages to me - in case you're not aware, python- packages in Arch are Python 3. Python 2 packages start with python2-

This package is working for me (though there are unresolved bugs in tortoisehg itself), what issue are you encountering specifically?

schnedan commented on 2020-01-30 22:59 (UTC)

For me your latest PKGBUILD (28.01.2020) stopped working, again as it seems dependency is to the phyton2 based mercurial, but thg expects python3 instead:

depends=('python' 'mercurial>=5.2.2' 'mercurial<5.3' 'python-qscintilla-qt5' 'python-iniparse' 'qt5-svg' 'python-pyqt5')

also mercurial-python3 currently is 5.2.1, so the requirement for 5.2.2 also fails

... just an additional question, as mecurial-python3 also has some major bugs, e.g. it does not work for me at work with our IT's proxy and TLS breaking malware scanner setup (this is why I currently host a second mecurical for phyton2 on the same machine, so I can at least merge, push and pull), do you see any posibility to provide an python2 based mecurical with a matching tortoisehg until that other stuff is ready for daily work. I would have no problem if that is sort of self contained in /opt and duplicates any needed lib or so - it just should work and not break with normal rolling updates. Don't know the opinion of otheres here, but for me thg is a major productivity tool I use at work, and currently there is no alternate availible. other tools are python2 plus in most cases qt4... and fiddeling with shelfs and mq's by hand is a pain in the ass, right?