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: 125
Popularity: 0.003752
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 .. 22 Next › Last »

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?

chrisjbillington commented on 2019-12-11 14:01 (UTC)

@Artalus no worries, now you can experience the actual bugs tortoisehg has on Python 3 :)

Artalus commented on 2019-12-11 13:51 (UTC)

Oh, my bad! Apparently I was reusing cached build files that were somehow created back with python 3.7. After I cleaned up yay cache and reinstalled both packages, thg started just fine. Cheers!

chrisjbillington commented on 2019-12-11 13:37 (UTC)

@Artalus, it definitely shouldn't have installed to python3.7/site-packages - did you have a venv or conda env active when you ran makepkg? If so it would have used the Python interpreter from the venv/conda env. You'll need to deactivate the env (having one active permenently in your shell, as conda does by default, causes all sorts of issues of this nature)

Artalus commented on 2019-12-11 10:22 (UTC)

I installed mercurial-python3, but it put all its files in /usr/lib/python3.7/site-packages instead of /usr/lib/python3.8. After I created symlinks for mercurial, semver, iniparse, hgext (couldn't create for hgext3rd since tortoisehg package creates the directory for itself), I managed to install tortoisehg. However when starting it it fails with this traceback:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/mercurial/policy.py", line 69, in _importfrom
    fakelocals[modname] = mod = getattr(pkg, modname)
  File "/usr/lib/python3.8/site-packages/mercurial/pycompat.py", line 283, in w
    return f(object, sysstr(name), *args)
AttributeError: module 'mercurial.cext' has no attribute 'parsers'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/thg", line 91, in <module>
    tortoisehg.hgqt.run.run()
  File "/usr/lib/python3.8/importlib/util.py", line 245, in __getattribute__
    self.__spec__.loader.exec_module(self)
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 499, in <module>
    _('repository root directory or symbolic path name')),
  File "/usr/lib/python3.8/site-packages/tortoisehg/util/i18n.py", line 96, in agettext
    return hglib.fromunicode(u)
  File "/usr/lib/python3.8/importlib/util.py", line 245, in __getattribute__
    self.__spec__.loader.exec_module(self)
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/tortoisehg/util/hglib.py", line 55, in <module>
    nullsubrepostate = subrepoutil.nullstate
  File "/usr/lib/python3.8/importlib/util.py", line 245, in __getattribute__
    self.__spec__.loader.exec_module(self)
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/mercurial/subrepoutil.py", line 15, in <module>
    from .i18n import _
  File "/usr/lib/python3.8/importlib/util.py", line 245, in __getattribute__
    self.__spec__.loader.exec_module(self)
  File "/usr/lib/python3.8/site-packages/mercurial/i18n.py", line 115, in <module>
    if _plain():
  File "/usr/lib/python3.8/site-packages/mercurial/i18n.py", line 107, in _plain
    b'HGPLAIN' not in encoding.environ
  File "/usr/lib/python3.8/importlib/util.py", line 245, in __getattribute__
    self.__spec__.loader.exec_module(self)
  File "/usr/lib/python3.8/site-packages/mercurial/encoding.py", line 23, in <module>
    charencode = policy.importmod(r'charencode')
  File "/usr/lib/python3.8/site-packages/mercurial/policy.py", line 116, in importmod
    mod = _importfrom(pn, mn)
  File "/usr/lib/python3.8/site-packages/mercurial/policy.py", line 71, in _importfrom
    raise ImportError(r'cannot import name %s' % modname)
ImportError: cannot import name parsers