Opened 8 years ago

Closed 7 years ago

#3132 closed defect (fixed)

d.mon + d.vect: ERROR: Option <map> does not accept multiple answers

Reported by: neteler Owned by: martinl
Priority: normal Milestone: 7.2.0
Component: wxGUI Version: svn-releasebranch72
Keywords: wx0, d.vect Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified

Description

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

Change History (5)

comment:1 by martinl, 8 years ago

In 69160:

d.mon + d.vect: ERROR: Option <map> does not accept multiple answers (see #3132)

comment:2 by martinl, 8 years ago

Please try recent fix in trunk.

comment:3 by martinl, 8 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

comment:4 by annakrat, 7 years ago

In 69765:

d.mon + d.vect: ERROR: Option <map> does not accept multiple answers (see #3132), merge from trunk r69160

comment:5 by neteler, 7 years ago

Resolution: fixed
Status: assignedclosed

Excellent, thanks for the fix.

Note: See TracTickets for help on using tickets.