[GRASS-dev] Re: [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
Sat Mar 26 15:44:55 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 |
------------------------------+---------------------------------------------
Comment(by neteler):
To change the code in automated way:
{{{
cd gui/wxpython/gui_modules/
for i in menuform.py gmodeler.py menu.py prompt.py goutput.py ; do mv
$i tmp.py ; cat tmp.py | sed 's+shlex.split+utils.split+g' > $i ; rm
-f tmp.py ; done
for i in menuform.py gmodeler.py menu.py prompt.py goutput.py ; do mv
$i tmp.py ; cat tmp.py | sed 's+import shlex+import utils+g' > $i ; rm
-f tmp.py ; done
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1310#comment:10>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list