Dear All,

I've installed GetFEM (getfem5.3win-amd64-py3.7.exe
<http://download-mirror.savannah.gnu.org/releases/getfem/misc/getfem5.3win-amd64-py3.7.exe>)
on Windows 10 with Anaconda 3 (mandatory generating a Python <= 3.7
environment) and Mayavi 4.7.1 via Conda repository.

When I run the demo_tripod.py the simulation runs correctly and I can see
the results via Mayavi or GMSH but unfortunately I cannot see the
getfem_tvtk output since I get the following messages:

---quote---
*You can view the tripod with (for example) mayavi:*
*mayavi2 -d tripod.vtk -f WarpVector -m Surface*
*or*
*gmsh tripod.pos*
*Traceback (most recent call last):*
*  File ".\demo_tripod.py", line 146, in <module>*
*    fig.show(mfu, deformation=U, data=(mfdu,VM), deformation_scale='20%')*
*  File
"C:\Users\Ferro\anaconda3\pkgs\getfem-5.4.1\interface\tests\python\getfem_tvtk.py",
line 452, in show*
*    self.show_mesh_fem(mf, **args)*
*  File
"C:\Users\Ferro\anaconda3\pkgs\getfem-5.4.1\interface\tests\python\getfem_tvtk.py",
line 410, in show_mesh_fem*
*    self.actors += it.vtk_actors()*
*  File
"C:\Users\Ferro\anaconda3\pkgs\getfem-5.4.1\interface\tests\python\getfem_tvtk.py",
line 299, in vtk_actors*
*    self.mapper = tvtk.PolyDataMapper(input=data);*
*  File
"C:\Users\Ferro\anaconda3\envs\Python37\lib\site-packages\tvtk\tvtk_classes.zip\tvtk_classes\poly_data_mapper.py",
line 45, in __init__*
*  File
"C:\Users\Ferro\anaconda3\envs\Python37\lib\site-packages\tvtk\tvtk_base.py",
line 362, in __init__*
*    super(TVTKBase, self).__init__(**traits)*
*  File
"C:\Users\Ferro\anaconda3\envs\Python37\lib\site-packages\traits\trait_type.py",
line 67, in _read_only*
*    % (name, class_of(object))*
*traits.trait_errors.TraitError: The 'input' trait of a PolyDataMapper
instance is 'read only'.*
---unquote---

I'd like very much to use the internal visualizer and to produce direct
outputs after the simulations.
Can anyone tell me what's going wrong?
Thank you in advance.
Lorenzo

Reply via email to