Your message dated Thu, 21 Nov 2024 17:13:43 +0100
with message-id <753cb1cb-c345-4622-8b85-5c67aa87f...@debian.org>
and subject line Re: Fails to start - crash - ERROR|2024-11-10 
03:01:42,140|error creating view control [envisage.plugins.python_shell_view]
has caused the Debian Bug report #1087232,
regarding Fails to start - crash - ERROR|2024-11-10 03:01:42,140|error creating 
view control [envisage.plugins.python_shell_view]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1087232: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087232
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--










Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Version: 4.8.2-4

Dear Phil,

I made a new release of the mayavi2 package. I was able to start it and follow 
the tutorial at 
http://docs.enthought.com/mayavi/mayavi/example_parametric_surface.html

Specifically I used podman + https://github.com/mviereck/x11docker to create 
and run a container based upon Debian Testing with mayavi2 4.8.2-4 installed)

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to