[GRASS-dev] [GRASS GIS] #3132: d.mon + d.vect: ERROR: Option <map> does not accept multiple answers

GRASS GIS trac at osgeo.org
Fri Aug 19 02:48:49 PDT 2016


#3132: d.mon + d.vect: ERROR: Option <map> does not accept multiple answers
-------------------------+---------------------------------
 Reporter:  neteler      |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.2.0
Component:  wxGUI        |    Version:  svn-releasebranch72
 Keywords:  wx0, d.vect  |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+---------------------------------
 In G7.2, when opening a wx0, then drawing a vector map, then resizing the
 window leads to:

 {{{
 GRASS 7.2.svn (piemont):~/course > d.vect streams where="a_CLASSE = 1"
 col=aqua width=2

 [... resize d.mon wx0]

 GRASS 7.2.svn (piemont):~/course > #
 ERROR: Option <map> does not accept multiple answers

 ERROR: Option <map> does not accept multiple answers

 }}}

 Here the debug output (see at bottom):
 {{{
 ...
 D1/1: Cairo_Line_width: 2.000000
 D1/1: G_find_vector(): name=streams mapset=PERMANENT
 D1/1: Vect_Rewind(): name = streams level = 2
 D1/1: Cairo_Line_width: 0.000000
 D1/1: Cairo_Graph_close
 D1/1: write_image
 D1/1: Writing image to
 /scratch/grassdata/piemont/big_sentinel/.tmp/fedora23/MONITORS/wx0/tmpL9pVQc.ppm
 D1/1: Vect_close(): name = streams, mapset = PERMANENT, format = 0, level
 = 2, is_tmp = 0
 D1/1: spatial index file closed
 D1/1: close history file
 D1/1: V1_close_nat(): name = streams mapset= PERMANENT
 d.vect complete.
 D1/1: G_set_program_name(): g.gisenv
 GRASS 7.2.svn (piemont):~/course/piemont/sentinel2 > D1/1:
 grass.script.core.start_command(): g.findfile -n file=streams
 element=vector
 D1/1: G_set_program_name(): g.findfile
 D1/1: grass.script.core.start_command(): g.pnmcomp --o opacity=1.0
 width=638
 mask=/scratch/grassdata/piemont/big_sentinel/.tmp/fedora23/MONITORS/wx0/tmpL9pVQc.pgm
 height=453 bgcolor=255:255:255:255
 input=/scratch/grassdata/piemont/big_sentinel/.tmp/fedora23/MONITORS/wx0/tmpL9pVQc.ppm
 output=/scratch/grassdata/piemont/big_sentinel/.tmp/fedora23/MONITORS/wx0/map.ppm
 D1/1: grass.script.core.start_command(): g.pnmcomp --o opacity=1.0
 width=638
 mask=/scratch/grassdata/piemont/big_sentinel/.tmp/fedora23/MONITORS/wx0/tmpL9pVQc.pgm
 height=453 bgcolor=255:255:255:255
 input=/scratch/grassdata/piemont/big_sentinel/.tmp/fedora23/MONITORS/wx0/tmpL9pVQc.ppm
 output=/scratch/grassdata/piemont/big_sentinel/.tmp/fedora23/MONITORS/wx0/map.ppm
 D1/1: grass.script.core.start_command(): g.gisenv -n
 D1/1: G_set_program_name(): g.gisenv
 D1/1: grass.script.core.start_command(): g.findfile -n mapset=big_sentinel
 file=MASK element=cell
 D1/1: G_set_program_name(): g.findfile
 D1/1: grass.script.core.start_command(): d.vect --q = map=1 layer=1
 xref=left fill_color=200:200:200 yref=center type=point,line,area,face
 label_bgcolor=none label_layer=1 width=2 width_scale=1 label_color=red
 where=a_CLASSE label_bcolor=none size=5 label_size=8 display=shape
 color=aqua icon=basic/x
 D1/1: G_set_program_name(): d.vect

 ERROR: Option <map> does not accept multiple answers
 D1/1: grass.script.core.start_command(): g.message -v message=Stopping map
 display <wx0>...
 D1/1: G_set_program_name(): g.message
 D1/1: grass.script.core.start_command(): g.gisenv unset=MONITOR
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3132>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list