Hello,
I have a stable GNU / Debian 11 installation (Bullseye), and I have installed Mayavi 4.7.1-2+b2 from the repositories but the software do not work from the GUI. I get errors in the console like this:
~$ mayavi2
08:07:07: Debug: Adding duplicate image handler for 'Windows bitmap file'
08:07:07: Debug: Adding duplicate image handler for 'Windows bitmap file'
/usr/lib/python3/dist-packages/pyface/ui/wx/clipboard.py:25: wxPyDeprecationWarning: Call to deprecated item. Use wx.DataFormat instead.
PythonObjectFormat = wx.CustomDataFormat('PythonObject')
/usr/lib/python3/dist-packages/pyface/wx/drag_and_drop.py:99: wxPyDeprecationWarning: Call to deprecated item. Use wx.DataFormat instead.
PythonObject = wx.CustomDataFormat('PythonObject')
Exception occurred in traits notification handler.
Please check the log file for details.
Exception occurred in traits notification handler for object: <mayavi.plugins.mayavi_ui_plugin.MayaviUIPlugin object at 0x7f8e73e976d0>, trait: application, old value: None, new value: <mayavi.plugins.mayavi_workbench_application.MayaviWorkbenchApplication object at 0x7f8e7306d810>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/traits/trait_notifiers.py", line 654, in _dispatch_change_event
self.dispatch(handler, *args)
File "/usr/lib/python3/dist-packages/traits/trait_notifiers.py", line 553, in dispatch
handler(*args)
File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 498, in handle_simple
self.next.register(new)
File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 464, in register
value = getattr(self, type)(new, name, False)
File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 738, in _register_simple
return next.register(getattr(object, name))
File "/usr/lib/python3/dist-packages/envisage/ui/workbench/workbench_application.py", line 140, in _gui_default
return GUI(splash_screen=self.splash_screen)
File "/usr/lib/python3/dist-packages/pyface/ui/wx/gui.py", line 60, in __init__
self._splash_screen.open()
File "/usr/lib/python3/dist-packages/pyface/i_splash_screen.py", line 79, in open
super(MSplashScreen, self).open()
File "/usr/lib/python3/dist-packages/pyface/i_window.py", line 202, in open
self._create()
File "/usr/lib/python3/dist-packages/pyface/i_widget.py", line 112, in _create
self.control = self._create_control(self.parent)
File "/usr/lib/python3/dist-packages/pyface/ui/wx/splash_screen.py", line 69, in _create_control
splash_screen = wx.SplashScreen(
AttributeError: module 'wx' has no attribute 'SplashScreen'
Exception occurred in traits notification handler for object: <__main__.MayaviApp object at 0x7f8e73098860>, trait: application, old value: None, new value: <mayavi.plugins.mayavi_workbench_application.MayaviWorkbenchApplication object at 0x7f8e7306d810>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/traits/trait_notifiers.py", line 654, in _dispatch_change_event
self.dispatch(handler, *args)
File "/usr/lib/python3/dist-packages/traits/trait_notifiers.py", line 553, in dispatch
handler(*args)
File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 498, in handle_simple
self.next.register(new)
File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 464, in register
value = getattr(self, type)(new, name, False)
File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 738, in _register_simple
return next.register(getattr(object, name))
File "/usr/lib/python3/dist-packages/envisage/ui/workbench/workbench_application.py", line 140, in _gui_default
return GUI(splash_screen=self.splash_screen)
File "/usr/lib/python3/dist-packages/pyface/ui/wx/gui.py", line 60, in __init__
self._splash_screen.open()
File "/usr/lib/python3/dist-packages/pyface/i_splash_screen.py", line 79, in open
super(MSplashScreen, self).open()
File "/usr/lib/python3/dist-packages/pyface/i_window.py", line 202, in open
self._create()
File "/usr/lib/python3/dist-packages/pyface/i_widget.py", line 112, in _create
self.control = self._create_control(self.parent)
File "/usr/lib/python3/dist-packages/pyface/ui/wx/splash_screen.py", line 69, in _create_control
splash_screen = wx.SplashScreen(
AttributeError: module 'wx' has no attribute 'SplashScreen'
Traceback (most recent call last):
File "/usr/bin/mayavi2", line 613, in <module>
main()
File "/usr/bin/mayavi2", line 602, in main
mayavi.main(sys.argv[1:])
File "/usr/lib/python3/dist-packages/mayavi/plugins/app.py", line 195, in main
app.run()
File "/usr/lib/python3/dist-packages/mayavi/plugins/mayavi_workbench_application.py", line 73, in run
gui = self.gui
File "/usr/lib/python3/dist-packages/envisage/ui/workbench/workbench_application.py", line 140, in _gui_default
return GUI(splash_screen=self.splash_screen)
File "/usr/lib/python3/dist-packages/pyface/ui/wx/gui.py", line 60, in __init__
self._splash_screen.open()
File "/usr/lib/python3/dist-packages/pyface/i_splash_screen.py", line 79, in open
super(MSplashScreen, self).open()
File "/usr/lib/python3/dist-packages/pyface/i_window.py", line 202, in open
self._create()
File "/usr/lib/python3/dist-packages/pyface/i_widget.py", line 112, in _create
self.control = self._create_control(self.parent)
File "/usr/lib/python3/dist-packages/pyface/ui/wx/splash_screen.py", line 69, in _create_control
splash_screen = wx.SplashScreen(
AttributeError: module 'wx' has no attribute 'SplashScreen'
System description:
I have tried on three different computers with the same operating system, and the error is reproduced on all of them.
Hello, I have a stable GNU / Debian 11 installation (Bullseye), and I have installed Mayavi 4.7.1-2+b2 from the repositories but the software do not work from the GUI. I get errors in the console like this:
System description: I have tried on three different computers with the same operating system, and the error is reproduced on all of them.
Operating System: GNU/Debian Ver. 11. Bullseye. Linux 5.10.0-9-amd64 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux.
Package: mayavi2 (4.7.1-2 and others) (https://packages.debian.org/es/bullseye/science/mayavi2)
Details about further software components
The python and wx version is :