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

Varun Hiremath varunhiremath at gmail.com
Sun Jan 4 02:03:02 UTC 2009


Hi Ondrej,

On Tue, 30 Dec, 2008 at 10:29:18AM -0800, Ondrej Certik wrote:
> 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

I am unable to reproduce this bug on either i386 or amd64. Could you
please try a fresh install on some other machine and check if you can
reproduce this? Also you might want to move/remove .enthought folder
and check if it helps.

Gael, do you have any idea about this?

Thanks,
Varun





More information about the Python-apps-team mailing list