Opened 11 months ago

Last modified 11 months ago

#64383 assigned defect

git-cola @3.1 fails to launch

Reported by: odysseus9672 (Sean Lake) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: git-cola

Description

When I try to launch git-cola in the command line I get the following error

Seans-Work-Macbook-Pro:FASTView sean$ git-cola
Traceback (most recent call last):
  File "/opt/local/bin/git-cola", line 55, in <module>
    from cola.main import main
  File "/opt/local/share/git-cola/lib/cola/main.py", line 7, in <module>
    from . import app
  File "/opt/local/share/git-cola/lib/cola/app.py", line 18, in <module>
    from qtpy import QtCore
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/qtpy/__init__.py", line 106, in <module>
    assert API in (PYQT5_API + PYQT6_API + PYSIDE2_API + PYSIDE6_API)
AssertionError

This looks like it might actually be a bug in py36-pyqt4 @4.12.1_3.

git-cola +qt5 is not affected by this error.

Change History (2)

comment:1 Changed 11 months ago by jmroot (Joshua Root)

Owner: set to raimue
Status: newassigned

comment:2 Changed 11 months ago by reneeotten (Renee Otten)

support for Qt4 was removed in the latest py-qtpy release (v2.0) - I guess it's time to remove the qt4 variant from the git-cola port.

[edit: I see the `git-cola` port could be updated, but also that it vendors the `qtpy` package. So to keep full compatibility with what upstream supports, I guess the port could use the internal `qtpy` version instead of using MacPort's own port. I'll leave that to the maintainer to decide]

Last edited 11 months ago by reneeotten (Renee Otten) (previous) (diff)
Note: See TracTickets for help on using tickets.