MantisBT - ParaView
View Issue Details
0012796ParaView(No Category)public2011-12-14 09:372016-08-12 09:59
Paul Melis 
Kitware Robot 
normalminorhave not tried
closedmoved 
3.12 
 
TBD
crash
0012796: Python exception with creating animation cue
I was toying around with doing camera animation from Python and following

http://www.paraview.org/Wiki/ParaView/Python_Scripting#Animating [^]

specifically the code under "ParaView 3.8.1 onwards". When executing that
code I get an exception, which seems to come from one of the ParaView-specific
Python modules. Here's the output from the Python shell:

Python 2.7.2 (default, Nov 9 2011, 15:37:53)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
>>> from paraview.simple import *
paraview version 3.12.0, Date: 2011-07-26

>>> Sphere()
<paraview.servermanager.Sphere object at 0x40cfcd0>
>>> Show()
<paraview.servermanager.GeometryRepresentation object at 0x40cff10>
>>> Render()
<paraview.servermanager.RenderView object at 0x40cfcd0>
>>> scene = GetAnimationScene()
>>> scene
<paraview.servermanager.AnimationScene object at 0x4169bd0>
>>> t = GetAnimationTrack('StartTheta')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/site-packages/paraview/simple.py", line 797, in GetAnimationTrack
    cue = KeyFrameAnimationCue()
NameError: global name 'KeyFrameAnimationCue' is not defined
>>>

This is with the Linux x86_64 binary 3.12 distribution from paraview.org.
No tags attached.
Issue History
2011-12-14 09:37Paul MelisNew Issue
2016-08-12 09:59Kitware RobotNote Added: 0038113
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0038113)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.