Description of problem: Can install python3-qgis, but QGIS fails on runtime startup with the following error message: ---- Couldn't load PyQGIS. Python support will be disabled. Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python3.7/site-packages/qgis/gui/__init__.py", line 27, in from qgis._gui import * RuntimeError: qgis._gui cannot import type '����' from PyQt5.QtCore Python version: 3.7.3 (default, May 11 2019, 00:38:04) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] QGIS version: 3.4.6-Madeira 'Madeira', exported Python path: ['/usr/share/qgis/python', '/home/user/.local/share/QGIS/QGIS3/profiles/default/python', '/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python37.zip', '/usr/lib64/python3.7', '/usr/lib64/python3.7/lib-dynload', '/usr/lib64/python3.7/site-packages', '/usr/lib/python3.7/site-packages'] ---- Version-Release number of selected component (if applicable): qgis-3.4.6-4.fc30 python3-qgis-3.4.6-4.fc30.x86_64 How reproducible: Always (but see Workaround) Steps to Reproduce: 1. (as root) dnf install python3-qgis 2. (as user) qgis Actual results: QGIS shows an error message window Expected results: QGIS shouldn't show python errors on startup Possible Workaround (as root): dnf install 'dnf-command(builddep)' dnf builddep qgis This means that some required dependencies are still missing in the python3-qgis spec.
side note about bug 1714490: python2-sip is pulled in as a weak build-time dependency (when applying workaround), I'm not sure if this is intended.
https://bugzilla.redhat.com/show_bug.cgi?id=1712275#c21 "Looks like it's python3-qscintilla-qt5 that is missing."
FEDORA-2019-3fc1c69d70 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3fc1c69d70
That seems to work (I don't have a FAS account, thus can't give positive karma). (tested via "cd $(mktemp -d) && koji download-build --arch=x86_64 qgis-3.4.6-5.fc30 && dnf update *" )
qgis-3.4.6-5.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3fc1c69d70
*** Bug 1723542 has been marked as a duplicate of this bug. ***
qgis-3.4.6-5.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.