[GRASS-dev] [GRASS GIS] #3151: raster digitizer crashes GUI in trunk

GRASS GIS trac at osgeo.org
Tue Sep 13 13:45:43 PDT 2016


#3151: raster digitizer crashes GUI in trunk
-------------------------+-------------------------
 Reporter:  cmbarton     |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.4.0
Component:  wxGUI        |    Version:  unspecified
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 When the raster digitizer is selected, it generates the error below and
 then locks ups the GUI so that you can't even quit it without killing
 Python from the OS.

 error:

 {{{

 Traceback (most recent call last):
   File "/Users/cmbarton/Dropbox (ASU)/GRASS_dropbox/GRASS-7.
 3.app/Contents/MacOS/gui/wxpython/mapdisp/toolbars.py", line
 255, in OnSelectTool

 self.parent.AddRDigit()
   File "/Users/cmbarton/Dropbox (ASU)/GRASS_dropbox/GRASS-7.
 3.app/Contents/MacOS/gui/wxpython/mapdisp/frame.py", line
 1507, in AddRDigit

 toolSwitcher=self._toolSwitcher)
   File "/Users/cmbarton/Dropbox (ASU)/GRASS_dropbox/GRASS-7.
 3.app/Contents/MacOS/gui/wxpython/rdigit/toolbars.py", line
 56, in __init__

 self._previousMap = self._mapSelectionCombo.GetValue()
   File "/Users/cmbarton/Dropbox (ASU)/GRASS_dropbox/GRASS-7.
 3.app/Contents/MacOS/etc/python/wx/_controls.py", line 610,
 in GetValue

 return _controls_.ComboBox_GetValue(*args, **kwargs)
 wx._core
 .
 PyAssertionError
 :
 C++ assertion "IsValid(n)" failed at /BUILD/wxPython-
 src-2.8.12.1/src/mac/carbon/choice.cpp(242) in GetString():
 wxChoice::GetString(): invalid index

 }}}

 I don't know if this is just a Mac issue or more general.

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



More information about the grass-dev mailing list