[Gfoss] QGIS: errore all'avvio
Salvatore Larosa
lrssvtml a gmail.com
Gio 23 Ott 2014 09:30:23 CEST
2014-10-23 8:55 GMT+02:00 giulianc51 <giulianc51 a gmail.com>:
> Il giorno Thu, 23 Oct 2014 00:10:35 +0200
> Salvatore Larosa <lrssvtml a gmail.com> ha scritto:
>
>> Ciao Giuliano,
>
> ciao Salvatore,
>
>
>> 2014-10-22 23:33 GMT+02:00 giulianc51 <giulianc51 a gmail.com>:
>> > .....
>> >
>> > questa sera ho aggiornato alla 2.5.0+git20141022: crasha ....
>>
>> lancia il seguente comando dalla shell e incolla il risultato:
>>
>> dpkg -l | grep qgis
>
> ecco sotto;
>
> intanto ho eliminato libqgis2.3.0; il sistema non si è lamentato ma non
> ho risolto; adesso vedo da qui che c'è altra roba 2.3.0: è da pulire?
Come immaginavo :), le versioni delle librerie devono coincidere, tu
hai della 2.5.0 sia quelle del 20140924 che quelle del 20141022,
conviene fare un po di pulizia e dopo riaggiornare la 2.5.0
Saluti,
-SL
>
> se può aiutare riscontro anche questo errore con un programmino
> standalone che usa le librerie qgis:
>
> Traceback (most recent call last):
> File "0_Configurazione/qGis/plugins-dev/Gps/useOfQgis.py", line 10,
> in <module> from qgis.core import *
> File "/usr/lib/python2.7/dist-packages/qgis/__init__.py", line 36, in
> <module> from qgis.core import QgsFeature, QgsGeometry
> File "/usr/lib/python2.7/dist-packages/qgis/core/__init__.py", line
> 1, in <module> from qgis._core import *
> ImportError: /usr/lib/python2.7/dist-packages/qgis/_core.so: undefined
> symbol:
> _ZNK16QgsSymbolLayerV213dxfBrushColorERK24QgsSymbolV2RenderContext
>
>
> infine, se serve, posso anche purgare tutto qgis e reinstallarlo;
>
>
> grazie, ciao,
> giuliano
>
> ---
>
> giuliano a acerCF:~$ dpkg -l | grep qgis
> ii libqgis-analysis2.3.0
> 2.3.0+git20140429+dd739ef~wheezy1 i386 QGIS - shared analysis
> library ii libqgis-analysis2.5.0
> 2.5.0+git20140924+e194423~wheezy1 i386 QGIS - shared analysis
> library ii libqgis-core2.3.0
> 2.3.0+git20140429+dd739ef~wheezy1 i386 QGIS - shared core
> library ii libqgis-core2.5.0
> 2.5.0+git20140924+e194423~wheezy1 i386 QGIS - shared core
> library ii libqgis-customwidgets2.5.0
> 2.5.0+git20141022+f2b7c0f~wheezy1 i386 QGIS custom widgets for
> Qt Designer ii libqgis-gui2.3.0
> 2.3.0+git20140429+dd739ef~wheezy1 i386 QGIS - shared gui
> library ii libqgis-gui2.5.0
> 2.5.0+git20140924+e194423~wheezy1 i386 QGIS - shared gui
> library ii libqgis-networkanalysis2.3.0
> 2.3.0+git20140429+dd739ef~wheezy1 i386 QGIS - shared network
> analysis library ii libqgis-networkanalysis2.5.0
> 2.5.0+git20140924+e194423~wheezy1 i386 QGIS - shared network
> analysis library ii libqgisgrass2.3.0
> 2.3.0+git20140429+dd739ef~wheezy1 i386 QGIS - shared grass
> library ii libqgisgrass2.5.0
> 2.5.0+git20140924+e194423~wheezy1 i386 QGIS - shared grass
> library ii libqgispython2.3.0
> 2.3.0+git20140429+dd739ef~wheezy1 i386 QGIS - shared python
> library ii libqgispython2.5.0
> 2.5.0+git20140924+e194423~wheezy1 i386 QGIS - shared Python
> library ii python-qgis
> 2.5.0+git20141022+f2b7c0f~wheezy1 i386 Python bindings to QGIS
> ii python-qgis-common
> 2.5.0+git20141022+f2b7c0f~wheezy1 all Python bindings to QGIS
> - architecture-independent files ii
> qgis 2.5.0+git20141022+f2b7c0f~wheezy1
> i386 Geographic Information System (GIS) ii
> qgis-common 2.5.0+git20141022+f2b7c0f~wheezy1
> all QGIS - architecture-independent data ii
> qgis-plugin-globe 2.5.0+git20141022+f2b7c0f~wheezy1
> i386 OSG globe plugin for QGIS ii
> qgis-plugin-globe-common 2.5.0+git20141022+f2b7c0f~wheezy1
> all OSG globe plugin for QGIS - architecture-independent data
> ii qgis-plugin-grass
> 2.5.0+git20141022+f2b7c0f~wheezy1 i386 GRASS plugin for QGIS
> ii qgis-plugin-grass-common
> 2.5.0+git20141022+f2b7c0f~wheezy1 all GRASS plugin for QGIS -
> architecture-independent data ii qgis-providers
> 2.5.0+git20141022+f2b7c0f~wheezy1 i386 collection of data
> providers to QGIS ii qgis-providers-common
> 2.5.0+git20141022+f2b7c0f~wheezy1 all collection of data
> providers to QGIS - architecture-independent files
>
>
>
>
--
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode
Maggiori informazioni sulla lista
Gfoss