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

GRASS GIS trac at osgeo.org
Tue Sep 20 11:55:31 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 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.

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



More information about the grass-dev mailing list