From: John H. <jd...@gm...> - 2008-03-24 02:34:36
|
On Sun, Mar 23, 2008 at 8:51 PM, Darren Dale <dar...@co...> 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 |