On Thursday 08 June 2006 10:35, massimo sandal wrote:
> Hi,
> I upgraded today to matplotlib 0.87.3, compiled from source.
> I noticed the following error when in my application I try to export the
> plot in EPS format. The odd thing is that the export actually works and
> produces a good eps file, but nevertheless...
>
> File "hooke.py", line 354, in ExportImage #that's my wxpython+MPL app
>      self.figure.savefig(filename)
>    File "/usr/lib/python2.4/site-packages/matplotlib/figure.py", line
> 660, in savefig
>      self.canvas.print_figure(*args, **kwargs)
>    File
> "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
> line 1123, in print_figure
>      else: shutil.move(tmpfile, outfile)
>    File "/usr/lib/python2.4/shutil.py", line 193, in move
>      copy2(src,dst)
>    File "/usr/lib/python2.4/shutil.py", line 93, in copy2
>      copystat(src, dst)
>    File "/usr/lib/python2.4/shutil.py", line 68, in copystat
>      os.utime(dst, (st.st_atime, st.st_mtime))
> OSError: [Errno 1] Operation not permitted: 'figura001.eps'

please submit a short script that reproduces the problem.


_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to