[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 11 23:22:24 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: | Port: py26-mayavi
----------------------------------+-----------------------------------------
Comment(by mymacports@…):
Replying to [comment:9 jjstickel@…]:
> Replying to [comment:8 mymacports@…]:
> >
> > vtk is installed (vtk5 @5.8.0_0+tcltk+x11 (active))[[BR]]
> >
>
> You must installed vtk5 with the appropriate python variant. In order
to use the qt4 backend, you should also negate the x11 variant, i.e.
"-x11".
sudo port uninstall --follow-dependencies py26-mayavi
sudo port -v install vtk5 +carbon +python27 +qt4_mac -tcltk -x11
sudo port install py27-traitsgui +qt4
sudo port install py27-mayavi
gives error:
{{{
... $ mayavi2-2.7
Warning: Unable to import the wx backend for pyface due to traceback:
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/pyface/toolkit.py", line 45, in _init_toolkit
be = import_toolkit(tk)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/pyface/toolkit.py", line 31, in import_toolkit
__import__(be + 'init')
ImportError: No module named wx.init
Traceback (most recent call last):
File "/opt/local/bin/mayavi2-2.7", line 9, in <module>
load_entry_point('Mayavi==3.4.1', 'console_scripts', 'mayavi2')()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/mayavi/scripts/mayavi2.py", line 649, in main
mayavi.main(sys.argv[1:])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/mayavi/plugins/app.py", line 195, in main
app.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/mayavi/plugins/mayavi_workbench_application.py",
line 79, in run
position=self.window_position, size=self.window_size
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/pyface/workbench/workbench.py", line 113, in
create_window
window = self.window_factory(workbench=self, **kw)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/traits/has_traits.py", line 3628, in
_init_trait_listeners
getattr( self, '_init_trait_%s_listener' % data[0] )( name, *data )
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/traits/has_traits.py", line 3683, in
_init_trait_delegate_listener
self.on_trait_change( notify, name_pattern, target=self )
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/traits/has_traits.py", line 2934, in
on_trait_change
listener.register( self )
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/traits/traits_listener.py", line 433, in register
value = getattr( self, type )( new, name, False )
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/traits/traits_listener.py", line 666, in
_register_simple
return next.register( getattr( object, name ) )
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/pyface/workbench/workbench_window.py", line 252,
in _layout_default
return WorkbenchWindowLayout(window=self)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/enthought/pyface/toolkit.py", line 92, in __init__
raise NotImplementedError("the %s pyface backend doesn't implement %s"
% (ETSConfig.toolkit, oname))
NotImplementedError: the qt4 pyface backend doesn't implement
WorkbenchWindowLayout
... $
}}}
what am I doing wrong?
--
Ticket URL: <https://trac.macports.org/ticket/34342#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list