[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 14:34:24 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:7 hellik]:
> Replying to [comment:6 neteler]:
> > Yes, you forgot to take out ">". Try this code:
>
> {{{
> r.out.xyz input=elevation at PERMANENT output=C:\wd\test\test.xyz
> ERROR: Kann Datei <C:wdtesttest.xyz> nicht zum Schreiben öffnen.
> (Sat Mar 26 19:14:10 2011) Command finished (0 sec)
> }}}
>
> so no change regarding the path issue.
>
for the record with the original code:
if I copy the command from the wxgui to the wingrass-msys-shell
{{{
GRASS 6.4> r.out.xyz input=elevation at PERMANENT
output=C:\wd\test\testroutxyz.txt
c:/Program Files/GRASS 6.4.SVN/scripts/r.out.xyz: line 61:
C:wdtesttestroutxyz.txt: Permission denied
}}}
and with a quoted path in the wingrass-msys-shell
{{{
GRASS 6.4> r.out.xyz input=elevation at PERMANENT
output="C:\wd\test\testroutxyz.txt"
100%
GRASS 6.4>
}}}
the original code is working in windows with a quoted path
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1310#comment:8>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list