enthought / enthought/mayavi

Mayavi2 fails to run under wxPython 4.0.7

Open
#992 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

```
(py37_sd) C:\Users\amoldovan\Downloads>mayavi2
Traceback (most recent call last):
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\Scripts\mayavi2-script.py", line 10, in
sys.exit(main())
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\mayavi\scripts\mayavi2.py", line 602, in main
mayavi.main(sys.argv[1:])
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\mayavi\plugins\app.py", line 197, in main
app.run()
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\mayavi\plugins\mayavi_workbench_application.py", line 81, in run
window.open()
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\workbench\workbench_window.py", line 152, in open
self._create()
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\ui\wx\application_window.py", line 128, in _create
self._create_trim_widgets(self.control)
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\i_application_window.py", line 151, in _create_trim_widgets
self._create_menu_bar(parent)
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\ui\wx\application_window.py", line 77, in _create_menu_bar
menu_bar = self.menu_bar_manager.create_menu_bar(parent)
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\workbench\action\menu_bar_manager.py", line 39, in create_menu_bar
parent, controller=controller
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\ui\wx\action\menu_bar_manager.py", line 44, in create_menu_bar
menu = item.create_menu(parent, controller)
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\ui\wx\action\menu_manager.py", line 56, in create_menu
return _Menu(self, parent, controller)
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\ui\wx\action\menu_manager.py", line 106, in __init__
self.refresh()
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\ui\wx\action\menu_manager.py", line 147, in refresh
parent, group, previous_non_empty_group
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\ui\wx\action\menu_manager.py", line 204, in _add_group
item.add_to_menu(parent, self, self._controller)
File "C:\Users\amoldovan\Anaconda3\envs\py37_sd\lib\site-packages\pyface\ui\wx\action\menu_manager.py", line 66, in add_to_menu
id = sub.GetId()
AttributeError: '_Menu' object has no attribute 'GetId'
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed

The above exception was the direct cause of the following exception:

SystemError: returned a result with an error set
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed

The above exception was the direct cause of the following exception:

SystemError: returned a result with an error set
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed

The above exception was the direct cause of the following exception:

SystemError: returned a result with an error set
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed

The above exception was the direct cause of the following exception:

SystemError: returned a result with an error set
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.