Bug report #15502
GRASS calls need quoting for file-/layernames
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Processing/GRASS | ||
Affected QGIS version: | 2.16.1 | 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 #: | 23426 |
Description
2.16.2 on Linux with GRASS 7.
I did not test all of them, but at least for v.split.vert, v.split.length and r.blend.combine QGIS will create calls to GRASS without quoting of filenames. So if a filename contains spaces, it will fail.
For example here the layer name is not quoted:
v.in.ogr min_area=0.0001 snap=-1 input="/home/me/some path" layer=my fancy layer output=tmp1472549688385 --overwrite -o
Here the input name is not quoted:
r.in.gdal input=/home/me/some path/input.vrt output=tmp14725505976613 --overwrite -o
I would recommended checking through all of it to find all the cases. 8)
Related issues
History
#1 Updated by Radim Blazek about 8 years ago
- Category changed from GRASS to Processing/GRASS
#2 Updated by Alexander Bruy about 8 years ago
Can you test if https://github.com/alexbruy/QGIS/tree/grass-quotes fixes your issue?
#3 Updated by Alexander Bruy about 8 years ago
- Tag deleted (
grass, quoting, filenames) - Status changed from Open to Feedback
#4 Updated by Giovanni Manghi almost 8 years ago
- Resolution set to fixed/implemented
- Status changed from Feedback to Closed
Closing for lack of feedback, please reopen if necessary.