Issue with kallithea 0.6.2 in combination with mercurial hook

Benny Bürger buerger at simba.de
Mon Nov 30 16:30:57 UTC 2020


Hi,

I use the pretxnchangegroup.check with a bash script.
The script executes but the error code is ignored because of the following error:

Gegenseite: Traceback (most recent call last):
Gegenseite:   File "/usr/local/bin/hg", line 43, in <module>
Gegenseite:     dispatch.run()
Gegenseite:   File "/usr/lib/python3.8/importlib/util.py", line 245, in __getattribute__
Gegenseite:     self.__spec__.loader.exec_module(self)
Gegenseite:   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
Gegenseite:   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
Gegenseite:   File "/usr/local/lib/python3.8/dist-packages/mercurial/dispatch.py", line 22, in <module>
Gegenseite:     from .i18n import _
Gegenseite:   File "/usr/lib/python3.8/importlib/util.py", line 245, in __getattribute__
Gegenseite:     self.__spec__.loader.exec_module(self)
Gegenseite:   File "/usr/local/lib/python3.8/dist-packages/mercurial/i18n.py", line 15, in <module>
Gegenseite:     from .pycompat import getattr
Gegenseite: ImportError: cannot import name 'getattr' from 'mercurial.pycompat' (/usr/local/lib/python3.8/dist-packages/mercurial/pycompat.py)


Environment: Linux repository 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
                         I used pip to install Kallithea and all dependencies...
If you need any additional information feel free to ask.

Best regards,
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20201130/a9caeb64/attachment.html>


More information about the kallithea-general mailing list