On 7/24/07, Fernando Perez <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> if anyone is still following, please update the tconfig work.  Run
>
> ipython -wthread
> %run mpltest.py
> mplconf2.tconf.edit_traits()
>
> Edit to your heart's content.

I am not running in wthred, but I think there may be an import problem somewhere


In [3]: run mpltest.py
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/Users/jdhunter/tmp/sandbox/tconfig/mpltest.py in <module>()
     10
     11 mconf = 'mplrc.conf'
---> 12 mplconf = RecursiveConfigManager(MPLConfig, mconf, filePriority=True)
     13 mplconf.tconf.backend.use = 'Qt4Agg'
     14 mplconf.write()

/Users/jdhunter/tmp/sandbox/tconfig/tconfig.py in __init__(self,
configClass, configFilename, filePriority)
    442
    443         if filePriority:
--> 444             self.tconf = configClass(self.fconfCombined,monitor=monitor)
    445         else:
    446             # Push defaults onto file object

/Users/jdhunter/tmp/sandbox/tconfig/tconfig.py in __init__(self,
config, parent, monitor)
    345                     getattr(self,k)
    346                 scal = getattr(self,k)
--> 347         except TraitError,e:
    348             t = self.__class_traits__[k]
    349             msg = "Bad key,value pair given: %s -> %s\n" % (k,config[k])

NameError: global name 'TraitError' is not defined
WARNING: Failure executing file: <mpltest.py>

> pps - I'm done with this, for a while.  I've sunk *way* too much time into it.

We've heard that before :-)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to