[QGIS-trac] [Quantum GIS] #3390: crash on start of QGIS due to conflict between Python versions

Quantum GIS qgis at qgis.org
Wed Jan 5 09:36:48 EST 2011


#3390: crash on start of QGIS due to conflict between Python versions
---------------------------------------------------------+------------------
   Reporter:  kapitonenko                                |              Owner:  borysiasty   
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Python plugins and bindings                |            Version:  1.6.0        
   Keywords:  crash python                               |   Platform_version:               
   Platform:  Windows                                    |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 When I start QGis I've got the next error:

 "An error occured during execution of following code:
 import os


 can't import traceback

 Python version:
 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

 QGIS version:
 1.6.0-Capiapo 'Capiapo', exported



 Python path:
 ['C:\\OSGeo4W\\apps\\gdal-17\\pymod', 'C:\\Python26', 'C:\\Python26\\Lib',
 'C:\\Python26\\libs', 'C:\\Python26\\Lib\\site-packages',
 'C:\\Python26\\Lib\\site-packages\\dbfpy',
 'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs',
 'C:\\OSGeo4W\\apps\\Python25\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib
 \\plat-win', 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk',
 'C:\\OSGeo4W\\apps\\qgis\\bin']"

 It seems like conflict between python version 2.6.2 installed on my
 computer and 2.5.2 included in QGis. When I renamed my directory
 C:\Python26 to C:\Python26_bak problem was disappeared.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3390>
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