In lib/matplotlib/__init__.py, set NEWCONFIG=False and reinstall.

On Tuesday 01 July 2008 00:02:51 Gideon Simpson wrote:
> Just tried the 0.98.2, and am still getting:
>
> help> modules
>
> Please wait a moment while I gather a list of all available modules...
>
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File "/sw/lib/python2.5/site.py", line 346, in __call__
>      return pydoc.help(*args, **kwds)
>    File "/sw/lib/python2.5/pydoc.py", line 1636, in __call__
>      self.interact()
>    File "/sw/lib/python2.5/pydoc.py", line 1654, in interact
>      self.help(request)
>    File "/sw/lib/python2.5/pydoc.py", line 1670, in help
>      elif request == 'modules': self.listmodules()
>    File "/sw/lib/python2.5/pydoc.py", line 1791, in listmodules
>      ModuleScanner().run(callback)
>    File "/sw/lib/python2.5/pydoc.py", line 1842, in run
>      for importer, modname, ispkg in pkgutil.walk_packages():
>    File "/sw/lib/python2.5/pkgutil.py", line 125, in walk_packages
>      for item in walk_packages(path, name+'.', onerror):
>    File "/sw/lib/python2.5/pkgutil.py", line 110, in walk_packages
>      __import__(name)
>    File "/opt/lib/python2.5/site-packages/matplotlib/config/
> __init__.py", line 10, in <module>
>      from mplconfig import rcParams, mplConfig, save_config, rcdefaults
>    File "/opt/lib/python2.5/site-packages/matplotlib/config/
> mplconfig.py", line 486, in <module>
>      filePriority=True)
>    File "/opt/lib/python2.5/site-packages/matplotlib/config/
> tconfig.py", line 567, in __init__
>      self.tconf = configClass(self.fconfCombined,monitor=monitor)
>    File "/opt/lib/python2.5/site-packages/matplotlib/config/
> tconfig.py", line 431, in __init__
>      section = v(sec_config,self,monitor=monitor)
>    File "/opt/lib/python2.5/site-packages/matplotlib/config/
> tconfig.py", line 391, in __init__
>      raise TConfigInvalidKeyError(m)
> matplotlib.config.tconfig.TConfigInvalidKeyError: In config defined in
> file: '/opt/lib/python2.5/site-packages/matplotlib/mpl-data/
> matplotlib.conf'
> Error processing section: figure
> These keys are invalid : ['autolayout']
> Valid key names        : ['edgecolor', 'facecolor', 'dpi', 'figsize']
>
> On Jun 24, 2008, at 10:35 AM, Gideon Simpson wrote:
> > my .matplotlib folder is empty.  also, my installation otherwise
> > appears to work.
> >
> >
> > -gideon
> >
> > On Jun 24, 2008, at 10:01 AM, John Hunter wrote:
> >> On Tue, Jun 24, 2008 at 8:27 AM, Gideon Simpson
> >>
> >> <[EMAIL PROTECTED]> wrote:
> >>> I built from source.  I removed my existing installation of
> >>> matplotlib, but I am still getting the same error.  I had not been
> >>> using setup.cfg, but edited the template so that the experimental
> >>> packages were turned off.  I am still getting this error.
> >>
> >> Check to see if you have a matplotlibrc file in ~/.matplotlib.  If
> >> so,
> >> replace it with the latest one from site-packages/matplotlib/mpl-data
> >> (or comment out the autolayout line in the one you already have in
> >> ~/.matplotlib).
> >>
> >> Let us know if this works.
> >>
> >> JDH
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to