[Qgis-user] QGIS error & F29
Richard Duivenvoorde
rdmailings at duif.net
Mon Mar 11 23:08:19 PDT 2019
Hi Max,
The error means that the python-cpp bridge is not working because wrong
paths to (python) libs.
Are you maybe in a Python Virtual Environment at that moment, which in
that case screws up your python path?
Or else: did you miss some QGIS-Python package (if installed via package
manager)?
Regards,
Richard Duivenvoorde
On 11/03/2019 23.15, Max Pyziur wrote:
>
>
> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list