[Paraview] Python Animation Missing

Jean Favre jfavre at cscs.ch
Tue Mar 18 03:48:11 EDT 2008


Kent Eschenberg wrote:
> Help! PV 3.2.1 on CentOS:
>
> $ pvpython
> Python 2.4.4 (#1, Oct 23 2006, 13:58:00)
> [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from paraview import servermanager
> >>> servermanager.Connect()
> Connection (builtin:5)
> >>> scene = animation.AnimationScene()
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> NameError: name 'animation' is not defined

you can avoid this error by prefixing with the name servermanager, i.e.

scene = servermanager.animation.AnimationScene()


More information about the ParaView mailing list