Bug report #10403

Processing "raster layer statistics" python error

Added by Giovanni Manghi over 5 years ago. Updated almost 5 years ago.

Status:Closed
Priority:Normal
Assignee:Giovanni Manghi
Category:Processing/QGIS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:18819

Description

This in QGIS master

unpack requires a string argument of length 11104 See log for more details

and in the log

Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "/home/giovanni/.qgis2/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "/home/giovanni/.qgis2/python/plugins/processing/algs/qgis/RasterLayerStatistics.py", line 66, in processAlgorithm
for v in values:
File "/home/giovanni/.qgis2/python/plugins/processing/tools/raster.py", line 42, in scanraster
values = struct.unpack('f' * band.XSize, scanline)
error: unpack requires a string argument of length 11104


Related issues

Related to QGIS Application - Bug report #12094: Processing: Raster layer histogram from QGIS algorithms t... Closed 2015-01-29

History

#1 Updated by Jürgen Fischer over 5 years ago

  • Target version changed from Version 2.4 to Future Release - High Priority

#2 Updated by Alexander Bruy almost 5 years ago

  • Category changed from 94 to Processing/QGIS

#3 Updated by Giovanni Manghi almost 5 years ago

  • Assignee changed from Victor Olaya to Giovanni Manghi

#4 Updated by Giovanni Manghi almost 5 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Also available in: Atom PDF