help error

I was trying to look up a module, and, after installing matplotlib 0.98.1, I get:

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']

This looks like you have the experimental "traited config" turned on,
and Michael may have not cleaned autolayout from the tconfig defaults
when he removed it. Did you build from source or get your package
from elsewhere. If building from source, edit setup.cfg next to
setup.py and make sure that the traited config is off

  ## Experimental config package support, this should only be enabled by
  ## matplotlib developers, for matplotlib development
  enthought.traits = False
  configobj = False

If you got it from elsewhere, let the packager know this should be
turned off. And Darren, can you make sure that tconfig is updated
vis-a-vis the autolayout param removal.

JDH

···

On Mon, Jun 23, 2008 at 11:41 PM, Gideon Simpson <grs2103@...1353...> wrote:

I was trying to look up a module, and, after installing matplotlib
0.98.1, I get:

  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']

I removed the autolayout key from all the various config files in SVN, but of course, forgot that any users with already-installed copies of matplotlibrc will get this error. Should I put the key back in as a deprecated no-op?

Cheers,
Mike

John Hunter wrote:

···

On Mon, Jun 23, 2008 at 11:41 PM, Gideon Simpson <grs2103@...1353...> wrote:
  

I was trying to look up a module, and, after installing matplotlib
0.98.1, I get:
    
  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']
    
This looks like you have the experimental "traited config" turned on,
and Michael may have not cleaned autolayout from the tconfig defaults
when he removed it. Did you build from source or get your package
from elsewhere. If building from source, edit setup.cfg next to
setup.py and make sure that the traited config is off

  ## Experimental config package support, this should only be enabled by
  ## matplotlib developers, for matplotlib development
  enthought.traits = False
  configobj = False

If you got it from elsewhere, let the packager know this should be
turned off. And Darren, can you make sure that tconfig is updated
vis-a-vis the autolayout param removal.

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
matplotlib-users List Signup and Options
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Yes, that is probably a good idea. Issue a warning pointing them to
the latest rc (http://matplotlib.sf.net/matplotlibrc).

JDH

···

On Tue, Jun 24, 2008 at 7:05 AM, Michael Droettboom <mdroe@...86...> wrote:

I removed the autolayout key from all the various config files in SVN,
but of course, forgot that any users with already-installed copies of
matplotlibrc will get this error. Should I put the key back in as a
deprecated no-op?

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.

-gideon

···

On Jun 24, 2008, at 7:31 AM, John Hunter wrote:

On Mon, Jun 23, 2008 at 11:41 PM, Gideon Simpson > <grs2103@...1353...> wrote:

I was trying to look up a module, and, after installing matplotlib
0.98.1, I get:

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']

This looks like you have the experimental "traited config" turned on,
and Michael may have not cleaned autolayout from the tconfig defaults
when he removed it. Did you build from source or get your package
from elsewhere. If building from source, edit setup.cfg next to
setup.py and make sure that the traited config is off

## Experimental config package support, this should only be enabled by
## matplotlib developers, for matplotlib development
enthought.traits = False
configobj = False

If you got it from elsewhere, let the packager know this should be
turned off. And Darren, can you make sure that tconfig is updated
vis-a-vis the autolayout param removal.

JDH

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

···

On Tue, Jun 24, 2008 at 8:27 AM, Gideon Simpson <grs2103@...1353...> 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.

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 > <grs2103@...1353...> 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

Just tried the 0.98.2, and am still getting:

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 >> <grs2103@...1353...> 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
matplotlib-users List Signup and Options

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:

> 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 > >> > >> <grs2103@...1353...> 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
> matplotlib-users List Signup and Options

-------------------------------------------------------------------------
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
matplotlib-users List Signup and Options

It's already set to False

I've completely blown away my installation, including removing ~/.matplotlib, and this problem is still showing up.
-gideon

···

On Jul 1, 2008, at 7:20 AM, Darren Dale wrote:

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:

> 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):
s 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 >>>> >>>> <grs2103@...1353...> 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
matplotlib-users List Signup and Options

-------------------------------------------------------------------------
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
matplotlib-users List Signup and Options

It's already set to False

I've completely blown away my installation, including removing
~/.matplotlib, and this problem is still showing up.
-gideon

Please run a test pylab script with --verbose-debug and post the output

···

On Tue, Jul 1, 2008 at 8:13 AM, Gideon Simpson <grs2103@...1353...> wrote:

python somefile.py --verbose-debug >> run.out

gideon@...2077...$ python simple_plot.py --verbose-debug >>run.out

$HOME=/Users/gideon
CONFIGDIR=/Users/gideon/.matplotlib
matplotlib data path /opt/lib/python2.5/site-packages/matplotlib/mpl-data
loaded rc file /opt/lib/python2.5/site-packages/matplotlib/mpl-data/matplotlibrc
matplotlib version 0.98.2
verbose.level debug
interactive is False
units is False
platform is darwin
loaded modules: ['numpy.lib.pkgutil', 'numpy.lib.tempfile', 'numpy.ma.types', 'xml.sax.urlparse', '_sha512', 'matplotlib.errno', 'pylab', '_bisect', 'numpy.core.defchararray', 'pprint', 'numpy.lib.bz2', 'matplotlib.tempfile', 'distutils.sysconfig', 'ctypes._endian', 'encodings.encodings', 'matplotlib.colors', 'numpy.core.numerictypes', 'numpy.testing.sys', 'numpy.core.info', 'xml', 'numpy.fft.types', 'numpy.ma.operator', 'numpy.ma.cPickle', 'distutils', 'pytz.pytz', 'numpy.random.info', 'tempfile', 'mmap', 'xml.sax.urllib', 'numpy.linalg', 'matplotlib.threading', 'numpy.testing.operator', 'imp', 'compiler.sys', 'collections', 'compiler.pyassem', 'numpy.core.umath', '_struct', 'unittest', 'compiler.new', 'numpy.lib.numpy', 'numpy.testing.types', 'compiler.ast', 'numpy.ma.sys', 'matplotlib.matplotlib', 'string', 'matplotlib.cbook', 'numpy.testing.os', 'matplotlib.locale', 'numpy.lib.arraysetops', 'numpy.testing.unittest', 'numpy.lib.inspect', 'encodings.utf_8', 'matplotlib.__future__', 'datetime', 'numpy.ctypeslib', 'numpy.testing.re', 'itertools', 'numpy.version', 'numpy.lib.re', 'distutils.re', 'ctypes.os', 'compiler.token', 'numpy.core.os', 'compiler', 'numpy.lib.type_check', 'httplib', 'bisect', 'signal', 'compiler.consts', 'numpy.lib._datasource', 'random', 'numpy.ma.extras', 'token', 'numpy.fft.fftpack_lite', 'shlex', 'ctypes.ctypes', 'xml.sax.xmlreader', 'matplotlib.pytz', 'numpy.__builtin__', 'numpy.testing.shlex', 'dis', 'pytz.tzfile', 'cStringIO', 'zlib', 'numpy.numpy', 'matplotlib.StringIO', 'numpy.random.mtrand', 'numpy.add_newdocs', 'numpy.lib.getlimits', 'base64', 'compiler.transformer', 'ctypes.gestalt', 'xml.sax.saxutils', 'compiler.struct', 'pkgutil', 'compiler.parser', 'numpy.lib.sys', 'encodings', 'compiler.symbol', 'numpy.lib.io', 'numpy.ma.itertools', 'StringIO', 'dateutil', 'pydoc', 'pytz.cStringIO', 'numpy.imp', 'numpy.ctypes', 'matplotlib.warnings', 'rfc822', 'matplotlib.string', 'struct', 'urllib', 'matplotlib.sys', 're', 'numpy.lib._compiled_base', 'threading', 'numpy.core.mmap', 'new', 'numpy.lib.struct', 'symbol', 'math', 'numpy.fft.helper', 'fcntl', 'numpy.ma.warnings', 'compiler.imp', 'pytz.tzinfo', 'UserDict', 'inspect', 'distutils.os', 'matplotlib', 'urllib2', 'pytz.os', 'fnmatch', 'numpy.lib.info', 'numpy.testing', 'numpy.testing.glob', 'numpy.lib.warnings', 'ctypes.struct', 'codecs', 'numpy.core._sort', 'numpy.os', 'compiler.visitor', 'md5', 'numpy.testing.difflib', 'matplotlib.sre_constants', 'matplotlib.os', 'thread', 'numpy.lib.ufunclike', 'numpy.core.memmap', 'traceback', 'numpy.testing.warnings', 'weakref', 'numpy.core._internal', 'numpy.fft.fftpack', 'opcode', 'numpy.core.scalarmath', 'numpy.linalg.lapack_lite', 'ctypes', 'distutils.sys', 'os', 'marshal', 'sre_parse', 'numpy.lib.shutil', '__future__', 'numpy.core.string', 'matplotlib.copy', 'xml.sax.types', 'numpy.random.numpy', '_sre', 'numpy.lib.gzip', 'numpy.core.sys', 'numpy.random', 'numpy.linalg.numpy', '__builtin__', 'locale', 'numpy.lib.twodim_base', 'numpy.ma.core', 'matplotlib.re', 'numpy.core.cPickle', 'operator', 'numpy.testing.parametric', 'numpy.core.arrayprint', 'distutils.string', 'ctypes._ctypes', '_heapq', 'ctypes.sys', 'matplotlib.datetime', 'posixpath', 'numpy.lib.financial', 'numpy.core.multiarray', 'errno', 'numpy.testing.numpy', '_socket', 'binascii', 'numpy.lib.compiler', 'sre_constants', 'compiler.cStringIO', '_sha256', 'compiler.os', 'matplotlib.md5', 'types', 'pytz.sys', 'tokenize', '_ctypes', 'xml.sax.handler', 'numpy.core.numpy', 'numpy', 'numpy.lib.urlparse', 'matplotlib.dateutil', 'numpy.core.defmatrix', 'xml.sax.os', 'cPickle', 'matplotlib.xml', '_codecs', '_locale', 'matplotlib.traceback', 'numpy.__config__', 'numpy.fft.info', 'numpy.lib.types', 'pytz', 'matplotlib.pyparsing', 'compiler.copy_reg', 'gestalt', 'numpy.ma.numpy', 'copy', 'numpy.core.re', 'socket', '_types', 'numpy.core.fromnumeric', 'hashlib', 'compiler.future', 'numpy.core.copy_reg', 'numpy.lib.scimath', 'numpy.fft', 'numpy.lib', 'compiler.dis', 'posix', 'encodings.aliases', 'matplotlib.fontconfig_pattern', 'exceptions', 'xml.sax._exceptions', 'pytz.bisect', 'numpy.core.cStringIO', 'numpy.core.ctypes', 'mimetools', 'distutils.distutils', 'copy_reg', 'sre_compile', 'xml.sax', 'compiler.compiler', '_hashlib', '_random', 'parser', 'site', 'numpy.lib.polynomial', 'numpy._import_tools', 'numpy.glob', 'zipimport', 'pytz.struct', 'numpy.lib.time', '__main__', 'compiler.misc', 'numpy.core.records', 'shutil', 'numpy.lib.cPickle', 'numpy.sys', 'matplotlib.weakref', 'numpy.lib.pydoc', 'numpy.core._dotblas', 'numpy.testing.traceback', 'strop', 'compiler.pycodegen', 'numpy.core.numeric', 'numpy.linalg.info', 'encodings.codecs', 'gettext', 'pytz.datetime', 'heapq', 'numpy.lib.cStringIO', 'numpy.core', 'numpy.testing.info', 'matplotlib.rcsetup', 'matplotlib.time', 'pytz.sets', 'matplotlib.numpy', 'xml.sax.codecs', 'stat', '_ssl', 'numpy.lib.utils', 'numpy.lib.index_tricks', 'numpy.testing.utils', 'warnings', 'encodings.types', 'numpy.lib.math', 'glob', 'numpy.lib.shape_base', 'numpy.core.types', 'numpy.fft.numpy', 'repr', 'sys', 'numpy.core.warnings', 'numpy.lib.urllib2', 'compiler.types', 'numpy.core.__builtin__', 'xml.sax.sys', 'numpy.lib.format', 'numpy.lib.os', 'numpy.ma', 'os.path', 'bz2', 'pytz.gettext', 'numpy.lib.pprint', 'compiler.symbols', 'sets', 'matplotlib.distutils', '_weakref', 'numpy.testing.numpytest', 'difflib', 'distutils.errors', 'urlparse', 'linecache', 'matplotlib.shutil', 'numpy.lib.function_base', 'numpy.testing.imp', 'time', 'gzip', 'numpy.lib.machar', 'compiler.marshal', 'numpy.linalg.linalg', 'compiler.syntax']
Using fontManager instance from /Users/gideon/.matplotlib/fontManager.cache
numerix numpy 1.1.0
backend GTKAgg version 2.6.3
  findfont found Bitstream Vera Sans, normal, normal 400, normal, 12.0
findfont returning /opt/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
  findfont found Bitstream Vera Sans, normal, normal 400, normal, 14.4
findfont returning /opt/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf

···

On Jul 1, 2008, at 9:18 AM, John Hunter wrote:

On Tue, Jul 1, 2008 at 8:13 AM, Gideon Simpson > <grs2103@...1353...> wrote:

It's already set to False

I've completely blown away my installation, including removing
~/.matplotlib, and this problem is still showing up.
-gideon

Please run a test pylab script with --verbose-debug and post the output

python somefile.py --verbose-debug >> run.out

This is probably your culprit -- please post the

/opt/lib/python2.5/site-packages/matplotlib/mpl-data/matplotlibrc

file

···

On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson <grs2103@...1353...> wrote:

gideon@...2077...$ python simple_plot.py --verbose-debug >>run.out

$HOME=/Users/gideon
CONFIGDIR=/Users/gideon/.matplotlib
matplotlib data path /opt/lib/python2.5/site-packages/matplotlib/mpl-
data
loaded rc file /opt/lib/python2.5/site-packages/matplotlib/mpl-data/
matplotlibrc

### MATPLOTLIBRC FORMAT

# This is a sample matplotlib configuration file - you can find a copy
# of it on your system in
# site-packages/matplotlib/mpl-data/matplotlibrc. If you edit it
# there, please note that it will be overridden in your next install.
# If you want to keep a permanent local bopy that will not be
# over-written, place it in HOME/.matplotlib/matplotlibrc (unix/linux
# like systems) and C:\Documents and Settings\yourname\.matplotlib
# (win32 systems).

···

#
# This file is best viewed in a editor which supports python mode
# syntax highlighting # Blank lines, or lines starting with a comment
# symbol, are ignored, as are trailing comments. Other lines must
# have the format # key : val # optional comment # Colors: for the
# color values below, you can either use - a matplotlib color string,
# such as r, k, or b - an rgb tuple, such as (1.0, 0.5, 0.0) - a hex
# string, such as ff00ff or #ff00ff - a scalar grayscale intensity
# such as 0.75 - a legal html color name, eg red, blue, darkslategray

#### CONFIGURATION BEGINS HERE
# the default backend; one of GTK GTKAgg GTKCairo CocoaAgg FltkAgg
# QtAgg Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG Template
backend : GTKAgg
numerix : numpy # numpy, Numeric or numarray
#maskedarray : False # True to use external maskedarray module
                            # instead of numpy.ma; this is a temporary
                            # setting for testing maskedarray.
#interactive : False # see http://matplotlib.sourceforge.net/interactive.html
#toolbar : toolbar2 # None | classic | toolbar2
#timezone : UTC # a pytz timezone string, eg US/Central or Europe/Paris

# Where your matplotlib data lives if you installed to a non-default
# location. This is where the matplotlib fonts, bitmaps, etc reside
#datapath : /home/jdhunter/mpldata

### LINES
# See http://matplotlib.sourceforge.net/matplotlib.lines.html for more
# information on line properties.
#lines.linewidth : 1.0 # line width in points
#lines.linestyle : - # solid line
#lines.color : blue
#lines.marker : None # the default marker
#lines.markeredgewidth : 0.5 # the line width around the marker symbol
#lines.markersize : 6 # markersize, in points
#lines.dash_joinstyle : miter # miter|round|bevel
#lines.dash_capstyle : butt # butt|round|projecting
#lines.solid_joinstyle : miter # miter|round|bevel
#lines.solid_capstyle : projecting # butt|round|projecting
#lines.antialiased : True # render lines in antialised (no jaggies)

### PATCHES
# Patches are graphical objects that fill 2D space, like polygons or
# circles. See
# http://matplotlib.sourceforge.net/matplotlib.patches.html for more
# information on patch properties
#patch.linewidth : 1.0 # edge width in points
#patch.facecolor : blue
#patch.edgecolor : black
#patch.antialiased : True # render patches in antialised (no jaggies)

### FONT
#
# font properties used by text.Text. See
# http://matplotlib.sourceforge.net/matplotlib.font_manager.html for more
# information on font properties. The 6 font properties used for font
# matching are given below with their default values.
#
# The font.family property has five values: 'serif' (e.g. Times),
# 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery),
# 'fantasy' (e.g. Western), and 'monospace' (e.g. Courier). Each of
# these font families has a default list of font names in decreasing
# order of priority associated with them.
#
# The font.style property has three values: normal (or roman), italic
# or oblique. The oblique style will be used for italic, if it is not
# present.
#
# The font.variant property has two values: normal or small-caps. For
# TrueType fonts, which are scalable fonts, small-caps is equivalent
# to using a font size of 'smaller', or about 83% of the current font
# size.
#
# The font.weight property has effectively 13 values: normal, bold,
# bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as
# 400, and bold is 700. bolder and lighter are relative values with
# respect to the current weight.
#
# The font.stretch property has 11 values: ultra-condensed,
# extra-condensed, condensed, semi-condensed, normal, semi-expanded,
# expanded, extra-expanded, ultra-expanded, wider, and narrower. This
# property is not currently implemented.
#
# The font.size property is the default font size for text, given in pts.
# 12pt is the standard value.
#
#font.family : sans-serif
#font.style : normal
#font.variant : normal
#font.weight : medium
#font.stretch : normal
# note that font.size controls default text sizes. To configure
# special text sizes tick labels, axes, labels, title, etc, see the rc
# settings for axes and ticks. Special text sizes can be defined
# relative to font.size, using the following values: xx-small, x-small,
# small, medium, large, x-large, xx-large, larger, or smaller
#font.size : 12.0
#font.serif : Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif
#font.sans-serif : Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
#font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, cursive
#font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, Western, fantasy
#font.monospace : Bitstream Vera Sans Mono, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace

### TEXT
# text properties used by text.Text. See
# http://matplotlib.sourceforge.net/matplotlib.text.html for more
# information on text properties

#text.color : black

### LaTeX customizations. See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex
#text.usetex : False # use latex for all text handling. The following fonts
                               # are supported through the usual rc parameter settings:
                               # new century schoolbook, bookman, times, palatino,
                               # zapf chancery, charter, serif, sans-serif, helvetica,
                               # avant garde, courier, monospace, computer modern roman,
                               # computer modern sans serif, computer modern typewriter
                               # If another font is desired which can loaded using the
                               # LaTeX \usepackage command, please inquire at the
                               # matplotlib mailing list
#text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling
                             # unicode strings.
#text.latex.preamble : # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
                             # AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
                             # IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
                             # preamble is a comma separated list of LaTeX statements
                             # that are included in the LaTeX document preamble.
                             # An example:
                             # text.latex.preamble : \usepackage{bm},\usepackage{euler}
                             # The following packages are always loaded with usetex, so
                             # beware of package collisions: color, geometry, graphicx,
                             # type1cm, textcomp. Adobe Postscript (PSSNFS) font packages
                             # may also be loaded, depending on your font settings

#text.dvipnghack : None # some versions of dvipng don't handle alpha
                              # channel properly. Use True to correct
                              # and flush ~/.matplotlib/tex.cache
                              # before testing and False to force
                              # correction off. None will try and
                              # guess based on your dvipng version

#text.markup : 'plain' # Affects how text, such as titles and labels, are
                                 # interpreted by default.
                                 # 'plain': As plain, unformatted text
        # 'tex': As TeX-like text. Text between $'s will be
        # formatted as a TeX math expression.
        # This setting has no effect when text.usetex is True.
        # In that case, all text will be sent to TeX for
        # processing.

# The following settings allow you to select the fonts in math mode.
# They map from a TeX font name to a fontconfig font pattern.
# These settings are only used if mathtext.fontset is 'custom'.
# Note that this "custom" mode is unsupported and may go away in the
# future.
#mathtext.cal : cursive
#mathtext.rm : serif
#mathtext.tt : monospace
#mathtext.it : serif:italic
#mathtext.bf : serif:bold
#mathtext.sf : sans
#mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix',
                        # 'stixsans' or 'custom'
#mathtext.fallback_to_cm : True # When True, use symbols from the Computer Modern
               # fonts when a symbol can not be found in one of
         # the custom math fonts.

### AXES
# default face and edge color, default tick sizes,
# default fontsizes for ticklabels, and so on. See
# http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes
#axes.hold : True # whether to clear the axes by default on
#axes.facecolor : white # axes background color
#axes.edgecolor : black # axes edge color
#axes.linewidth : 1.0 # edge linewidth
#axes.grid : False # display grid or not
#axes.titlesize : large # fontsize of the axes title
#axes.labelsize : medium # fontsize of the x any y labels
#axes.labelcolor : black
#axes.axisbelow : False # whether axis gridlines and ticks are below
                               # the axes elements (lines, text, etc)
#axes.formatter.limits : -7, 7 # use scientific notation if log10
                                # of the axis range is smaller than the
                                # first or larger than the second

#polaraxes.grid : True # display grid on polar axes

### TICKS
# see http://matplotlib.sourceforge.net/matplotlib.axis.html#Ticks
#xtick.major.size : 4 # major tick size in points
#xtick.minor.size : 2 # minor tick size in points
#xtick.major.pad : 4 # distance to major tick label in points
#xtick.minor.pad : 4 # distance to the minor tick label in points
#xtick.color : k # color of the tick labels
#xtick.labelsize : medium # fontsize of the tick labels
#xtick.direction : in # direction: in or out

#ytick.major.size : 4 # major tick size in points
#ytick.minor.size : 2 # minor tick size in points
#ytick.major.pad : 4 # distance to major tick label in points
#ytick.minor.pad : 4 # distance to the minor tick label in points
#ytick.color : k # color of the tick labels
#ytick.labelsize : medium # fontsize of the tick labels
#ytick.direction : in # direction: in or out

### GRIDS
#grid.color : black # grid color
#grid.linestyle : : # dotted
#grid.linewidth : 0.5 # in points

### Legend
#legend.isaxes : True
#legend.numpoints : 2 # the number of points in the legend line
#legend.fontsize : large
#legend.pad : 0.2 # the fractional whitespace inside the legend border
#legend.markerscale : 1.0 # the relative size of legend markers vs. original
# the following dimensions are in axes coords
#legend.labelsep : 0.010 # the vertical space between the legend entries
#legend.handlelen : 0.05 # the length of the legend lines
#legend.handletextsep : 0.02 # the space between the legend line and legend text
#legend.axespad : 0.02 # the border between the axes and legend edge
#legend.shadow : False

### FIGURE
# See http://matplotlib.sourceforge.net/matplotlib.figure.html#Figure
#figure.figsize : 8, 6 # figure size in inches
#figure.dpi : 80 # figure dots per inch
#figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray
#figure.edgecolor : white # figure edgecolor

# The figure subplot parameters. All dimensions are fraction of the
# figure width or height
#figure.subplot.left : 0.125 # the left side of the subplots of the figure
#figure.subplot.right : 0.9 # the right side of the subplots of the figure
#figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure
#figure.subplot.top : 0.9 # the top of the subplots of the figure
#figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots
#figure.subplot.hspace : 0.2 # the amount of height reserved for white space between subplots

### IMAGES
#image.aspect : equal # equal | auto | a number
#image.interpolation : bilinear # see help(imshow) for options
#image.cmap : jet # gray | jet etc...
#image.lut : 256 # the size of the colormap lookup table
#image.origin : upper # lower | upper

### CONTOUR PLOTS
#contour.negative_linestyle : dashed # dashed | solid

### SAVING FIGURES
# the default savefig params can be different for the GUI backends.
# Eg, you may want a higher resolution, or to make the figure
# background white
#savefig.dpi : 100 # figure dots per inch
#savefig.facecolor : white # figure facecolor when saving
#savefig.edgecolor : white # figure edgecolor when saving

#cairo.format : png # png, ps, pdf, svg

# tk backend params
#tk.window_focus : False # Maintain shell focus for TkAgg
#tk.pythoninspect : False # tk sets PYTHONINSEPCT

# ps backend params
#ps.papersize : letter # auto, letter, legal, ledger, A0-A10, B0-B10
#ps.useafm : False # use of afm fonts, results in small files
#ps.usedistiller : False # can be: None, ghostscript or xpdf
                                           # Experimental: may produce smaller files.
                                           # xpdf intended for production of publication quality files,
                                           # but requires ghostscript, xpdf and ps2eps
#ps.distiller.res : 6000 # dpi
#ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)

# pdf backend params
#pdf.compression : 6 # integer from 0 to 9
                        # 0 disables compression (good for debugging)
#pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)

# svg backend params
#svg.image_inline : True # write raster image data directly into the svg file
#svg.image_noscale : False # suppress scaling of raster data embedded in SVG
#svg.embed_char_paths : True # embed character outlines in the SVG file

# Set the verbose flags. This controls how much information
# matplotlib gives you at runtime and where it goes. The verbosity
# levels are: silent, helpful, debug, debug-annoying. Any level is
# inclusive of all the levels below it. If you setting is debug,
# you'll get all the debug and helpful messages. When submitting
# problems to the mailing-list, please set verbose to helpful or debug
# and paste the output into your report.
#
# The fileo gives the destination for any calls to verbose.report.
# These objects can a filename, or a filehandle like sys.stdout.
#
# You can override the rc default verbosity from the command line by
# giving the flags --verbose-LEVEL where LEVEL is one of the legal
# levels, eg --verbose-helpful.
#
# You can access the verbose instance in your code
# from matplotlib import verbose.
#verbose.level : silent # one of silent, helpful, debug, debug-annoying
#verbose.fileo : sys.stdout # a log filename, sys.stdout or sys.stderr

On Jul 1, 2008, at 9:33 AM, John Hunter wrote:

On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson > <grs2103@...1353...> wrote:

gideon@...2077...$ python simple_plot.py --verbose-debug >>run.out

$HOME=/Users/gideon
CONFIGDIR=/Users/gideon/.matplotlib
matplotlib data path /opt/lib/python2.5/site-packages/matplotlib/mpl-
data
loaded rc file /opt/lib/python2.5/site-packages/matplotlib/mpl-data/
matplotlibrc

This is probably your culprit -- please post the

/opt/lib/python2.5/site-packages/matplotlib/mpl-data/matplotlibrc

file

I'm a bit stumped. I'd like to see the following shell output of a
clean build and install -- could you run these and paste the entire
shell session as well as the build.out and run.out files? Hopefully
we can crack this nut!

cd ~/mpl # or whatever your src dir is
rm -rf build
sudo rm -rf /opt/lib/python2.5/site-packages/matplotlib*
grep CONFIG lib/matplotlib/__init__.py
python -c 'import matplotlib; print matplotlib.__file__'
cat setup.cfg
sudo python setup.py install --prefix=/opt >& build.out
cd examples/pylab_examples/
python -c 'import matplotlib; print matplotlib.__file__'
python simple_plot.py --verbose-debug >& run.out

···

On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson <grs2103@...1353...> wrote:

gideon@...2077...$ python simple_plot.py --verbose-debug >>run.out

$HOME=/Users/gideon

grep CONFIG lib/matplotlib/init.py

NEWCONFIG = False

MPLCONFIGDIR environment variable

configdir = os.environ.get(‘MPLCONFIGDIR’)

raise RuntimeError(‘Could not write to MPLCONFIGDIR=“%s”’%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, h))

raise RuntimeError(“Failed to create %s/.matplotlib; consider setting MPLCONFIGDIR to a writable directory for matplotlib configuration data”%h)

get_configdir = verbose.wrap(‘CONFIGDIR=%s’, _get_configdir, always=False)

if NEWCONFIG:

python -c ‘import matplotlib; print matplotlib.file

Traceback (most recent call last):

File “”, line 1, in

ImportError: No module named matplotlib

cat setup.cfg
I have no setup.cfg

build.out (153 KB)

run.out (6.22 KB)

···

sudo python setup.py install --prefix=/opt >& build.out

There was no traceback in run.out -- does this mean everything is
working for you now?

JDH

···

On Tue, Jul 1, 2008 at 9:14 AM, Gideon Simpson <grs2103@...1353...> wrote:

python -c 'import matplotlib; print matplotlib.__file__'
python simple_plot.py --verbose-debug >& run.out\

matplotlib itself seems to work, in the sense that it makes figures and puts the lines in the right places.

however, that error is still showing up if i go to help() then modules

···

On Jul 1, 2008, at 11:01 AM, John Hunter wrote:

On Tue, Jul 1, 2008 at 9:14 AM, Gideon Simpson > <grs2103@...1353...> wrote:

python -c 'import matplotlib; print matplotlib.__file__'
python simple_plot.py --verbose-debug >& run.out\

There was no traceback in run.out -- does this mean everything is
working for you now?

JDH

So no one else has seen this bug? I'm on an OS X 10.5.4 machine with fink python 2.5.2 and associated backend packages. i'm using my own builds of numpy/scipy and matplotlib.
-gideon

···

On Jul 1, 2008, at 11:16 AM, Gideon Simpson wrote:

matplotlib itself seems to work, in the sense that it makes figures
and puts the lines in the right places.

however, that error is still showing up if i go to help() then modules
On Jul 1, 2008, at 11:01 AM, John Hunter wrote:

On Tue, Jul 1, 2008 at 9:14 AM, Gideon Simpson >> <grs2103@...1353...> wrote:

python -c 'import matplotlib; print matplotlib.__file__'
python simple_plot.py --verbose-debug >& run.out\

There was no traceback in run.out -- does this mean everything is
working for you now?

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
matplotlib-users List Signup and Options

Hi Gideon,

So no one else has seen this bug? I'm on an OS X 10.5.4 machine with
fink python 2.5.2 and associated backend packages. i'm using my own
builds of numpy/scipy and matplotlib.
-gideon

(Please don't top post, it makes it difficult to follow the conversation.)

When I run::

  help()
  > modules

I get an error related to Moin:

···

On Wednesday 02 July 2008 11:34:46 am Gideon Simpson wrote:

---------------------------------------------------------------------------
TypeError Traceback (most recent call last)

/home/darren/<ipython console> in <module>()

/usr/lib64/python2.5/site.pyc in __call__(self, *args, **kwds)
    345 def __call__(self, *args, **kwds):
    346 import pydoc
--> 347 return pydoc.help(*args, **kwds)
    348
    349 def sethelper():

/usr/lib64/python2.5/pydoc.pyc in __call__(self, request)
   1646 else:
   1647 self.intro()
-> 1648 self.interact()
   1649 self.output.write('''
   1650 You are now leaving help and returning to the Python interpreter.

/usr/lib64/python2.5/pydoc.pyc in interact(self)
   1664 request = strip(replace(request, '"', '', "'", ''))
   1665 if lower(request) in ('q', 'quit'): break
-> 1666 self.help(request)
   1667
   1668 def getline(self, prompt):

/usr/lib64/python2.5/pydoc.pyc in help(self, request)
   1680 elif request == 'keywords': self.listkeywords()
   1681 elif request == 'topics': self.listtopics()
-> 1682 elif request == 'modules': self.listmodules()
   1683 elif request[:8] == 'modules ':
   1684 self.listmodules(split(request)[1])

/usr/lib64/python2.5/pydoc.pyc in listmodules(self, key)
   1801 if find(modname, '.') < 0:
   1802 modules[modname] = 1
-> 1803 ModuleScanner().run(callback)
   1804 self.list(modules.keys())
   1805 self.output.write('''

/usr/lib64/python2.5/pydoc.pyc in run(self, callback, key, completer)
   1852 callback(None, modname, desc)
   1853
-> 1854 for importer, modname, ispkg in pkgutil.walk_packages():
   1855 if self.quit:
   1856 break

/usr/lib64/python2.5/pkgutil.pyc in walk_packages(path, prefix, onerror)
    123 path = [p for p in path if not seen(p)]
    124
--> 125 for item in walk_packages(path, name+'.', onerror):
    126 yield item
    127

/usr/lib64/python2.5/pkgutil.pyc in walk_packages(path, prefix, onerror)
    108 if ispkg:
    109 try:
--> 110 __import__(name)
    111 except ImportError:
    112 if onerror is not None:

/usr/lib64/python2.5/site-packages/MoinMoin/macro/__init__.py in <module>()
     49
#############################################################################
     50
---> 51 class Macro:
     52 """ Macro handler
     53

/usr/lib64/python2.5/site-packages/MoinMoin/macro/__init__.py in Macro()
     81 # we need the lang macros to execute when html is generated,
     82 # to have correct dir and lang html attributes
---> 83 for lang in i18n.wikiLanguages():
     84 Dependencies[lang] =
     85

TypeError: 'NoneType' object is not iterable