[GRASS-dev] [GRASS GIS] #3481: m.cogo (and others most likely) fail in Grass 7 under OS X if output path contains spaces

GRASS GIS trac at osgeo.org
Sun Jan 21 12:01:33 PST 2018


#3481: m.cogo (and others most likely) fail in Grass 7 under OS X if output path
contains spaces
----------------------------------+-------------------------
 Reporter:  fgfletcher            |      Owner:  grass-dev@…
     Type:  defect                |     Status:  new
 Priority:  normal                |  Milestone:
Component:  Default               |    Version:  7.0.0
 Keywords:  path quoting, m.cogo  |        CPU:  OSX/Intel
 Platform:  MacOSX                |
----------------------------------+-------------------------
 Occurs here under Mac OSX 10.12.6 when using GRASS 7 as bundled into QGIS
 2.18.15-3.

 m.cogo, and most likely others, fail under OS X if the output path
 contains spaces.  Input path seems unaffected.

 So trying to send output into ~/my files/test_data/ results in an error
 message that  files/test_data  is not legit.

 OS X allows spaces (and other non-alphanumeric chars) within directory
 (folder) or file names.

 Consequently in OSX paths need to be "quoted" for Unix compatibility; I
 suspect that is what is missing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3481>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list