Opened 12 years ago

Last modified 12 years ago

#34342 closed defect

py26-mayavi: "list index out of range", "NotImplementedError: the enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement DecoratedScene" errors — at Initial Version

Reported by: mymacports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: py26-mayavi

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

Change History (0)

Note: See TracTickets for help on using tickets.