From: Eric F. <ef...@ha...> - 2007-04-30 18:58:15
|
Darren Dale wrote: > On Monday 30 April 2007 02:31:59 pm Eric Firing wrote: >> One way this could happen is if the .matplotlib directory exists but is >> not writable; such a case would give the error traceback you see with >> little clue as to what and where the problem really is. So, __init__.py >> certainly could be improved. (Offhand, I don't even know why the >> existence of such a writable config directory should be required.) > > It is writeable because we use it for caching fonts and tex-related stuff. > Don't most programs require a writeable config directory? My home directory > is filled with them. This occurred to me a couple minutes after I hit "send". Yes, this sort of thing is common, but I wouldn't say "most programs"; and it is exactly the sort of thing that can cause trouble and confusion when running a program from something like a cron job or modpython instead of the usual command line. Eric |