[Qgis-developer] Sextante: SAga ERRORS

Salvatore Larosa lrssvtml at gmail.com
Fri Apr 13 12:18:14 EDT 2012


Il giorno ven, 13/04/2012 alle 17.14 +0200, Paolo Cavallini ha scritto:
> Hi all.
> 
> Running slope, aspect etc results in:
> 
> 
> 
> Could not load
> layer: /home/paolo/sextante/tempdata/1334329842.3813.tif
> Check the SEXTANTE log to look for errors in algorithm execution
> 
> 
Ciao Paolo,

It is an error in quote string, I get this in log:

Syntax error: Unterminated quoted string

So, if you change in SagaAlgorithm.py (line 238) file:

from:

commands.append("libio_gdal 1 -GRIDS \"" + filename2 + "\" -FORMAT 1
-TYPE 0 -FILE " + filename + "\"");

to:

commands.append("libio_gdal 1 -GRIDS \"" + filename2 + "\" -FORMAT 1
-TYPE 0 -FILE \"" + filename + "\"");

It should work, for me it is!

Cheers,

-SL



More information about the Qgis-developer mailing list