[MacPorts] #34342: py26-mayavi: "list index out of range", "NotImplementedError: the enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement DecoratedScene" errors
MacPorts
noreply at macports.org
Fri May 4 17:34:09 PDT 2012
#34342: py26-mayavi: "list index out of range", "NotImplementedError: the
enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement
DecoratedScene" errors
---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Reporter: mymacports@… | Owner: jjstickel@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: mayavi, py26-mayavi, "list index out of range", "NotImplementedError: the enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement DecoratedScene" | Port: py26-mayavi
---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Changes (by ryandesign@…):
* cc: mymacports@… (removed)
* priority: High => Normal
* owner: macports-tickets@… => jjstickel@…
Old description:
> after the recent "sudo port upgrade outdated" mayavi (py26-mayavi
> package) stopped working on Mac OS X 10.7.3.
> py26-mayavi package was uninstalled, installed again - no effect.
> symptoms are:
>
> ZZZ:~ yyy$ mayavi2-2.6
>
> ERROR|2012-05-04 18:13:09,214|error creating editor control <TVTK Scene
> 1>
> Traceback (most recent call last):
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-
> packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py",
> line 96, in add_editor
> self._wx_add_editor(editor, title)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-
> packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py",
> line 320, in _wx_add_editor
> editor_dock_control = self._wx_create_editor_dock_control(editor)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-
> packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py",
> line 441, in _wx_create_editor_dock_control
> self._wx_get_editor_control(editor)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-
> packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py",
> line 509, in _wx_get_editor_control
> editor.control = editor.create_control(parent)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/enthought/tvtk/plugins/scene/scene_editor.py", line 61, in
> create_control
> self.scene = self._create_decorated_scene(parent)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/enthought/tvtk/plugins/scene/scene_editor.py", line 87, in
> _create_decorated_scene
> scene = DecoratedScene(parent, stereo=stereo)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/enthought/tvtk/pyface/toolkit.py", line 87, in __init__
> raise NotImplementedError("the %s pyface backend doesn't implement
> %s" % (be, oname))
> NotImplementedError: the enthought.tvtk.pyface.ui.wx. pyface backend
> doesn't implement DecoratedScene
> Traceback (most recent call last):
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>
> lambda event: event.callable(*event.args, **event.kw) )
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/enthought/mayavi/scripts/mayavi2.py", line 519, in run
> process_cmd_line(self, options, args)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/enthought/mayavi/scripts/mayavi2.py", line 275, in
> process_cmd_line
> last_obj = script.new_scene()
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/enthought/mayavi/plugins/script.py", line 84, in new_scene
> return self.engine.new_scene()
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/enthought/scripting/recordable.py", line 45, in _wrapper
> result = func(*args, **kw)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/enthought/mayavi/plugins/envisage_engine.py", line 92, in
> new_scene
> return self.scenes[-1]
> IndexError: list index out of range
New description:
after the recent "sudo port upgrade outdated" mayavi (py26-mayavi package)
stopped working on Mac OS X 10.7.3.
py26-mayavi package was uninstalled, installed again - no effect.
symptoms are:
{{{
ZZZ:~ yyy$ mayavi2-2.6
ERROR|2012-05-04 18:13:09,214|error creating editor control <TVTK Scene 1>
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-
packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py",
line 96, in add_editor
self._wx_add_editor(editor, title)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-
packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py",
line 320, in _wx_add_editor
editor_dock_control = self._wx_create_editor_dock_control(editor)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-
packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py",
line 441, in _wx_create_editor_dock_control
self._wx_get_editor_control(editor)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-
packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py",
line 509, in _wx_get_editor_control
editor.control = editor.create_control(parent)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/enthought/tvtk/plugins/scene/scene_editor.py", line 61, in
create_control
self.scene = self._create_decorated_scene(parent)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/enthought/tvtk/plugins/scene/scene_editor.py", line 87, in
_create_decorated_scene
scene = DecoratedScene(parent, stereo=stereo)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/enthought/tvtk/pyface/toolkit.py", line 87, in __init__
raise NotImplementedError("the %s pyface backend doesn't implement %s"
% (be, oname))
NotImplementedError: the enthought.tvtk.pyface.ui.wx. pyface backend
doesn't implement DecoratedScene
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/enthought/mayavi/scripts/mayavi2.py", line 519, in run
process_cmd_line(self, options, args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/enthought/mayavi/scripts/mayavi2.py", line 275, in
process_cmd_line
last_obj = script.new_scene()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/enthought/mayavi/plugins/script.py", line 84, in new_scene
return self.engine.new_scene()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/enthought/scripting/recordable.py", line 45, in _wrapper
result = func(*args, **kw)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/enthought/mayavi/plugins/envisage_engine.py", line 92, in
new_scene
return self.scenes[-1]
IndexError: list index out of range
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/34342#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list