Bug report #6546

Grass module r.reclass.area error

Added by Luca Strazzaboschi about 12 years ago. Updated almost 12 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GRASS
Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:Yes Copied to github as #:15750

Description

Hi,
grass module r.reclass.area (both greater and lesser) causes the follow errors (and sometimes it causes crash):
(i'm working on Qgis 1.9.0-Master - revision code 6a53f13)

Generating a clumped raster map...
Pass 1...
Pass 2...
r.clump completo. 704 clumps.
Generating a reclass rules file with area size greater than or equal to 50 hectares...
C:/OSGeo4W/apps/grass/GRASS-~1.2/scripts/r.reclass.area: line 165: esposizione_sud@prova_strazz.rules: Permission denied
Generating output raster map ...
cat: esposizione_sud@prova_strazz.rules: No such file or directory
Non � stata specificata nessuna regola
Mappa non valida
Parse error
Mappa raster non trovata
Raster non trovato
 nothing removed

Impossibile recuperare informazioni sulla mappa
Impossibile far funzionare il modulo
comando: C:/OSGeo4W/apps/qgis-dev/./grass/modules/qgis.g.info info=info rast=enne_bis@prova_strazz<br>TYPE:-1
<br>
GRASS_INFO_WARNING(3776,1): Raster <enne_bis@prova_strazz> non trovato
GRASS_INFO_END(3776,1)

GRASS_INFO_WARNING(3776,2): Raster <enne_bis@prova_strazz> non trovato
GRASS_INFO_END(3776,2)

GRASS_INFO_WARNING(3776,3): non riesco a leggere il file f_range per [enne_bis@prova_strazz in ]
GRASS_INFO_END(3776,3)

GRASS_INFO_ERROR(3776,4): Unable to read range file
GRASS_INFO_END(3776,4)

Any ideas?

Thanks

L

History

#1 Updated by Giovanni Manghi almost 12 years ago

  • Resolution set to worksforme
  • Status changed from Open to Closed

it works fine here on both windows and linux. It seems it is a local problem, something related to file permissions

C:/OSGeo4W/apps/grass/GRASS-~1.2/scripts/r.reclass.area: line 165: esposizione_sud@prova_strazz.rules: Permission denied

please reopen if necessary, attaching sample data to help replicate the issue.

Also available in: Atom PDF