Ticket #3435 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

GDAL - warp fails

Reported by: jeq Owned by: brushtyler
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: GDALTools Version: 1.6.0
Keywords: warp Cc:
Platform Version: win7 64 Platform: Windows
Must Fix for Release: No Awaiting user input: no

Description

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

Change History

Changed 2 years ago by pcav

  • owner changed from nobody to brushtyler

Changed 2 years ago by nelson

This may be related to ticket 3476; try setting the GDAL binary path.

Changed 2 years ago by pcav

  • component changed from Build/Install to Python plugins and bindings

Please try the above mentioned operation and report back.

Changed 2 years ago by pcav

  • component changed from Python plugins and bindings to GDALTools

Changed 2 years ago by brushtyler

  • status changed from new to closed
  • resolution set to invalid

This issue was pointed out in mailing list and fixed some time ago. The latest GdalTools? versions work fine.

Note: See TracTickets for help on using tickets.