Package: mayavi2 Version: 4.8.2-3 Severity: critical Dear Maintainer,
The package fails to start with error, see below.
philwyett@ks-calrissian:~$ mayavi2
QSocketNotifier: Can only be used with threads started with QThread
ERROR|2024-11-10 03:01:42,140|error creating view control
[envisage.plugins.python_shell_view]
Traceback (most recent call last):
File "/usr/lib/python3/dist-
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/dist-
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/dist-
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/dist-
packages/envisage/plugins/python_shell/view/python_shell_view.py", line 122,
in create_control
self.bind(name, value)
File "/usr/lib/python3/dist-
packages/envisage/plugins/python_shell/view/python_shell_view.py", line 175,
in bind
self.shell.bind(name, value)
File "/usr/lib/python3/dist-packages/pyface/i_python_shell.py", line 124,
in bind
self.interpreter().locals[name] = value
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pyface/ui/qt/python_shell.py", line
88, in interpreter
return self.control.interpreter
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'interpreter'
ERROR|2024-11-10 03:01:42,147|Exception occurred in traits notification
handler for object: <envisage.ui.workbench.workbench_window.WorkbenchWindow
object at 0x7ff4db007110>, trait: active_perspective, old value: None, new
value: Perspective(Mayavi)
Traceback (most recent call last):
File "/usr/lib/python3/dist-
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/dist-
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/dist-
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/dist-
packages/envisage/plugins/python_shell/view/python_shell_view.py", line 122,
in create_control
self.bind(name, value)
File "/usr/lib/python3/dist-
packages/envisage/plugins/python_shell/view/python_shell_view.py", line 175,
in bind
self.shell.bind(name, value)
File "/usr/lib/python3/dist-packages/pyface/i_python_shell.py", line 124,
in bind
self.interpreter().locals[name] = value
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-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/lib/python3/dist-packages/traits/trait_notifiers.py", line 342,
in __call__
self.handler(*args)
File "/usr/lib/python3/dist-packages/pyface/workbench/workbench_window.py",
line 808, in _active_perspective_changed
self._show_perspective(old, new)
File "/usr/lib/python3/dist-packages/pyface/workbench/workbench_window.py",
line 756, in _show_perspective
new.create(self)
File "/usr/lib/python3/dist-packages/pyface/workbench/perspective.py", line
97, in create
self._add_contents(window, self.contents)
File "/usr/lib/python3/dist-packages/pyface/workbench/perspective.py", line
134, in _add_contents
self._add_perspective_item(window, item)
File "/usr/lib/python3/dist-packages/pyface/workbench/perspective.py", line
155, in _add_perspective_item
window.add_view(
File "/usr/lib/python3/dist-packages/pyface/workbench/workbench_window.py",
line 297, in add_view
self.layout.add_view(view, position, relative_to, size)
File "/usr/lib/python3/dist-
packages/pyface/ui/qt/workbench/workbench_window_layout.py", line 115, in
add_view
view.destroy_control()
File "/usr/lib/python3/dist-
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
Regards
Phil
--
"I play the game for the game’s own sake"
Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans
--
Donations...
Buy Me A Coffee: https://buymeacoffee.com/kathenasorg
--
Internet Relay Chat (IRC): kathenas
Matrix: #kathenas:matrix.org
Website: https://kathenas.org
Instagram: https://instagram.com/kathenasorg/
Threads: https://www.threads.net/@kathenasorg
--
signature.asc
Description: This is a digitally signed message part

