On Sun, Mar 23, 2008 at 8:51 PM, Darren Dale <[EMAIL PROTECTED]> wrote:
> > raise RuntimeError("'%s' is not a writable dir; you must set
> > %s/.matplotlib to be a writable dir. You can also set environment variable
> > MPLCONFIGDIR to any writable directory where you want matplotlib data
> > stored "%h)
> > TypeError: not enough arguments for format string
> >
> > How can I get it fixed?
>
> We might be in a better position to help if you post the example code.
This bug was first pointed out by Mark Hamilton (with a patch) in the
thread "RuntimeError in _get_configdir". I've committed his fix to
svn. Basically, the format string is looking for two arguments where
only one is provided. Because it only arises in an error condition,
it is a corner of the code that had not been hit before.
JDH
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users