This shows the benefits of 'xmode verbose' :) There's enough info in that traceback to understand the problem:
> /usr/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py in > print_figure(self=<matplotlib.backends.backend_ps.FigureCanvasPS > instance>, outfile='prova.eps', dpi=100.0, facecolor='white', > edgecolor='white', orientation='portrait', papertype='letter') > 1121 fh = file(tmpfile) > 1122 print >>outfile, fh.read() > -> 1123 else: shutil.move(tmpfile, outfile) > global shutil.move = <function move at 0xb7dc3bc4> > tmpfile = '/tmp/caba709a5ee736ae3148af077a1a9a38' > outfile = 'prova.eps' > 1124 > 1125 def _print_figure_tex(self, outfile, dpi, facecolor, > edgecolor, orientation, This is the call that fails. To confirm this is the problem, try: shutil.move('/tmp/foo','/fat32partition/foo') With any valid /tmp/foo file and your actual path to your fat32 partition. If this also fails, it's because this copystat() call > /usr/lib/python2.4/shutil.py in > copy2(src='/tmp/caba709a5ee736ae3148af077a1a9a38', dst='prova.eps') > 91 dst = os.path.join(dst, os.path.basename(src)) > 92 copyfile(src, dst) > ---> 93 copystat(src, dst) > global copystat = <function copystat at 0xb7dc3aac> > src = '/tmp/caba709a5ee736ae3148af077a1a9a38' > dst = 'prova.eps' > 94 > 95 which in turn tries to call utime(): > /usr/lib/python2.4/shutil.py in > copystat(src='/tmp/caba709a5ee736ae3148af077a1a9a38', dst='prova.eps') > 66 mode = stat.S_IMODE(st.st_mode) > 67 if hasattr(os, 'utime'): > ---> 68 os.utime(dst, (st.st_atime, st.st_mtime)) > global os.utime = <built-in function utime> > dst = 'prova.eps' > st.st_atime = 1150101622 > st.st_mtime = 1150101622 > 69 if hasattr(os, 'chmod'): > 70 os.chmod(dst, mode) > > OSError: [Errno 1] Operation not permitted: 'prova.eps' is somehow not OK for fat32 partitions, or because you don't have the right permissions on your system. You need to be sure that you have your fat32 partition mounted with the right user permissions, otherwise things like these can fail. At this point, it's not yet clear if this is a problem with backend_ps in mpl or your permissions configuration. Cheers, f _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users