| 
      
      
      From: Martin M. <mmo...@fo...> - 2012-06-18 12:29:40
      
     | 
| John Hunter wrote: > > > > > On Jun 18, 2012, at 6:19 AM, Martin Mokrejs <mmo...@fo...> wrote: > >> Hi, >> I am running some script in /mnt/blah and while my $HOME disk on a different device filled up >> because of some other reason. But my script ran in /mnt/blah died as well while there is plenty >> of space. Here is the stacktrace. > > Try setting the MPLCONFIGDIR environment variable to the writable dir or your choice. > > mpl does need a place to store some files, which is $HOME/.matplotlib by default, but you can configure it. Hmm. Could it be by default the current working directory instead? Or, try/else added to the code which would try to write into cwd if $HOME (aka $MPLCONFIGDIR) returns an error? I will set the variable in my scripts but too late for those already in the queue. ;-) Thanks. Martin |