Opened 13 years ago

Closed 13 years ago

#3435 closed bug (invalid)

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:
Must Fix for Release: No Platform: Windows
Platform Version: win7 64 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 (5)

comment:1 by pcav, 13 years ago

Owner: changed from nobody to brushtyler

comment:2 by nelson, 13 years ago

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

comment:3 by pcav, 13 years ago

Component: Build/InstallPython plugins and bindings

Please try the above mentioned operation and report back.

comment:4 by pcav, 13 years ago

Component: Python plugins and bindingsGDALTools

comment:5 by brushtyler, 13 years ago

Resolution: invalid
Status: newclosed

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.