[QGIS-trac] [Quantum GIS] #1415: Error while launching QGIS 1.0.0 preview II on Windows

Quantum GIS qgis at qgis.org
Wed Nov 19 11:10:23 EST 2008


#1415: Error while launching QGIS 1.0.0 preview II on Windows
-----------------------------------------------+----------------------------
   Reporter:  dthonon                          |              Owner:  nobody       
       Type:  bug                              |             Status:  new          
   Priority:  minor: annoyance or enhancement  |          Milestone:  Version 1.0.0
  Component:  Python                           |            Version:  HEAD         
   Keywords:                                   |   Platform_version:  Windows XP   
   Platform:  Windows                          |           Must_fix:  No           
Status_info:  0                                |  
-----------------------------------------------+----------------------------
 When launching QGIS 1.0.0 preview II on Windows XP, I get the message
 below. Apart from that, it works fine.

 {{{
 Une erreur est apparue lors de l'exécution du code suivant :
 def qgis_except_hook_msg(type, value, tb, msg):
   lst = traceback.format_exception(type, value, tb)
   if msg == None: msg = 'Une erreur est apparue lors de l'exécution du
 code python : ''
   txt = ''+msg+'

 '
   for s in lst:
     txt += s
   txt += '
 Version de Python :
 ' + sys.version + '

 '
   txt += 'Chemin vers Python :' + str(sys.path)
   txt = txt.replace('\n', '
 ')
   txt = txt.replace('  ', '  ')

   msg = QgsMessageOutput.createMessageOutput()
   msg.setTitle('Erreur Python')
   msg.setMessage(txt, QgsMessageOutput.MessageHtml)
   msg.showMessage()


   File "", line 3
     if msg == None: msg = 'Une erreur est apparue lors de l'exécution du
 code python : ''
                                                               ^
 SyntaxError: invalid syntax

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

 Chemin vers Python :
 ['C:/Program Files/QGIS-Dev/./python', 'D:/Documents and
 Settings/dthonon/.qgis//python/plugins', 'C:/Program Files/QGIS-
 Dev/./python/plugins', 'C:\\Program Files\\QGIS-Dev\\python25.zip',
 '.\\DLLs', '.\\lib', '.\\lib\\plat-win', '.\\lib\\lib-tk', 'C:\\Program
 Files\\QGIS-Dev']
 }}}

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