stable

Mayavi-4.8.2-3.fc41 and vtk-9.2.6-18.fc41

FEDORA-2024-286c09b59e created by churchyard 5 months ago for Fedora 41
  • vtk: Fix segmentation fault on import with Python 3.13
  • Mayavi: Rebuilt for Python 3.13

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2024-286c09b59e

This update has been submitted for testing by churchyard.

5 months ago

This update's test gating status has been changed to 'ignored'.

5 months ago
User Icon zbyszek commented & provided feedback 5 months ago

The installability tests "fail" because the downgrade is not possible.

User Icon zbyszek commented & provided feedback 5 months ago
karma

The packages install fine. But mayavi crashes on start:

$ /usr/bin/mayavi2  
QSocketNotifier: Can only be used with threads started with QThread
Requested decoration  "adwaita"  not found, falling back to default
ERROR|2024-10-11 15:43:50,901|error creating view control [envisage.plugins.python_shell_view]
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/workbench/workbench_window_layout.py", line 106, in add_view
    self._qt4_add_view(view, position, relative_to, size)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/workbench/workbench_window_layout.py", line 469, in _qt4_add_view
    dw = self._qt4_create_view_dock_widget(view, size)
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/workbench/workbench_window_layout.py", line 541, in _qt4_create_view_dock_widget
    view.control = view.create_control(dw.widget())
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/envisage/plugins/python_shell/view/python_shell_view.py", line 122, in create_control
    self.bind(name, value)
    ~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/envisage/plugins/python_shell/view/python_shell_view.py", line 175, in bind
    self.shell.bind(name, value)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/i_python_shell.py", line 124, in bind
    self.interpreter().locals[name] = value
    ~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/python_shell.py", line 88, in interpreter
    return self.control.interpreter
           ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'interpreter'
ERROR|2024-10-11 15:43:50,908|Exception occurred in traits notification handler for object: <envisage.ui.workbench.workbench_window.WorkbenchWindow object at 0x7fedcd7f24b0>, trait: active_perspective, old value: None, new value: Perspective(Mayavi)
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/workbench/workbench_window_layout.py", line 106, in add_view
    self._qt4_add_view(view, position, relative_to, size)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/workbench/workbench_window_layout.py", line 469, in _qt4_add_view
    dw = self._qt4_create_view_dock_widget(view, size)
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/workbench/workbench_window_layout.py", line 541, in _qt4_create_view_dock_widget
    view.control = view.create_control(dw.widget())
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/envisage/plugins/python_shell/view/python_shell_view.py", line 122, in create_control
    self.bind(name, value)
    ~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/envisage/plugins/python_shell/view/python_shell_view.py", line 175, in bind
    self.shell.bind(name, value)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/i_python_shell.py", line 124, in bind
    self.interpreter().locals[name] = value
    ~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/python_shell.py", line 88, in interpreter
    return self.control.interpreter
           ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'interpreter'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.13/site-packages/traits/trait_notifiers.py", line 342, in __call__
    self.handler(*args)
    ~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/workbench/workbench_window.py", line 808, in _active_perspective_changed
    self._show_perspective(old, new)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/workbench/workbench_window.py", line 756, in _show_perspective
    new.create(self)
    ~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/workbench/perspective.py", line 97, in create
    self._add_contents(window, self.contents)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/workbench/perspective.py", line 134, in _add_contents
    self._add_perspective_item(window, item)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/workbench/perspective.py", line 155, in _add_perspective_item
    window.add_view(
    ~~~~~~~~~~~~~~~^
        view, item.position, relative_to, (item.width, item.height)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/pyface/workbench/workbench_window.py", line 297, in add_view
    self.layout.add_view(view, position, relative_to, size)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyface/ui/qt/workbench/workbench_window_layout.py", line 115, in add_view
    view.destroy_control()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/envisage/plugins/python_shell/view/python_shell_view.py", line 146, in destroy_control
    self.window.application.unregister_service(self._service_id)
                                               ^^^^^^^^^^^^^^^^
AttributeError: 'PythonShellView' object has no attribute '_service_id'
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x5
  Serial number of failed request:  7
  Current serial number in output stream:  8

This is on a standard gnome-shell wayland session. Maybe some Qt experts can chime in if there's some workaround.

BZ#2291477 F41FailsToInstall: python3-mayavi
BZ#2300546 Mayavi: FTBFS in Fedora rawhide/f41
BZ#2310520 vtk Python bindings: segmentation fault on import

This update has been obsoleted.

5 months ago
User Icon churchyard commented & provided feedback 5 months ago

I get the very same error on Fedora 40. So I'll push this back to testing.

This update has been submitted for testing by churchyard.

5 months ago
User Icon churchyard commented & provided feedback 5 months ago

Same crash on KDE.

This update has been pushed to testing.

5 months ago

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

5 months ago

churchyard edited this update.

5 months ago

churchyard edited this update.

5 months ago
User Icon churchyard commented & provided feedback 5 months ago

Upstream issues:

https://github.com/enthought/mayavi/issues/1008 https://github.com/enthought/mayavi/issues/1245 https://github.com/usnistgov/fipy/discussions/1006

No clear resolution.

Anyway, this is not a regression and possibly there might be other ways to use the package, so I think we should not make this a blocker.

User Icon zbyszek commented & provided feedback 5 months ago
karma

Agreed. I'll change my karma to positive.

This update has been submitted for stable by bodhi.

5 months ago

This update has been pushed to stable.

5 months ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
1
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
1
Stable by Time
7 days
Dates
submitted
5 months ago
in testing
5 months ago
in stable
5 months ago
modified
5 months ago
approved
5 months ago
BZ#2291477 F41FailsToInstall: python3-mayavi
0
0
BZ#2300546 Mayavi: FTBFS in Fedora rawhide/f41
0
0
BZ#2310520 vtk Python bindings: segmentation fault on import
0
0

Automated Test Results