[GRASS-dev] [GRASS GIS] #2314: output r.out.xyz
GRASS GIS
trac at osgeo.org
Fri May 30 21:55:04 PDT 2014
#2314: output r.out.xyz
-------------------------------------------------+--------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: separator, pipe, r.out.xyz, r.stats | Platform: MSWindows 7
Cpu: All |
-------------------------------------------------+--------------------------
Comment(by glynn):
Replying to [comment:12 annakrat]:
> It's not problem of wxGUI but maybe of Python scripting library. Today's
version of r.out.xyz on Windows gives this error when you specify | or you
leave default:
>
{{{
The syntax of the command is incorrect.
}}}
How are you running the script?
If it isn't via cmd.exe in a console window, with parameters provided on
the command line, then that's the first thing to try. Any problems when
executing via wxGUI or using the parameter dialogs should be assumed to be
problems with those features until proven otherwise.
> Adding quotes around pipe (for example in ```_make_val``` function in
grass.core) works but results in ```"|"``` as a separator (3 characters)
which is wrong. So, now we have r.out.xyz broken on Windows. Any ideas?
If a command is executed via e.g. grass.run_command(), Python's
subprocess.Popen() provides the necessary quoting.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2314#comment:15>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list