[GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

GRASS GIS trac at osgeo.org
Wed Aug 3 01:02:16 PDT 2016


#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
-------------------------+-------------------------
 Reporter:  mlennert     |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.0.5
Component:  wxGUI        |    Version:  svn-trunk
 Keywords:  scatterplot  |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 Trying to use the bivariate scatterplot tool in the Map Display I get the
 following error and nothing else:

 {{{
 Traceback (most recent call last):
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
 linux-gnu/gui/wxpython/mapdisp/frame.py", line 1175, in
 OnScatterplot

 win = ScatterFrame(parent=self, rasterList=raster)
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
 linux-gnu/gui/wxpython/wxplot/scatter.py", line 42, in
 __init__

 BasePlotFrame.__init__(self, parent, size=size, **kwargs)
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
 linux-gnu/gui/wxpython/wxplot/base.py", line 113, in
 __init__

 self.client.canvas.Bind(wx.EVT_LEFT_DOWN,
 self.OnMouseLeftDown)
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/_core.py", line 4228, in Bind

 event.Bind(self, id, id2, handler)
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/_core.py", line 4572, in Bind

 target.Connect(id1, id2, et, function)
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/_core.py", line 4182, in Connect

 return _core_.EvtHandler_Connect(*args, **kwargs)
 wx._core
 .
 PyAssertionError
 :
 C++ assertion "m_window" failed at
 ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize()
 doesn't work without window

 }}}

 Maybe linked to wx 3 ?

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



More information about the grass-dev mailing list