[IPython-dev] Mayavi broken TraitError
Zeitlinie
zeitlinie at yahoo.de
Thu May 1 03:48:58 EDT 2014
Does anyone on this list use Mayavi for 3D visualization?
For me the new version I had to move to is broken.
Trying to just open a figure like
from mayavi import mlab as ml
ml.figure()
fails with the error msgs. appended.
If you need a more detailed traceback pls. let me know.
I'm running opensuse 13.1 with the following p Mayavi related packages
installed:
python-mayavi-4.3.1-1.6.x86_64
python-mayavi-doc-4.3.1-1.6.x86_64
vtk-6.0.0-3.1.4.x86_64
python-tvtk-4.3.1-1.6.x86_64
vtkdata-6.0.0-2.1.2.noarch
python-vtk-qt-6.0.0-3.1.4.x86_64
python-evtk-0.2.0-1.6.x86_64
python-vtk-6.0.0-3.1.4.x86_64
vtk-java-6.0.0-3.1.4.x86_64
vtk-devel-6.0.0-3.1.4.x86_64
vtk-qt-6.0.0-3.1.4.x86_64
vtk-tcl-6.0.0-3.1.4.x86_64
vtk-examples-6.0.0-3.1.4.x86_64
python-traits-4.3.0-4.3.x86_64
python-traitsui-4.3.0-4.25.noarch
Any help would be most appreciated.
Mark
========== Error msgs. =================
TraitError: The 'input' trait of a PolyDataMapper instance is 'read only'.
In [3]: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/tvtk/messenger.py", line
308, in send
_messenger.send(obj, event, *args, **kw_args)
File "/usr/lib64/python2.7/site-packages/tvtk/messenger.py", line
249, in send
getattr(inst, meth)(source, event, *args, **kw_args)
File "/usr/lib64/python2.7/site-packages/tvtk/tvtk_base.py", line
456, in update_traits
setattr(self, name, val)
File "/usr/lib64/python2.7/site-packages/traits/trait_handlers.py",
line 170, in error
value )
TraitError: The 'alpha_bit_planes' trait of a XOpenGLRenderWindow
instance must be 'f' or 'false' or 'n' or 'no' or 'off' or 'on' or 't'
or 'true' or 'y' or 'yes' or 0 or 1, but a value of 8 <type 'int'> was
specified.
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev at scipy.org
You can print a more detailed traceback right now with "%tb", or use
"%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/tvtk/pyface/ui/wx/scene.py",
line 535, in OnPaint
self.light_manager = light_manager.LightManager(self)
File
"/usr/lib64/python2.7/site-packages/tvtk/pyface/light_manager.py", line
351, in __init__
light = CameraLight(self.renwin)
File
"/usr/lib64/python2.7/site-packages/tvtk/pyface/light_manager.py", line
167, in __init__
self.glyph = LightGlyph()
File
"/usr/lib64/python2.7/site-packages/tvtk/pyface/light_manager.py", line
59, in __init__
tf.input = arrow.output
File "/usr/lib64/python2.7/site-packages/traits/trait_handlers.py",
line 102, in _read_only
name, class_of( object ) )
TraitError: The 'input' trait of a TransformFilter instance is 'read only'.
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev at scipy.org
You can print a more detailed traceback right now with "%tb", or use
"%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
More information about the IPython-dev
mailing list