Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-13 Thread Fernando Perez
On 6/13/06, massimo sandal <[EMAIL PROTECTED]> wrote: > 5-minute googling lets me wonder if it's a problem with os.utime() not > always playing nice with fat32 partitions... odd because on my previous > debian sarge with the same configuration, it didn't complain. Could be, but I'm not really sur

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-13 Thread massimo sandal
Fernando Perez ha scritto: This shows the benefits of 'xmode verbose' :) There's enough info in that traceback to understand the problem: 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 act

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-12 Thread Fernando Perez
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= instance>, outfile='prova.eps', dpi=100.0, facecolor='white', > edgecolor='white', orientation

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-12 Thread massimo sandal
Thanks, Massimo, I'm away from my ubuntu machine right now, so I can't test this. In the meantime, try in ipython xmode verbose before running your code. This will generate a more detailed traceback, which might give us some clues. I noticed that I get the error only when I write on a FAT32

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-09 Thread Fernando Perez
On 6/9/06, Darren Dale <[EMAIL PROTECTED]> wrote: > I cant reproduce this. Are you sure it's a problem with matplotlib? It looks > like its a problem with shutil and os.utime, not mpl. Are you sure you have > write privileges for the file and the directory? Could another (k)ubuntu > Dapper user ple

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-09 Thread Darren Dale
I cant reproduce this. Are you sure it's a problem with matplotlib? It looks like its a problem with shutil and os.utime, not mpl. Are you sure you have write privileges for the file and the directory? Could another (k)ubuntu Dapper user please give this a try? On Friday 09 June 2006 11:42, mas

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-09 Thread massimo sandal
Darren Dale ha scritto: 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.f

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-08 Thread Darren Dale
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,

[Matplotlib-users] OSError when exporting figure in EPS

2006-06-08 Thread massimo sandal
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 ExportIm