On Sun, Apr 8, 2012 at 9:13 AM, Tony Yu <tsy...@gmail.com> wrote:
>
>
> On Sat, Apr 7, 2012 at 8:40 PM, Benjamin Root <ben.r...@ou.edu> wrote:
>>
>>
>>
>> On Sat, Apr 7, 2012 at 1:34 PM, Tony Yu <tsy...@gmail.com> wrote:
>>>
>>> I've been using the animations subpackage since it was introduced, but I
>>> only recently tried to save an animation using the `save` method.
>>> Unfortnately, I get a RuntimeError whenever I try to use it:
>>>
>>> ...
>>>   File
>>> "/Users/Tony/python/devel/mpl/lib/matplotlib/backends/backend_agg.py", line
>>> 4
>>> 52, in print_raw
>>>     renderer._renderer.write_rgba(filename_or_obj)
>>> RuntimeError: Error writing to file

It shouldn't be OS-dependent. In fact, as I keep being told "OSX is
practically unix!". (Sorry, I just get tired of being told that and
then having simple unix functionality fail spectacularly. I'm
better...I swear.)

Would it be possible to try the mencoder support instead? (If it's
possible to get that installed). Also, could you try the ffmpeg_file
"backend" which uses the temp files? It will be helpful to try to
narrow down whether the piping itself is making it angry or if
something is wrong with ffmpeg. You should just be able to do:

anim.save(..., writer='ffmpeg_file') or anim.save(..., writer='mencoder')

Also, can you run any/all of them with --verbose-debug? That might
help give a bit more error information.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to