[Qgis-user] QGIS error & F29

Max Pyziur pyz at brama.com
Mon Mar 11 15:15:46 PDT 2019



Greetings,

My use of QGis Desktop is occassional; when I do use it, I construct layers 
using PostGIS & PostgreSQL.

The key component that facilitates this in QGis is a Python plugin called DB 
Manager.

When I started Qgis today, there was an error message that appeared something 
like this:

Couldn't load PyQGIS. Python support will be disabled.


Traceback (most recent call last):
   File "", line 1, in
   File "/usr/lib64/python2.7/site-packages/qgis/gui/__init__.py", line 27, in
     from qgis._gui import *
RuntimeError: the PyQt4.QtCore module failed to register with the sip module


Python version:
2.7.15 (default, Oct 15 2018, 15:26:09)
[GCC 8.2.1 20180801 (Red Hat 8.2.1-2)]

QGIS version:
2.18.20 'Las Palmas', exported

After clicking away the error away, the existing layers that I had built using 
PostGIS/PostgreSQL were still available in my key critical project.

However, when I went to look for DB Manager, it wasn't available.

After some searching, I upgraded to QGIS 3.6 from a non-Fedora repository (the 
guidance is here: 
https://stackoverflow.com/questions/53716778/the-pyqt4-qtcore-module-failed-to-register-with-the-sip-module)

and now I have access to the DB Manager functionality.

Is the Fedora/QGis community aware of this issue?

Thanks!

Max Pyziur
pyz at brama.com


More information about the Qgis-user mailing list