Bug report #16128

Updated by matteo ghetta about 6 years ago

From

https://gis.stackexchange.com/questions/225923/how-to-avoir-ioerror-errno-13-permission-denied-when-running-r-reclass-from



(also verified in 2.18 on Windows myself)



While it works fine on Linux, r.reclass is failing on Windows:



<pre>

2017-01-26T12:25:14 2 Uncaught error while executing algorithm

Traceback (most recent call last):

File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\\processing\\core\\GeoAlgorithm.py", line 203, in execute

self.processAlgorithm(progress)

File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\\processing\\algs\\grass7\\Grass7Algorithm.py", line 274, in processAlgorithm

func(self)

File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\\processing\\algs\\grass7\\ext\

_reclass.py", line 45, in processCommand

with open(tempRulesName, "w") as tempRules:

IOError: [Errno 13] Permission denied: u'tmp1485429914724

</pre>



It seems that the TEMP dir is not set properly.

Back