-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processing toolbox: r.reclass failing on Windows #24040
Comments
Author Name: Markus Neteler (Markus Neteler) Problematic code is here: https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass7/ext/r_reclass.py#L45 Maybe this is missing: from processing.tools.system import getTempFilename (I compared to https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass7/ext/r_category.py ) |
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Alexander Bruy (@alexbruy) Fixed in changeset "2c188b2b0f00595ed4e2b3f0851250812b563456".
|
Author Name: matteo ghetta (@ghtmtt) Issue still valid on Windows systems.
(also verified in 2.18 on Windows myself) While it works fine on Linux, r.reclass is failing on Windows: 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 It seems that the TEMP dir is not set properly. to From (also verified in 2.18 on Windows myself) While it works fine on Linux, r.reclass is failing on Windows: 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 It seems that the TEMP dir is not set properly.
|
Author Name: Giovanni Manghi (@gioman) matteo ghetta wrote:
I just tried on QGIS master and 2.18.24 on Windows 10 and it works as expected. Can you share the data and reclass rules?
|
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Markus Neteler (Markus Neteler)
Original Redmine Issue: 16128
Affected QGIS version: 2.18.23
Redmine category:processing/grass
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:
It seems that the TEMP dir is not set properly.
The text was updated successfully, but these errors were encountered: