Bug 1775648

Summary: missing dependency PySide
Product: [Fedora] Fedora Reporter: Noel Grandin <noelgrandin>
Component: git-colaAssignee: Oliver Ilian <oliver>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 31CC: davvid, fedora, independence, moceap, oliver, ry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: git-cola-3.4-4.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-15 20:32:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Noel Grandin 2019-11-22 14:02:11 UTC
on a clean Fedora31 install, installing git-cola, and then trying to run it, gives:

[noel@librebuild2 libo]$ git-cola
Traceback (most recent call last):
  File "/usr/share/git-cola/lib/qtpy/__init__.py", line 172, in <module>
    from PySide import __version__ as PYSIDE_VERSION  # analysis:ignore
ModuleNotFoundError: No module named 'PySide'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/git-cola", line 53, in <module>
    from cola.main import main
  File "/usr/share/git-cola/lib/cola/main.py", line 6, in <module>
    from . import app
  File "/usr/share/git-cola/lib/cola/app.py", line 15, in <module>
    from qtpy import QtCore
  File "/usr/share/git-cola/lib/qtpy/__init__.py", line 178, in <module>
    raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

Comment 1 Noel Grandin 2019-11-22 14:03:42 UTC
Doing

sudo dnf install python3-pyside

seems to fix it

Comment 2 independence 2020-01-31 08:19:28 UTC
I had the same issue, manually installing python3-pyside solved the problem for me too

Comment 3 David Aguilar 2020-01-31 08:59:02 UTC
python3-pyqt5 (or whatever redhat calls it) is preferred over pyside.  It probably works with both, but I only use PyQt5 while developing it.

Comment 4 David Aguilar 2020-02-16 06:50:15 UTC
https://src.fedoraproject.org/rpms/git-cola/pull-request/2 sorry I don't have commit access.

Comment 5 Fedora Update System 2020-04-06 17:16:58 UTC
FEDORA-2020-ad7d7ce3a3 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad7d7ce3a3

Comment 6 Fedora Update System 2020-04-07 03:10:15 UTC
FEDORA-2020-ad7d7ce3a3 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ad7d7ce3a3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad7d7ce3a3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-04-15 20:32:58 UTC
FEDORA-2020-ad7d7ce3a3 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.