John Hunter wrote: > > > > > On Jun 18, 2012, at 6:19 AM, Martin Mokrejs <mmokr...@fold.natur.cuni.cz> > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users