[GRASS-dev] [GRASS GIS] #2314: output r.out.xyz

GRASS GIS trac at osgeo.org
Sat May 31 18:03:18 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:17 hcho]:

 > The backtick issue was worked around because it couldn't be fixed (?) in
 Windows.

 "Bactick issue"? Can you elaborate?

 Backticks are a shell construct, so they shouldn't be applicable to GRASS
 7, where use of the shell should have been almost entirely eliminated.

 A vertical bar shouldn't be an issue for similar reasons. If it is an
 issue, likely candidates would be passing a string to subprocess.Popen()
 (or some interface built upon it) rather than a list, or possibly
 something like shlex in the GUI.

 > > if it results in the original problem being forgotten about, it may
 need to be reverted until the problem is fixed.
 >
 > What about implementing grass.option_to_separator and keeping this
 ticket open until the original issue is fixed?

 That would be useful, but I'd suggest having the default value for
 G_OPT_F_SEP as "|" (literal vertical bar) rather than "pipe" until this
 gets resolved.

 That may require someone who can reproduce the problem to do some
 debugging to determine exactly where this is going wrong.

 I can't do it right now, as I've recently had to replace my Windows box
 and the new one doesn't have any development tools or libraries on it yet.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2314#comment:24>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list