Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22369 - [qgis] starts without python support

Attached to Project: Community Packages
Opened by Huub Munstege (HuMu) - Sunday, 09 January 2011, 19:21 GMT
Last edited by Thomas Dziedzic (tomd123) - Monday, 10 January 2011, 13:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
when starting qgis (eighter from console or from a launch menu) it gives the following message in a small dialogue box:

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


Traceback (most recent call last):
File "", line 1, in
RuntimeError: the PyQt4.QtCore module is version -1 but the qgis.core module requires version 0


Python version:
2.7.1 (r271:86832, Jan 6 2011, 11:45:30)
[GCC 4.5.2]

QGIS version:
1.6.0-Copiapo 'Copiapo', exported

Python path:
['/usr/share/qgis/python', '/home/huub/.qgis/python', '/home/huub/.qgis/python/plugins', '/usr/share/qgis/python/plugins', '/opt/grass-6.4.0/etc/python', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gst-0.10', '/usr/lib/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode']"

After clicking ok qgis start with obviousely much less options.

Additional info:
* package version(s)
Name : qgis
Version : 1.6.0-1
URL : http://qgis.org/
Licenses : GPL
Groups : None
Provides : None
Depends On : jasper curl qt gsl grass python2 pyqt giflib xerces-c cfitsio qwt
Optional Deps : postgis: postgis support and SPIT plugin
fcgi: qgis mapserver
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 55764.00 K
Packager : Thomas Dziedzic
Architecture : x86_64
Build Date : Sun 05 Dec 2010 10:34:39 AM GMT
Install Date : Sun 05 Dec 2010 09:21:26 PM GMT
Install Reason : Explicitly installed
Install Script : No
Description : A Geographic Information System (GIS) that supports vector, raster & database formats

* config and/or log files etc.
see above

Steps to reproduce:
just start Qgis, from console, menu, or from within grass

This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Monday, 10 January 2011, 13:52 GMT
Reason for closing:  Fixed
Comment by Thomas Dziedzic (tomd123) - Sunday, 09 January 2011, 20:23 GMT
Hi, I spoke to you on irc, but to reiterate, I have already rebuilt it and got it to compile, so I feel like this issue is fixed since most likely pyqt got bumped without this getting rebuilt.
Now there is another bug in mysql which needs to get fixed.

Whenever I start qgis I get:
qgis: /usr/lib/libmysqlclient.so.16: no version information available (required by /usr/lib/libgdal.so)
qgis: relocation error: /usr/lib/libgdal.so: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference

Rebuilding qgis and gdal doesn't help, going to work on this now.
Comment by Thomas Dziedzic (tomd123) - Sunday, 09 January 2011, 20:31 GMT
Seems the issue really is http://bugs.mysql.com/bug.php?id=59106 so this is a mysql problem, once it gets fixed, I will be able to test qgis.

Possible related links:
http://bugs.mysql.com/bug.php?id=59078
Comment by Huub Munstege (HuMu) - Monday, 10 January 2011, 07:47 GMT
Hi Thomas, python support is back again. Upgraded to the latest packeage (1.6.0-2) that came this morning in community.
I don't reproduce here your mysql error. Gdal seems to work as well.
Will seperately report you on my Grass adventures...
Comment by Huub Munstege (HuMu) - Monday, 10 January 2011, 08:52 GMT
Comment by Huub Munstege (HuMu) - Monday, 10 January 2011, 09:26 GMT
Comment by Thomas Dziedzic (tomd123) - Monday, 10 January 2011, 13:52 GMT
You probably don't have mysql installed, so you aren't getting the error. So I'm encountering a different, bug. Closing this one.

Loading...