Opened 8 years ago
Closed 8 years ago
#3237 closed defect (fixed)
GetEventHandler assertation after loading workspace twice
Reported by: | wenzeslaus | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 7.4.0 |
Component: | wxGUI | Version: | svn-trunk |
Keywords: | workspace, wxPython, wxWidgets, destructors | Cc: | |
CPU: | Unspecified | Platform: | Linux |
Description
A ~wxWindowBase(): any pushed event handlers must have been removed
error is generated using the following steps:
- Start GUI
- Add layers
- Save workspace file
- Start new GUI
- Open workspace
- 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.
Note:
See TracTickets
for help on using tickets.
In 70296: