Bug report #20696

Processing: r.plane does not run successfully

Added by Alister Hood almost 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Processing/GRASS
Affected QGIS version:3.4.2 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:28516

Description

The r.plane processing algorithm generates this error:

Algorithm 'r.plane' starting…
Input parameters:
{ 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_RASTER_FORMAT_OPT' : '', 'GRASS_REGION_CELLSIZE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : '416006.0138,425473.0138,752983.273,756629.273 [EPSG:2105]', 'azimuth' : 90, 'dip' : 0.0258, 'easting' : 425463, 'elevation' : -0.67, 'northing' : 755006, 'output' : 'S:/Jobs/[obfuscated]/calculations/HEC-RAS/GIS/plane1.tif', 'type' : 1 }

g.region n=756629.273 s=752983.273 e=425473.0138 w=416006.0138 res=100.0
r.plane dip=0.0258 azimuth=90 easting=425463 northing=755006 elevation=-0.67 type="FCELL" output=outputeeb643ec35804e2ba0a2f929b669bed2 --overwrite
g.region raster=outputeeb643ec35804e2ba0a2f929b669bed2
r.out.gdal -t -m input="outputeeb643ec35804e2ba0a2f929b669bed2" output="S:\Jobs\[obfuscated]\calculations\HEC-RAS\GIS\plane1.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
Cleaning up temporary files...
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows
Executing <C:\Users\alistair\AppData\Local\Temp\processing_9b5f06d44f0c44a181916679447c132c\grassdata\grass_batch_job.cmd> ...
C:\PROGRA~1\QGIS3~1.4\bin>chcp 1252 1>NUL
C:\PROGRA~1\QGIS3~1.4\bin>g.region n=756629.273 s=752983.273 e=425473.0138 w=416006.0138 res=100.0
C:\PROGRA~1\QGIS3~1.4\bin>r.plane dip=0.0258 azimuth=90 easting=425463 northing=755006 elevation=-0.67 type="FCELL" output=outputeeb643ec35804e2ba0a2f929b669bed2 --overwrite
Execution of <C:\Users\alistair\AppData\Local\Temp\processing_9b5f06d44f0c44a181916679447c132c\grassdata\grass_batch_job.cmd> finished.
Cleaning up temporary files...
Traceback (most recent call last):
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py", line 413, in processAlgorithm
Grass7Utils.executeGrass(self.commands, feedback, self.outputCommands)
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py", line 411, in executeGrass
startupinfo=si if isWindows() else None
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\subprocess.py", line 756, in __init__
restore_signals, start_new_session)
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\subprocess.py", line 1155, in _execute_child
startupinfo)
OSError: [WinError 87] The parameter is incorrect

Execution failed after 9.90 seconds

Loading resulting layers
The following layers were not correctly generated.<ul><li>S:/Jobs/[obfuscated]/calculations/HEC-RAS/GIS/plane1.tif</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.

It isn't obvious to me what that error means, but if I use the same input in 2.18.23 it works.

Currently only tested on Windows (standalone 64bit installer).

History

#1 Updated by Nyall Dawson almost 6 years ago

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

This was already fixed in master -- I'll backport to 3.4

Also available in: Atom PDF