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

Ondrej Certik ondrej at certik.cz
Sun Jan 4 02:11:10 UTC 2009


On Sat, Jan 3, 2009 at 6:03 PM, Varun Hiremath <varunhiremath at gmail.com> wrote:
> 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.

I can't reproduce it anymore either. :(

So feel free to close the bug.

Ondrej





More information about the Python-apps-team mailing list