[GRASS-dev] [GRASS GIS] #3621: Cannot create map frame in cartographic composer

GRASS GIS trac at osgeo.org
Wed Sep 26 16:06:32 PDT 2018


#3621: Cannot create map frame in cartographic composer
--------------------------+----------------------------------------------
  Reporter:  cmbarton     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  reopened
  Priority:  critical     |  Milestone:  7.4.2
 Component:  wxGUI        |    Version:  unspecified
Resolution:               |   Keywords:  map frame, cartographic composer
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+----------------------------------------------
Changes (by cmbarton):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 We need to reopen this. I just did a checkout and compile of 7.6RB. The
 rubber band part of the map frame now works to open the dialog where you
 can pick a map to display. But when you click OK, it generates an error.

 [[[

 Traceback (most recent call last):
   File "/Applications/GRASS-7.6.app/Contents/Resources/gui/w
 xpython/psmap/dialogs.py", line 446, in OnOK

 ok = self.OnApply(event)
   File "/Applications/GRASS-7.6.app/Contents/Resources/gui/w
 xpython/psmap/dialogs.py", line 791, in OnApply

 self.parent.DialogDataChanged(id=self.id[0])
   File "/Applications/GRASS-7.6.app/Contents/Resources/gui/w
 xpython/psmap/frame.py", line 1120, in DialogDataChanged

 bb=rectCanvas)
   File "/Applications/GRASS-7.6.app/Contents/Resources/gui/w
 xpython/psmap/frame.py", line 2194, in Draw

 w, h, lh = dc.GetMultiLineTextExtent(text)
 ValueError
 :
 need more than 2 values to unpack

 ]]]

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3621#comment:10>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list