Package Details: hgview 1.14.0-2

Git Clone URL: https://aur.archlinux.org/hgview.git (read-only, click to copy)
Package Base: hgview
Description: Mercurial interactive Qt based history viewer
Upstream URL: https://www.logilab.org/project/hgview
Licenses: GPL
Submitter: giniu
Maintainer: None
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2019-08-19 18:32 (UTC)
Last Updated: 2022-01-11 14:48 (UTC)

Latest Comments

carlosal1015 commented on 2022-02-16 14:36 (UTC)

Hi @shoryuken, looks like an issue https://foss.heptapod.net/mercurial/hgview/-/blob/branch/default/hgviewlib/qt5/widgets.py#L198 and https://foss.heptapod.net/mercurial/hgview/-/blob/branch/default/hgviewlib/application.py#L116 .

shoryuken commented on 2022-02-16 12:29 (UTC) (edited on 2022-02-16 12:29 (UTC) by shoryuken)

Crashes at startup for me:

/usr/bin/hgview:19: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
  from imp import load_package
Traceback (most recent call last):
  File "/usr/bin/hgview", line 38, in <module>
    main()
  File "/usr/lib/python3.10/site-packages/hgviewlib/application.py", line 234, in main
    sys.exit(start(repo, opts, args, parser.error))
  File "/usr/lib/python3.10/site-packages/hgviewlib/application.py", line 182, in start
    app = Application(repo, opts, args)
  File "/usr/lib/python3.10/site-packages/hgviewlib/qt5/application.py", line 63, in __init__
    super(HgViewQtApplication, self).__init__(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/hgviewlib/application.py", line 92, in __init__
    self.choose_viewer()
  File "/usr/lib/python3.10/site-packages/hgviewlib/application.py", line 116, in choose_viewer
    viewer = self.HgRepoViewer(self.repo)
  File "/usr/lib/python3.10/site-packages/hgviewlib/qt5/hgrepoviewer.py", line 53, in __init__
    self.load_ui()
  File "/usr/lib/python3.10/site-packages/hgviewlib/qt5/mixins.py", line 212, in load_ui
    self.setupUi(self)
  File "/usr/lib/python3.10/site-packages/hgviewlib/qt5/hgqv_ui.py", line 55, in setupUi
    self.textview_status = HgFileView(self.splitter)
  File "/usr/lib/python3.10/site-packages/hgviewlib/qt5/hgfileview.py", line 171, in __init__
    self.ann = Annotator(self.sci, self)
  File "/usr/lib/python3.10/site-packages/hgviewlib/qt5/widgets.py", line 198, in __init__
    self.SendScintilla(qsci.SCI_MARKERSETBACK, marker, color)
TypeError: arguments did not match any overloaded call:
  SendScintilla(self, int, wParam: object = 0, lParam: int = 0): argument 3 has unexpected type 'float'
  SendScintilla(self, int, int, PyQt5.sip.voidptr): argument 3 has unexpected type 'float'
  SendScintilla(self, int, int, bytes): argument 3 has unexpected type 'float'
  SendScintilla(self, int, bytes): argument 2 has unexpected type 'int'
  SendScintilla(self, int, bytes, bytes): argument 2 has unexpected type 'int'
  SendScintilla(self, int, int, int, bytes): argument 3 has unexpected type 'float'
  SendScintilla(self, int, int, Union[QColor, Qt.GlobalColor]): argument 3 has unexpected type 'float'
  SendScintilla(self, int, Union[QColor, Qt.GlobalColor]): argument 2 has unexpected type 'int'
  SendScintilla(self, int, int, QPainter, QRect, int, int): argument 3 has unexpected type 'float'
  SendScintilla(self, int, int, QPixmap): argument 3 has unexpected type 'float'
  SendScintilla(self, int, int, QImage): argument 3 has unexpected type 'float'

qark commented on 2022-01-11 05:58 (UTC)

hgview: /usr/lib/python3.10/site-packages/hgext3rd/init.py exists in filesystem (owned by mercurial)