[Qgis-developer] Cannot load python after compiling master

Etienne Trimaille etienne.trimaille at gmail.com
Thu Dec 4 03:11:58 PST 2014


Hi,
I've nearly the same problem on master since this week-end (I believe) :

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


Traceback (most recent call last):
  File "", line 1, in
  File "/home/etienne/apps/share/qgis/python/qgis/__init__.py", line 36, in
    from qgis.core import QgsFeature, QgsGeometry
  File "/home/etienne/apps/share/qgis/python/qgis/core/__init__.py", line 2, in
    from qgis._core import *
ImportError: /home/etienne/apps/share/qgis/python/qgis/_core.so:
undefined symbol: _ZTV27QgsCoordinateTransformCache



2014-12-03 20:29 GMT+01:00 Mikhail Tchernychev <mikhailtchernychev at gmail.com
>:

>  Hi,
>
> I downloaded and compiled latest git snapshot.  However when I try to run
> qgis
> I am getting:
>
> ouldn't load PyQGIS.
> Python support will be disabled.
>
>
> Traceback (most recent call last):
>   File "", line 1, in
>   File "/home/misha/opt/qgis-dev/share/qgis/python/qgis/__init__.py", line 36, in
>     from qgis.core import QgsFeature, QgsGeometry
>   File "/home/misha/opt/qgis-dev/share/qgis/python/qgis/core/__init__.py", line 2, in
>     from qgis._core import *
> ImportError: /home/misha/opt/qgis-dev/share/qgis/python/qgis/_core.so: undefined symbol: _ZTI18QgsHeatmapRenderer
>
>
> Python version:
> 2.7.6 (default, Mar 22 2014, 23:03:14)
> [GCC 4.8.2]
>
> QGIS version:
> 2.7.0-Master 'Master', exported
>
> Python path:
> ['/home/misha/opt/qgis-dev/share/qgis/python',
> u'/home/misha/.qgis2/python', u'/home/misha/.qgis2/python/plugins',
> '/home/misha/opt/qgis-dev/share/qgis/python/plugins', '/usr/lib/python2.7',
> '/usr/lib/python2.7/plat-i386-linux-gnu', '/usr/lib/python2.7/lib-tk',
> '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
> '/usr/local/lib/python2.7/dist-packages',
> '/usr/lib/python2.7/dist-packages',
> '/usr/lib/python2.7/dist-packages/PILcompat',
> '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7',
> '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
> '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']
>
> I suppose this should be very simple. Is some package missing?
>
> I have qgis installed from ubuntugis-nightly but it stopped working on Nov
> 20, and no new version
> yet available.
>
> This is for Ubuntu trusty 14.04
>
> Thank you
>
> Mikhail
>
>
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20141204/5730b283/attachment.html>


More information about the Qgis-developer mailing list