[Qgis-user] Error running QGis on Ubuntu 14.04

Stefan Sylla stefansylla at gmx.de
Wed May 7 03:17:53 PDT 2014


Hi Louis,

not sure, but maybe related to this post 
http://osgeo-org.1560.x6.nabble.com/Ubuntu-14-04-and-qgis-td5138591.html ?

Are you sure you have python-qgis and python-qgis-common installed?

Stefan

On 05/07/2014 04:36 PM, Luís de Sousa [via OSGeo.org] wrote:
> I have installed QGis on Ubuntu 14.04 from the QGis stable repository 
> [1]; it went fine with no errors reported. But when I launch QGis I 
> get a huge window with the following message:
>
>     Couldn't load PyQGIS.
>     Python support will be disabled.
>
>     Traceback (most recent call last):
>     File "", line 1, in
>     File "/usr/lib/python2.7/dist-packages/qgis/init.py", line 35, in
>     from qgis.core import QgsFeature, QgsGeometry
>     ImportError: /usr/lib/python2.7/dist-packages/qgis/core.so: 
> undefined symbol: _ZN16QgsComposerShape12setSceneRectERK6QRectF
>
>     Python version:
>     2.7.6 (default, Mar 22 2014, 23:03:41) [GCC 4.8.2]
>
>     QGIS version:
>     2.2.0-Valmiera 'Valmiera', exported
>
>     Python path:
>     ['/usr/share/qgis/python', u'/home/desousa/.qgis2/python', 
> u'/home/desousa/.qgis2/python/plugins', 
> '/usr/share/qgis/python/plugins', 
> '/usr/local/lib/python2.7/dist-packages/MapScript-6.0.1-py2.7-linux-x86_64.egg', 
> '/usr/local/lib/python2.7/dist-packages/virtualenv-1.8.4-py2.7.egg', 
> '/usr/local/lib/python2.7/dist-packages/pip-1.2.1-py2.7.egg', 
> '/usr/local/lib/python2.7/dist-packages/pytz-2012j-py2.7.egg', 
> '/usr/local/lib/python2.7/dist-packages/python_dateutil-2.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/six-1.3.0-py2.7.egg', 
> '/usr/lib/grass64/etc/python/grass/script', '/usr/lib/grass64/etc', 
> '/usr/lib/grass64/etc/python', '/usr/lib/grass64/lib', 
> '/usr/lib/grass64/bin', '/usr/lib/grass64/scripts', 
> '/usr/lib/python2.6', '/home/desousa/Eclipse/Workspace.Tudor/OWSLib', 
> '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-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/gst-0.10', 
> '/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']
>
> The packages I have installed:
>
> $ dpkg -l | grep qgis
> ii  libqgis2.2.0 2.2.0-1~precise1                                    
> amd64 QGIS - shared libraries
> ii  python-qgis 2.2.0-3+trusty1                                     
> amd64 Python bindings to QGIS
> ii  python-qgis-common 
> 2.2.0-3+trusty1                                     all Python 
> bindings to QGIS - architecture-independent files
> ii  qgis 2.2.0-3+trusty1                                     amd64 
> Geographic Information System (GIS)
> ii  qgis-common 2.2.0-3+trusty1                                     
> all QGIS - architecture-independent data
> ii  qgis-plugin-globe 
> 2.2.0-3+trusty1                                     amd64 OSG globe 
> plugin for QGIS
> ii  qgis-plugin-globe-common 
> 2.2.0-3+trusty1                                     all OSG GLOBE 
> plugin for QGIS - architecture-independent data
> ii  qgis-plugin-grass 
> 2.2.0-3+trusty1                                     amd64 GRASS plugin 
> for QGIS
> ii  qgis-plugin-grass-common 
> 2.2.0-3+trusty1                                     all GRASS plugin 
> for QGIS - architecture-independent data
> ii  qgis-providers 2.2.0-3+trusty1                                     
> amd64 collection of data providers to QGIS
> ii  qgis-providers-common 
> 2.2.0-3+trusty1                                     all collection of 
> data providers to QGIS - architecture-independent files
>
> Thank you.
>
> [1] http://qgis.org/en/site/forusers/alldownloads.html#ubuntu
>
> _______________________________________________
> Qgis-user mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=5138956&i=0>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://osgeo-org.1560.x6.nabble.com/Error-running-QGis-on-Ubuntu-14-04-tp5138956.html 
>
> To unsubscribe from Quantum GIS - User, click here 
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4125267&code=c3RlZmFuc3lsbGFAZ214LmRlfDQxMjUyNjd8LTExNTE4ODczMTc=>.
> NAML 
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 
>





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-running-QGis-on-Ubuntu-14-04-tp5138956p5138963.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140507/ec0c3eb5/attachment.html>


More information about the Qgis-user mailing list