[QGIS-trac] Re: [Quantum GIS] #1548: Python gui.so links to wrong QGIS libs when more than one version of QGIS is installed

Quantum GIS qgis at qgis.org
Mon Feb 23 15:07:07 EST 2009


#1548: Python gui.so links to wrong QGIS libs when more than one version of QGIS
is installed
--------------------------------------------------------------+-------------
        Reporter:  timlinux                                   |         Owner:  wonder                  
            Type:  bug                                        |        Status:  new                     
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.1.0           
       Component:  Build/Install                              |       Version:  HEAD                    
      Resolution:                                             |      Keywords:  python libraries version
Platform_version:  Ubuntu Linux 8.10 x86_64                   |      Platform:  Linux                   
        Must_fix:  Yes                                        |   Status_info:  0                       
--------------------------------------------------------------+-------------
Comment (by wonder):

 This will be caused by C++ plugins for older version of QGIS. I still
 don't know why exactly this happens, but if you leave in (prefix)/lib/qgis
 some plugins for older version of QGIS (i.e. they link to some other
 version of qgis_core and qgis_gui libs), QgsApplication returns empty
 strings instead of returning correct paths. You can see from you error
 message that the python path is set to directories like /python or
 /python/plugins which simply don't include the prefix.

 You can work this around by checking the plugins in the install prefix and
 delete those for the older version (e.g. gridmaker?).

 Martin

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1548#comment:6>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list