Package: mayavi2
Version: 4.7.1-2+b2
Severity: important
Tags: upstream



-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mayavi2 depends on:
ii  libc6                               2.31-13+deb11u2
ii  libjs-jquery                        3.5.1+dfsg+~3.5.5-7
ii  python3                             3.9.2-3
ii  python3-apptools                    4.5.0-1.1
ii  python3-configobj                   5.0.6-4
ii  python3-envisage                    4.9.0-2.1
ii  python3-numpy [python3-numpy-abi9]  1:1.19.5-1
ii  python3-pkg-resources               52.0.0-4
ii  python3-pyface                      6.1.2-2
ii  python3-pygments                    2.7.1+dfsg-2.1
ii  python3-traits                      5.2.0-2+b3
ii  python3-traitsui                    6.1.3-3
ii  python3-vtk7                        7.1.1+dfsg2-8

mayavi2 recommends no packages.

Versions of packages mayavi2 suggests:
ii  ipython3       7.20.0-1
ii  python3-scipy  1.6.0-2

Bug description:
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'

Details about further software components

The python and wx version is :

~$ python3 -c "import sys, wx; print(sys.version); print(wx.version())"
3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110]
4.0.7 gtk3 (phoenix) wxWidgets 3.0.5

Reply via email to