enthought/envisage — Issue #7: attractors example is broken
Author: timdiller
Created: 2012-02-14 17:22:37+00:00
State: open

enthought/ets/envisage/examples/plugins/tasks/attractors

$ python run.py

Traceback (most recent call last):
File "run.py", line 27, in
main(sys.argv)
File "run.py", line 20, in main
app.run()
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/envisage/ui/tasks/tasks_application.py", line 134, in run
self._create_windows()
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/envisage/ui/tasks/tasks_application.py", line 287, in _create_windows
restore=self.always_use_default_layout)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/envisage/ui/tasks/tasks_application.py", line 205, in create_window
window.add_task(task)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/pyface/tasks/task_window.py", line 182, in add_task
state.central_pane.create(self.control)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/pyface/tasks/traits_task_pane.py", line 40, in create
self.ui = self.edit_traits(kind='subpanel', parent=parent)
File "/Users/tdiller/timdiller/traits/traits/has_traits.py", line 2247, in edit_traits
handler, id, scrollable, args )
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/view.py", line 433, in ui
ui.ui( parent, kind )
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/ui.py", line 218, in ui
self.rebuild( self, parent )
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/toolkit.py", line 140, in ui_subpanel
ui_panel.ui_subpanel( ui, parent )
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/ui_panel.py", line 78, in ui_subpanel
_ui_panel_for(ui, parent, True)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/ui_panel.py", line 84, in _ui_panel_for
ui.control = control = _Panel(ui, parent, is_subpanel).control
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/ui_panel.py", line 142, in __init__
self.control = panel(ui)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/ui_panel.py", line 230, in panel
panel = _GroupPanel(content[0], ui).control
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/ui_panel.py", line 562, in __init__
layout = self._add_groups(content, inner)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/ui_panel.py", line 641, in _add_groups
panel = _GroupPanel(subgroup, self.ui).control
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/ui_panel.py", line 564, in __init__
layout = self._add_items(content, inner)
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/qt4/ui_panel.py", line 833, in _add_items
None).set(
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/chaco/chaco_plot_editor.py", line 184, in simple_editor
description = description )
File "/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/traitsui/editor.py", line 133, in __init__
self.old_value = getattr( self.object, self.name )
AttributeError: 'Plot2dPane' object has no attribute 'Plot'