[QGIS-trac] Re: [Quantum GIS] #2618: Settings->Options -> assertion failing

Quantum GIS qgis at qgis.org
Mon Jun 21 10:22:58 EDT 2010


#2618: Settings->Options -> assertion failing
---------------------------------------------------------+------------------
   Reporter:  strk                                       |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.5.0
  Component:  Build/Install                              |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  SuSE                                       |           Must_fix:  No           
Status_info:  1                                          |  
---------------------------------------------------------+------------------

Comment(by strk):

 Cleaning up ~/extra/lib/qgis and ~/extra/lib/libqgis* didn't help.
 Still startup message and crash. Startup message:

 {{{
 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.6 (r26:66714, Feb  3 2009, 20:52:03)
 [GCC 4.3.2 [gcc-4_3-branch revision 141291]]

 Python path:
 ['/python', '/net/lafont/home/santisa/.qgis//python',
 '/net/lafont/home/santisa/.qgis//python/plugins', '/python/plugins',
 '/net/lafont/home/santisa/extra/lib/python', '/usr/lib/python26.zip',
 '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
 '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
 '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages/Numeric', '/usr/local/lib/python2.6
 /site-packages', '/usr/local/lib/python2.6/site-
 packages/wx-2.8-gtk2-unicode', '/usr/lib/python2.6/site-packages/gtk-2.0']
 }}}

 Note that the directory where 'make install' puts python stuff is NOT
 found in the Python path
 above, so qgis must be failing there (setting the correct path).
 The correct path is ~/extra/share/qgis/python, can you see is not there ?

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2618#comment:13>
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