python make.py html

Hi all,

python make.py html failed with

/home/nwagner/svn/matplotlib/doc/faq/environment_variables_faq.rst:: WARNING: document isn't included in any toctree
/home/nwagner/svn/matplotlib/doc/mpl_toolkits/axes_grid/index.rst:: WARNING: document isn't included in any toctree
/home/nwagner/svn/matplotlib/doc/mpl_toolkits/mplot3d/index.rst:: WARNING: document isn't included in any toctree
/home/nwagner/svn/matplotlib/doc/users/arraydata.rst:: WARNING: document isn't included in any toctree
/home/nwagner/svn/matplotlib/doc/users/plotting.rst:: WARNING: document isn't included in any toctree
done
preparing documents... done
Exception occurred while building, starting debugger:
Traceback (most recent call last):
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/cmdline.py", line 172, in main
     app.build(all_files, filenames)
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/application.py", line 129, in build
     self.builder.build_update()
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/__init__.py", line 255, in build_update
     'out of date' % len(to_build))
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/__init__.py", line 310,in build
     self.write(docnames, list(updated_docnames), method)
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/__init__.py", line 349,in write
     self.write_doc(docname, doctree)
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/html.py", line 349, in write_doc
     ctx = self.get_doc_context(docname, body, metatags)
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/html.py", line 319, in get_doc_context
     toc = self.render_partial(self.env.get_toc_for(docname))['fragment']
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/environment.py", line 921, in get_toc_for
     toc = self.tocs[docname].deepcopy()
KeyError: 'users/annotations'

/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/environment.py(921)get_toc_for()

-> toc = self.tocs[docname].deepcopy()
(Pdb)

I am using

matplotlib.__version__

'1.0.svn'

Python 2.6 (r26:66714, Feb 3 2009, 20:49:49)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2

I'm not seeing that, but I'm running Sphinx 0.6.3. It also looks like the kind of thing where removing the build directory may help.

Mike

Nils Wagner wrote:

···

Hi all,

python make.py html failed with

/home/nwagner/svn/matplotlib/doc/faq/environment_variables_faq.rst:: WARNING: document isn't included in any toctree
/home/nwagner/svn/matplotlib/doc/mpl_toolkits/axes_grid/index.rst:: WARNING: document isn't included in any toctree
/home/nwagner/svn/matplotlib/doc/mpl_toolkits/mplot3d/index.rst:: WARNING: document isn't included in any toctree
/home/nwagner/svn/matplotlib/doc/users/arraydata.rst:: WARNING: document isn't included in any toctree
/home/nwagner/svn/matplotlib/doc/users/plotting.rst:: WARNING: document isn't included in any toctree
done
preparing documents... done
Exception occurred while building, starting debugger:
Traceback (most recent call last):
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/cmdline.py", line 172, in main
     app.build(all_files, filenames)
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/application.py", line 129, in build
     self.builder.build_update()
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/__init__.py", line 255, in build_update
     'out of date' % len(to_build))
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/__init__.py", line 310,in build
     self.write(docnames, list(updated_docnames), method)
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/__init__.py", line 349,in write
     self.write_doc(docname, doctree)
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/html.py", line 349, in write_doc
     ctx = self.get_doc_context(docname, body, metatags)
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/builders/html.py", line 319, in get_doc_context
     toc = self.render_partial(self.env.get_toc_for(docname))['fragment']
   File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/environment.py", line 921, in get_toc_for
     toc = self.tocs[docname].deepcopy()
KeyError: 'users/annotations'
  

/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-0.6.1-py2.6.egg/sphinx/environment.py(921)get_toc_for()
    

-> toc = self.tocs[docname].deepcopy()
(Pdb)

I am using

matplotlib.__version__
        

'1.0.svn'

Python 2.6 (r26:66714, Feb 3 2009, 20:49:49)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA