[Qgis-developer] unpack error in Sextante Raster Layer Statistics

Pedro Venâncio pedrongvenancio at yahoo.com
Mon Apr 15 13:14:39 PDT 2013


Hi Anita,

Not confirmed here on Linux, with QGIS master just compiled.

Regards,
Pedro





----- Original Message -----
From: Anita Graser 

Hi, I've tried different raster layers, but in all cases Sextante raster  
layer statistics fails with:

Traceback (most recent call last):
   File  
"C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\GeoAlgorithm.py",  
line 147, in execute
     self.processAlgorithm(progress)
   File  
"C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\algs\RasterLayerStatistics.py",  
line 64, in processAlgorithm
     for v in values:
   File "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\tools\raster.py",  
line 38, in scanraster
     values = struct.unpack('f' * band.XSize, scanline)
error: unpack requires a string argument of length 7016

Should I file a ticket?

Anita
_______________________________________________
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