[Python-apps-team] Bug#510237: [mayavi2] error creating view control

Ondrej Certik ondrej at certik.cz
Tue Dec 30 18:29:18 UTC 2008


Package: mayavi2
Version: 3.1.0-1
Severity: important

--- Please enter the report below this line. ---

When upgraded to 3.1.0, when I start mayavi2, I get an error:

ERROR|2008-12-30 10:25:14,086|error creating view control <enthought.plugins.python_shell_view>

and the gui was messed up (however, on the second run, the gui seems ok, but the error stay). Besides that, I get this error to console:

$ mayavi2 
ERROR|2008-12-30 10:25:14,086|error creating view control <enthought.plugins.python_shell_view>
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py", line 107, in add_view
    self._wx_add_view(view, position, relative_to, size)
  File "/usr/lib/python2.5/site-packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py", line 358, in _wx_add_view
    dock_control = self._wx_create_view_dock_control(view)
  File "/usr/lib/python2.5/site-packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py", line 464, in _wx_create_view_dock_control
    control = self._wx_get_view_control(view)
  File "/usr/lib/python2.5/site-packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py", line 557, in _wx_get_view_control
    view.control = view.create_control(parent)
  File "/usr/lib/python2.5/site-packages/enthought/plugins/ipython_shell/view/ipython_shell_view.py", line 88, in create_control
    self.shell = IPythonWidget(parent, interp=self.interpreter)
  File "/usr/lib/python2.5/site-packages/enthought/pyface/ui/wx/ipython_widget.py", line 142, in __init__
    self.control = self._create_control(parent)
  File "/usr/lib/python2.5/site-packages/enthought/pyface/ui/wx/ipython_widget.py", line 160, in _create_control
    shell = IPythonController(parent, -1, shell=self.interp)
  File "/usr/lib/python2.5/site-packages/enthought/pyface/ui/wx/ipython_widget.py", line 67, in __init__
    func.__doc__ = ''
AttributeError: attribute '__doc__' of 'instancemethod' objects is not writable

(python:17617): Gtk-CRITICAL **: gtk_widget_set_colormap: assertion `!GTK_WIDGET_REALIZED (widget)' failed


Ondrej

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: 5.0
  500 unstable        mirrors1.kernel.org 

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-===========
libc6                      (>= 2.7-1) | 2.7-16
python                       (<< 2.6) | 2.5.2-3
python                       (>= 2.5) | 2.5.2-3
python-central             (>= 0.6.7) | 0.6.8
python-traits                         | 3.0.3-1
python-traitsgui                      | 3.0.3-1
python-wxgtk2.8                       | 2.8.7.1-1.1
python-numpy                          | 1:1.1.1-2
python-vtk                            | 5.0.4-1.1
python-pkg-resources                  | 0.6c8-4
python-envisagecore                   | 3.0.1-1
python-envisageplugins                | 3.0.1-1
python-apptools                       | 3.1.0-1
libjs-jquery                          | 1.2.6-1
python-configobj                      | 4.5.2-2








More information about the Python-apps-team mailing list