[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 13:34:53 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 hellik):
Replying to [comment:4 neteler]:
>
> Helmut, could you please test if adding output="$GIS_OPT_OUTPUT" helps?
tried with following:
{{{
# if no output filename, output to stdout
if [ -z "$GIS_OPT_OUTPUT" ] || [ "$GIS_OPT_OUTPUT" = "-" ]; then
r.stats -1gn "$GIS_OPT_INPUT" fs="$GIS_OPT_FS"
else
r.stats -1gn "$GIS_OPT_INPUT" fs="$GIS_OPT_FS" >
output="$GIS_OPT_OUTPUT"
fi
}}}
now there isn't any error message
{{{
r.out.xyz input=elevation at PERMANENT output=C:\wd\test\routxyzp.xyz
(Sat Mar 26 18:30:37 2011) Command finished (46 sec)
}}}
'''but''' the file doesn't seem to be written, the destination folder is
empty.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1310#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list