Hello list,

I ran in to a problem running code on a Linux installation where vtk 6.0 
is used.

Adding two arrays to a dataset, mlab.pipeline.set_active_attribute does 
not recognize the name of the second array.

The problem can be reproduced using the atomic orital example:

http://docs.enthought.com/mayavi/mayavi/auto/example_atomic_orbital.html

The following error message is returned:
TraitError: The 'point_scalars_name' trait of a SetActiveAttribute 
instance must be one of ['scalar', ''], but a value of 'angle' <type 
'str'> was specified.

A colleague of mine ran into the same problem using the current Canopy 
installation under Windows where vtk 6.2 is used, so I guess it is 
related to vtk 6.x, as the code works well  using VTK 5.x

Did anyone else run into this Problem? Is there a workaround?

Thanks a lot,
Felix


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to