[GRASS-dev] [GRASS GIS] #1741: Wrong key in option G_OPT_F_SEP

GRASS GIS trac at osgeo.org
Fri Sep 21 13:01:36 PDT 2012


#1741: Wrong key in option G_OPT_F_SEP
-------------------------+--------------------------------------------------
 Reporter:  turek        |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Default      |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 G_OPT_F_SEP has ''separator'' key however modules (r.out.xyz, m.proj...)
 uses '''sep''' key.

 It produces e. g. this error:
 {{{
 r.out.xyz input=landsat at PERMANENT
 Traceback (most recent call last):
   File "/usr/local/grass-7.0.svn/scripts/r.out.xyz", line
 45, in <module>
     main()
   File "/usr/local/grass-7.0.svn/scripts/r.out.xyz", line
 40, in main
     ret = grass.run_command("r.stats", flags = "1gn", input
 = options['input'], fs = options['sep'], output = output)
 KeyError: 'sep'
 }}}

 Attached patch should fix it.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1741>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list