[GRASS-dev] [GRASS GIS] #2215: xwGUI file type option. File path corrupt if contained backslash

GRASS GIS trac at osgeo.org
Mon Mar 10 18:54:27 PDT 2014


#2215: xwGUI file type option. File path corrupt if contained backslash
----------------------------+-----------------------------------------------
 Reporter:  naokiueda       |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  6.4.4                    
Component:  wxGUI           |     Version:  6.4.3                    
 Keywords:  file type item  |    Platform:  MSWindows 7              
      Cpu:  Unspecified     |  
----------------------------+-----------------------------------------------
 in wxGUI script, place 'File' type option to open file dialog.

 Example:

   "c:\aaa\bbb bbb.txt". OK. --> "c:\aaa\bbb bbb.txt"

   "c:\aaa\bbbbbb.txt".  NG. --> "c:aaabbbbbb.txt"

 Work Around: Add "space" in front of/end of value.
   " c:\aaa\bbb bbb.txt". OK.  "c:\aaa\bbb bbb.txt"

   "c:\aaa\bbb bbb.txt ". OK.  "c:\aaa\bbb bbb.txt"

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2215>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list