[GRASS-dev] Re: [GRASS GIS] #1198: Error while parsing file paths in WinGRASS with Scripts

GRASS GIS trac at osgeo.org
Tue Sep 20 12:01:01 EDT 2011


#1198: Error while parsing file paths in WinGRASS with Scripts
----------------------------+-----------------------------------------------
 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 mmetz):

 Replying to [comment:5 glynn]:
 > Replying to [comment:3 benducke]:
 > > Actually, the problem goes deeper than the wxGUI. I have experienced
 it (Windows only) with shell scripts. Basically, g.parser seems to remove
 all occurrences of "\" from a file type input or output option. I think
 this should be fixed in g.parser, not by forcing Windows users to adopt a
 notation that is strange on their system. In addition, the option value
 may come from a Windows file browser, which will certainly produce the "\"
 Windows notation.
 >
 > It isn't g.parser doing this. It's either wxGUI (e.g. shlex.split) or
 the shell.

 > In any case, this ticket contains insufficient information to attempt
 reproduction. At a minimum, we require the exact command entered, the
 means by which it was entered (cmd.exe, bash, wxGUI, etc), the GRASS
 version, and the result.

 I think #1447 is related, and complete with an example and a detailed
 description.

 Markus M

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1198#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list