--- the forwarded message follows ---
--- Begin Message ---
On Thu, 29 Jan 2009 16:11:35 -0500
 Michael Droettboom <md...@stsci.edu> wrote:
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

Hi Mike,

I installed xlwt.

I am using python2.6 on opensuse11.1  and

matplotlib.__version__
'0.98.6svn'

"/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 "artist_tests.py", line 30, in <module>
File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/collections.py", line 917, in __init__
    self.set_segments(segments)
File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/collections.py", line 927, in set_segments
    seg = np.asarray(seg, np.float_)
File "/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/numeric.py", line 230, in asarray
    return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.

  warnings.warn(s)
examples/units/bar_demo2 ...examples/units/bar_unit_demo /home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py:190: UserWarning: Exception running plot /home/nwagner/svn/matplotlib/doc/mpl_examples/units/bar_unit_demo.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 "bar_unit_demo.py", line 15, in <module>
File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/axes.py", line 4134, in bar
    fmt=None, ecolor=ecolor, capsize=capsize)
File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/axes.py", line 4678, in errorbar
    in cbook.safezip(y,yerr)]
TypeError: unsupported operand type(s) for -: 'int' and 'TaggedValue'

  warnings.warn(s)
examples/units/basic_units examples/units/date_converter ...examples/units/date_support examples/units/ellipse_with_units /home/nwagner/svn/matplotlib/doc/sphinxext/plot_directive.py:190: UserWarning: Exception running plot /home/nwagner/svn/matplotlib/doc/mpl_examples/units/ellipse_with_units.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 "ellipse_with_units.py", line 31, in <module>
File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/axes.py", line 5722, in fill for poly in self._get_patches_for_fill(*args, **kwargs): File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/axes.py", line 396, in _grab_next_args
    for seg in self._plot_2_args(remaining, **kwargs):
File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/axes.py", line 333, in _plot_2_args
    func(x, y)
File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/axes.py", line 316, in makefill
    (x[:,np.newaxis],y[:,np.newaxis])),
TypeError: list indices must be integers, not tuple
Nils

--- End Message ---
------------------------------------------------------------------------------
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