[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
Thu Feb 19 18:49:48 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 timlinux):

 Jefs patch above (though using LINK_DIRECTORIES instead of LINK_LIBRARIES)
 partially fixes the issue in that the core and gui libs are no longer
 double linked to two different versions of QGISCORE/QGISGUI. However on
 starting QGIS I still get an error

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

 Traceback (most recent call last):
   File "", line 1, in
 ImportError: No module named qgis.core

 Python version:
 2.5.2 (r252:60911, Oct  5 2008, 19:49:54)
 [GCC 4.3.2]

 Python path:
 ['/python', '/home/timlinux/.qgis//python/plugins', '/python/plugins',
 '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
 '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
 '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-
 packages', '/usr/lib/python2.5/site-packages/Numeric',
 '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-
 packages/gst-0.10', '/var/lib/python-support/python2.5',
 '/usr/lib/python2.5/site-packages/gtk-2.0', '/var/lib/python-
 support/python2.5/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.6-gtk2-
 unicode']
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1548#comment:5>
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