Comments below.

Nils Wagner wrote:
> Hi all,
>
> I tried to build the HTML documentation.
> Here are some failures
>
>
> matplotlib/doc/mpl_examples/pylab_examples/axes_divider.py
> Traceback (most recent call last):
>    File 
> "/home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py", 
> line 187, in makefig
>      runfile(fullpath)
>    File 
> "/home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py", 
> line 128, in runfile
>      module = imp.load_module("__main__", fd, fname, 
> ('py', 'r', imp.PY_SOURCE))
>    File "axes_divider.py", line 168
>       rs, as = s.get_size(renderer)
>            ^
>   SyntaxError: invalid syntax
>
>    warnings.warn(s)
> examples/pylab_examples/axes_grid 
> /home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py:190: 
> UserWarning: Exception running plot 
> /home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/axes_grid.py
> Traceback (most recent call last):
>    File 
> "/home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py", 
> line 187, in makefig
>      runfile(fullpath)
>    File 
> "/home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py", 
> line 128, in runfile
>      module = imp.load_module("__main__", fd, fname, 
> ('py', 'r', imp.PY_SOURCE))
>    File "axes_grid.py", line 5, in <module>
>    File 
> "/home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/axes_divider.py",
>  
> line 168
>       rs, as = s.get_size(renderer)
>            ^
>   SyntaxError: invalid syntax
>   
I can't reproduce this here.  What version of matplotlib are you running?
>    warnings.warn(s)
>   Traceback (most recent call last):
>    File 
> "/home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py", 
> line 187, in makefig
>      runfile(fullpath)
>    File 
> "/home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py", 
> line 128, in runfile
>      module = imp.load_module("__main__", fd, fname, 
> ('py', 'r', imp.PY_SOURCE))
>    File "geo_demo.py", line 9, in <module>
>    File 
> "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/pyplot.py", 
> line 636, in subplot
>      a = fig.add_subplot(*args, **kwargs)
>    File 
> "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/figure.py", 
> line 690, in add_subplot
>      a = subplot_class_factory(projection_class)(self, 
> *args, **kwargs)
>    File 
> "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/axes.py", 
> line 7460, in __init__
>      self._axes_class.__init__(self, fig, self.figbox, 
> **kwargs)
>    File "custom_projection_example.py", line 35, in 
> __init__
> TypeError: expected string or Unicode object, NoneType 
> found
> oc/sphinxext/plot_directive.py:190: UserWarning: Exception 
> running plot 
> /home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/loadrec.py
> Traceback (most recent call last):
>    File 
> "/home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py", 
> line 187, in makefig
>      runfile(fullpath)
>    File 
> "/home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py", 
> line 128, in runfile
>      module = imp.load_module("__main__", fd, fname, 
> ('py', 'r', imp.PY_SOURCE))
>    File "loadrec.py", line 14, in <module>
>    File 
> "/home/nwagner/local/lib64/python2.6/site-packages/mpl_toolkits/exceltools.py",
>  
> line 31, in <module>
>      raise ImportError('You must install xlwt or 
> pyExcelterator to use the exceltools')
> ImportError: You must install xlwt or pyExcelterator to 
> use the exceltools
>   
This is exactly as it says:

"You must install xlwt or pyExcelterator to 
use the exceltools"

Since that particular example uses the exceltools, and you haven't installed 
it's requirements, it can't generate the example.  Worst case, however, it 
should continue to generate the rest of the docs without it.

Mike

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to