[GRASS-dev] [GRASS GIS] #1310: Browse button in WxPython GUIs (for scripts) does not provide a correct file path for WinGRAS

GRASS GIS trac at osgeo.org
Tue Mar 15 07:28:54 EDT 2011


#1310: Browse button in WxPython GUIs (for scripts) does not provide a correct
file path for WinGRAS
------------------------------+---------------------------------------------
 Reporter:  katrineggert1980  |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  critical          |   Milestone:  6.4.1                    
Component:  wxGUI             |     Version:  6.4.1 RCs                
 Keywords:  winGRASS          |    Platform:  MSWindows XP             
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------
 Greetings

 I'm running GRASS script function (e.g. r.out.xyz) and If I use Browse
 button to search/define for output file it produces a path in Windows
 style (e.g. C:\data\GRASS\) that is wrong since GRASS's pythons do not use
 '\'. So user need to change '\' by hand to '/'.
 THis happens to all GRASS Scripts that uses Browse and file paths.
 This does not happen in text mode if we use " " around the file path.

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



More information about the grass-dev mailing list