[QGIS-trac] [Quantum GIS] #3435: GDAL - warp fails

Quantum GIS qgis at qgis.org
Mon Jan 24 06:10:23 EST 2011


#3435: GDAL - warp fails
---------------------------------------------------------+------------------
   Reporter:  jeq                                        |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Build/Install                              |            Version:  1.6.0        
   Keywords:  warp                                       |   Platform_version:  win7 64      
   Platform:  Windows                                    |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Warp of raster geotiff fails...

 An error has occured while executing Python code:

 Traceback (most recent call last):
   File
 "C:\PROGRA~2\QUANTU~1\apps\qgis\python\plugins\GdalTools\tools\doWarp.py",
 line 108, in fillInputFile
     self.refreshSourceSRS()
   File
 "C:\PROGRA~2\QUANTU~1\apps\qgis\python\plugins\GdalTools\tools\doWarp.py",
 line 154, in refreshSourceSRS
     crs = Utils.getRasterSRS( self, self.getInputFileName() )
   File
 "C:\PROGRA~2\QUANTU~1\apps\qgis\python\plugins\GdalTools\tools\GdalTools_utils.py",
 line 182, in getRasterSRS
     srs = info[ info.count() - 1 ]
 UnboundLocalError: local variable 'info' referenced before assignment

 Python version:
 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]


 QGIS version:
 1.6.0-Capiapo Capiapo, exported

 Python path: ['C:/PROGRA~2/QUANTU~1/apps/qgis/./python',
 'C:/Users/Jamey/.qgis/python', 'C:/Users/Jamey/.qgis/python/plugins',
 'C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\gdal-17\\pymod', 'C:\\Program Files
 (x86)\\ArcGIS\\bin', 'C:\\windows\\system32\\python25.zip',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\DLLs',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\bin',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-
 unicode', 'C:\\Users\\Jamey\\.qgis\\python\\plugins\\imgboundary\\logic',
 'C:\\Users\\Jamey\\.qgis\\python\\plugins\\imgboundary\\gui',
 'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools',
 'C:/Users/Jamey/Documents/Kyrgyzstan/Maps/Maps']

 --------------
 running windows 7, QGIS 1.6

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