Hi Eric, it looks like numpy's extensions create their own toctree nodes, which don't have the new "numbered" attribute. I've now fixed this KeyError by making the attribute optional.
Georg Eric Firing schrieb: > The attached traceback came in the context of trying to build the numpy > docs after yesterday's circular import bug was fixed (thanks!): > > efir...@manini:~/programs/py/numpy_svn/trunk/doc$ make html > mkdir -p build > ./sphinxext/autosummary_generate.py source/reference/*.rst \ > -p dump.xml -o source/reference/generated > /home/efiring/programs/py/numpy_svn/trunk/doc/sphinxext/autosummary.py:59: > DeprecationWarning: The sphinx.builder module is deprecated; please > import builders from the respective sphinx.builders submodules. > import sphinx.addnodes, sphinx.roles, sphinx.builder > Failed to import 'numpy.doc.internals': > Failed to import 'numpy.__array_priority__': > Failed to import 'numpy.distutils.misc_util.get_numarray_include_dirs': > Failed to import 'numpy.generic.__squeeze__': > touch build/generate-stamp > mkdir -p build/html build/doctrees > LANG=C sphinx-build -b html -d build/doctrees source build/html > /home/efiring/programs/py/numpy_svn/trunk/doc/sphinxext/autosummary.py:59: > DeprecationWarning: The sphinx.builder module is deprecated; please > import builders from the respective sphinx.builders submodules. > import sphinx.addnodes, sphinx.roles, sphinx.builder > Sphinx v0.6 (hg), building html > loading pickled environment... not found > building [html]: targets for 942 source files that are out of date > updating environment: 942 added, 0 changed, 0 removed > reading sources... about bugs contents glossary license reference/arrays > reference/arrays.classes Exception occurred: > File "/usr/lib/python2.5/site-packages/docutils/nodes.py", line 447, > in __getitem__ > return self.attributes[key] > KeyError: 'numbered' > The full traceback has been saved in /tmp/sphinx-err-zx0OA4.log, if you > want to report the issue to the author. > Please also report this if it was a user error, so that a better error > message can be provided next time. > Send reports to [email protected]. Thanks! > make: *** [html] Error 1 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
