[GRASS-dev] Re: [GRASS GIS] #1198: Error while parsing file paths
in WiNGRASS with Python Script
GRASS GIS
trac at osgeo.org
Tue Sep 20 05:26:32 EDT 2011
#1198: Error while parsing file paths in WiNGRASS with Python Script
----------------------------+-----------------------------------------------
Reporter: luislisboa1975 | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: wingrass | Platform: MSWindows XP
Cpu: Unspecified |
----------------------------+-----------------------------------------------
Comment(by hamish):
is this from within a specific grass module, from the wxGUI command entry
box, or from a self-written script?
the `\` is used to quote the character which follows it verbatim.
so `C:\Program Files\GRASS\scripts` reduces to `C:Program
FilesGRASSscripts`.
one solution as pointed out is to use `/` instead. Another way is to use
two of them, so that the second one gets quoted verbatim: `\\`.
ISTR that some OS-specific magic was added to the wxGUI command parser,
but I suspect the solution to this will ultimately be education:
gratuitous tooltips and inset Caution-boxes in the wxGUI help pages.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1198#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list