Hi,

running the "AnimatedImage.py" I get the appended error message.

What's wrong?

Cheers
Elmar



In [5]: run AnimatedImage.py
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (23, 0))
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
/usr/local/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in 
execfile(fname, *where)
     173             else:
     174                 filename = fname
--> 175             __builtin__.execfile(filename, *where)

/home/elmar/PyScripts/examples_mpl/AnimatedImage.py in <module>()
      27     repeat_delay=1000)
      28
---> 29 ani.save('dynamic_images.mp4')
      30
      31

/usr/local/lib/python2.7/dist-packages/matplotlib/animation.pyc in 
save(self, filename, fps, codec, clear_temp, frame_prefix)
     125             self._fig.savefig(fname)
     126
--> 127         self._make_movie(filename, fps, codec, frame_prefix)
     128
     129         #Delete temporary files


/usr/local/lib/python2.7/dist-packages/matplotlib/animation.pyc in 
_make_movie(self, fname, fps, codec, frame_prefix, cmd_gen)
     162         verbose.report('Animation._make_movie running command: 
%s'%' '.join(command))
     163         proc = Popen(command, shell=False,
--> 164             stdout=PIPE, stderr=PIPE)
     165         proc.wait()
     166

/usr/lib/python2.7/subprocess.pyc in __init__(self, args, bufsize, 
executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, 
env, universal_newlines, startupinfo, creationflags)
     677                             p2cread, p2cwrite,
     678                             c2pread, c2pwrite,
--> 679                             errread, errwrite)
     680
     681         if mswindows:

/usr/lib/python2.7/subprocess.pyc in _execute_child(self, args, 
executable, preexec_fn, close_fds, cwd, env, universal_newlines, 
startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, 
errread, errwrite)
    1237                     if fd is not None:
    1238                         os.close(fd)
-> 1239                 raise child_exception
    1240
    1241



------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to