[Paraview] Cannot Save Animations from Python
Kent Eschenberg
eschenbe at psc.edu
Mon Mar 24 13:45:03 EDT 2008
A further, perhaps useless tidbit on this issue.
Skipping the animator and creating my own animation loop works everywhere. I record each frame with view.WriteImage. That crashed too after a few frames, like the animator, until I preceeded it with a call to view.StillRender.
By "everywhere" I actually mean only 3.2.1 on CentOS 5 systems, using pvpython and pvbatch, using OpenGL/hardware and Mesa.
Kent
Pittsburgh Supercomputing Center
Kent Eschenberg wrote:
> Thanks! With your change pvpython makes more frames but still crashed
> before it completed. Same result with pvbatch. These tests were run with
> 3.2.1 on a serial 32-bit Linux system.
>
> On a 64-bit parallel system where I liked to Mesa the serial version of
> pvpython ran without trouble with and without your change.
>
> Kent
>
> Utkarsh Ayachit wrote:
>> Can you try this:
>>
>> view.UseOffscreenRenderingForScreenshots = 0
>>
>> This will turn off the using of offscreen buffers for writing the
>> images. I am wondering if that's what's causing the problem.
>>
>> Utkarsh
>>
>> Jean Favre wrote:
>>> On 21, Mar 2008 10:57 PM, Kent Eschenberg <eschenbe at psc.edu> wrote:
>>>
>>>> When the filename is provided it produces 1 to 5 frames (which look
>>>> fine) then crashes. One unexpected phenomena was that when recording
>>>> frames it seemed to display and then delete the window with every
>>>> frame.
>>>>
>>>
>>> I see exactly the same thing as Kent. I have tried, and retried many
>>> times for the last 4 days and I get a crash after 3 or 4 frames written
>>> to disk. I use the CVS version of ParaView3.
>>>
>>> Jean
More information about the ParaView
mailing list