[GRASS-dev] [GRASS GIS] #1444: g.parser dpes not filter for duplicate output map statements

GRASS GIS trac at osgeo.org
Wed Sep 7 02:32:31 EDT 2011


#1444: g.parser dpes not filter for duplicate output map statements
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev@…              
     Type:  defect   |      Status:  new                      
 Priority:  minor    |   Milestone:  6.4.2                    
Component:  LibGIS   |     Version:  6.4.1                    
 Keywords:           |    Platform:  All                      
      Cpu:  All      |  
---------------------+------------------------------------------------------
 A funny effect happens when the user states output map(s) several
 times due to copy-paste errors:

 {{{
 GRASS 6.4.2svn (nc_spm_08):~ > r.watershed elev_lid792_1m thresh=5000
 drain=draindir_5K accum=accum_5K basin=basin_5K accum=accum_5K
 accum=accum_5K --o
 SECTION 1a (of 5): Initiating Memory.
 SECTION 1b (of 5): Determining Offmap Flow.
 ...
 SECTION 5: Closing Maps.
  100%
 Illegal filename. Character <,> not allowed.
 WARNING: <accum_5K,accum_5K,accum_5K> is an illegal file name
 WARNING: unable to open new accum map layer.
 WARNING: category information for [accum_5K,accum_5K,accum_5K] in
 [neteler]
          missing or invalid
 Illegal filename. Character <,> not allowed.
 WARNING: can't write history information for [accum_5K,accum_5K,accum_5K]
 }}}

 {{{
 GRASS 7.0.svn (nc_spm_08 at grass70):~ > r.composite b=lsat7_2002_10
 g=lsat7_2002_20 r=lsat7_2002_30 out=bla2 out=bla2
 WARNING: Illegal filename <bla2,bla2>. Character <,> not allowed.
 ERROR: <bla2,bla2> is an illegal file name
 }}}

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



More information about the grass-dev mailing list