[GRASS-dev] [GRASS GIS] #3237: GetEventHandler assertation after loading workspace twice
GRASS GIS
trac at osgeo.org
Tue Jan 3 20:22:38 PST 2017
#3237: GetEventHandler assertation after loading workspace twice
-------------------------------------------------+-------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone: 7.4.0
Component: wxGUI | Version: svn-trunk
Keywords: workspace, wxPython, wxWidgets, | CPU: Unspecified
destructors |
Platform: Linux |
-------------------------------------------------+-------------------------
A `~wxWindowBase(): any pushed event handlers must have been removed`
error is generated using the following steps:
1. Start GUI
2. Add layers
3. Save workspace file
4. Start new GUI
5. Open workspace
6. Open workspace (again)
I get the following traceback:
{{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/wx-3.0-gtk2/wx/lib/buttons.py", line 140, in
AcceptsFocus
return self.IsShown() and self.IsEnabled()
File "/usr/lib/python2.7/dist-
packages/wx-3.0-gtk2/wx/_core.py", line 9984, in IsShown
return _core_.Window_IsShown(*args, **kwargs)
wx._core
.
PyAssertionError
:
C++ assertion "GetEventHandler() == this" failed at
../src/common/wincmn.cpp(478) in ~wxWindowBase(): any pushed
event handlers must have been removed
}}}
This happens in trunk r70231 but not in 7.2.0.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3237>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list