[Qgis-developer] Sextante: SAga ERRORS

Pedro Venâncio pedrongvenancio at yahoo.com
Mon Apr 16 19:29:37 EDT 2012


Hi Salvatore,


I have done this, but anyway:

SAGA execution console output
_____________________________________________
  #####   ##   #####    ##
 ###     ###  ##       ###
  ###   # ## ##  #### # ##
   ### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

library path:/usr/lib/saga
library name:libio_gdal
module name :GDAL: Import Raster
author      :(c) 2007 by O.Conrad (A.Ringeler)
_____________________________________________
go...

Parameters

Grids: No objects
Files: "/home/pedro/SIG/ASTER_GDEM/mdt_aster_pt_D73_GeoTIFF/mdt_aster_pt_D73_GeoTIFF.tif"

loading: /home/pedro/SIG/ASTER_GDEM/mdt_aster_pt_D73_GeoTIFF/mdt_aster_pt_D73_GeoTIFF.tif

Driver: /home/pedro/SIG/ASTER_GDEM/mdt_aster_pt_D73_GeoTIFF/mdt_aster_pt_D73_GeoTIFF.tif/

Cells: x 9376, y 19217
Bands: 1
Transformation x' = -119205.174281 + x * 30.000000 + y * 0.000000
Transformation y' = 276097.263904 + x * 0.000000 + y * -30.000000
   
/   
Save grid: /home/pedro/sextante/tempdata/1334618168.9815.sgrd...

ready

okay
Segmentation fault

error: Grid file could not be opened.

error: input file [/home/pedro/sextante/tempdata/1334618168.989.tif.sgrd]

error: empty input list [GRIDS]

error: executing module [GDAL: Export Raster]
_____________________________________________
  #####   ##   #####    ##
 ###     ###  ##       ###
  ###   # ## ##  #### # ##
   ### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

library path:/usr/lib/saga
library name:libio_gdal
module name :GDAL: Export Raster
author      :O.Conrad (c) 2007
_____________________________________________
go...

Load grid: /home/pedro/sextante/tempdata/1334618168.989.tif.sgrd...

failed

error: Grid file could not be opened.

error: input file [/home/pedro/sextante/tempdata/1334618168.9810.tif.sgrd]

error: empty input list [GRIDS]

error: executing module [GDAL: Export Raster]
_____________________________________________
  #####   ##   #####    ##
 ###     ###  ##       ###
  ###   # ## ##  #### # ##
   ### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

library path:/usr/lib/saga
library name:libio_gdal
module name :GDAL: Export Raster
author      :O.Conrad (c) 2007
_____________________________________________
go...

Load grid: /home/pedro/sextante/tempdata/1334618168.9810.tif.sgrd...

failed

error: Grid file could not be opened.

error: input file [/home/pedro/sextante/tempdata/1334618168.9811.tif.sgrd]

error: empty input list [GRIDS]

error: executing module [GDAL: Export Raster]
_____________________________________________
  #####   ##   #####    ##
 ###     ###  ##       ###
  ###   # ## ##  #### # ##
   ### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

library path:/usr/lib/saga
library name:libio_gdal
module name :GDAL: Export Raster
author      :O.Conrad (c) 2007
_____________________________________________
go...

Load grid: /home/pedro/sextante/tempdata/1334618168.9811.tif.sgrd...

failed

error: Grid file could not be opened.

error: input file [/home/pedro/sextante/tempdata/1334618168.9812.tif.sgrd]

error: empty input list [GRIDS]

error: executing module [GDAL: Export Raster]
_____________________________________________
  #####   ##   #####    ##
 ###     ###  ##       ###
  ###   # ## ##  #### # ##
   ### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

library path:/usr/lib/saga
library name:libio_gdal
module name :GDAL: Export Raster
author      :O.Conrad (c) 2007
_____________________________________________
go...

Load grid: /home/pedro/sextante/tempdata/1334618168.9812.tif.sgrd...

failed

error: Grid file could not be opened.

error: input file [/home/pedro/sextante/tempdata/1334618168.9813.tif.sgrd]

error: empty input list [GRIDS]

error: executing module [GDAL: Export Raster]
_____________________________________________
  #####   ##   #####    ##
 ###     ###  ##       ###
  ###   # ## ##  #### # ##
   ### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

library path:/usr/lib/saga
library name:libio_gdal
module name :GDAL: Export Raster
author      :O.Conrad (c) 2007
_____________________________________________
go...

Load grid: /home/pedro/sextante/tempdata/1334618168.9813.tif.sgrd...

failed



Thanks!

Pedro

PS: I have a clean installation with SAGA 2.0.8 now. My old problem should be local, because it works on other machines! Now I'm on Debian Wheezy.








----- Original Message -----
From: Salvatore Larosa

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

_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list