I'm getting the traceback shown below in _get_configdir. I've attached a patch for cutils.py

[EMAIL PROTECTED] ~]$
/data0/sierra/trac/trac-0.11stable/bin/trac-admin /data0/www/trac/sierra
resync
Failed to open environment. not enough arguments for format string
Traceback (most recent call last):
...
"/data0/sierra/lib/python2.5/site-packages/matplotlib/__init__.py", line
400, in _get_configdir
    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

--
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666

Index: cutils.py
===================================================================
--- cutils.py   (revision 5001)
+++ cutils.py   (working copy)
@@ -79,7 +79,7 @@
             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)
+where you want matplotlib data stored """%(p,h))
     else:
         if not is_writable_dir(h):
             raise RuntimeError("Failed to create %s/.matplotlib; consider 
setting MPLCONFIGDIR to a writable directory for matplotlib configuration 
data"%h)
-------------------------------------------------------------------------
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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to