Thanks for the quick fix for the KeyError; I'm sorry to say that I am 
now tripping over something else.  The attached traceback does not 
involve any numpy module.

Eric


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 reference/arrays.dtypes 
reference/arrays.indexing reference/arrays.interface 
reference/arrays.ndarray reference/arrays.scalars reference/c-api 
reference/c-api.array reference/c-api.config reference/c-api.dtype 
reference/c-api.types-and-structures reference/c-api.ufunc 
reference/distutils reference/generated/numpy.DataSource 
reference/generated/numpy.MachAr reference/generated/numpy.RankWarning 
reference/generated/numpy.absolute reference/generated/numpy.add 
reference/generated/numpy.all reference/generated/numpy.allclose 
Exception occurred:
   File 
"/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py",
 
line 61, in get_prev_leaf
     if self.parent is None:
AttributeError: 'Node' object has no attribute 'parent'
The full traceback has been saved in /tmp/sphinx-err-mBgQm2.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
-~----------~----~----~----~------~----~------~--~---

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/cmdline.py", line 172, in main
    app.build(all_files, filenames)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/application.py", line 129, in build
    self.builder.build_update()
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/builders/__init__.py", line 238, in build_update
    'out of date' % len(to_build))
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/builders/__init__.py", line 259, in build
    purple):
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/builders/__init__.py", line 114, in status_iterator
    for item in iterable:
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/environment.py", line 510, in update
    self.read_doc(docname, app=app)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/environment.py", line 599, in read_doc
    pub.publish()
  File "/usr/lib/python2.5/site-packages/docutils/core.py", line 204, in publish
    self.settings)
  File "/usr/lib/python2.5/site-packages/docutils/readers/__init__.py", line 71, in read
    self.parse()
  File "/usr/lib/python2.5/site-packages/docutils/readers/__init__.py", line 77, in parse
    self.parser.parse(self.input, document)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/__init__.py", line 155, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 171, in run
    input_source=document['source'])
  File "/usr/lib/python2.5/site-packages/docutils/statemachine.py", line 234, in run
    context, state, transitions)
  File "/usr/lib/python2.5/site-packages/docutils/statemachine.py", line 422, in check_line
    return method(match, context, next_state)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 2619, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 309, in section
    self.new_subsection(title, lineno, messages)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 377, in new_subsection
    node=section_node, match_titles=1)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 267, in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 196, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/python2.5/site-packages/docutils/statemachine.py", line 234, in run
    context, state, transitions)
  File "/usr/lib/python2.5/site-packages/docutils/statemachine.py", line 422, in check_line
    return method(match, context, next_state)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 2202, in explicit_markup
    self.explicit_list(blank_finish)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 2230, in explicit_list
    match_titles=self.state_machine.match_titles)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 301, in nested_list_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 196, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/python2.5/site-packages/docutils/statemachine.py", line 234, in run
    context, state, transitions)
  File "/usr/lib/python2.5/site-packages/docutils/statemachine.py", line 422, in check_line
    return method(match, context, next_state)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 2503, in explicit_markup
    nodelist, blank_finish = self.explicit_construct(match)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 2212, in explicit_construct
    return method(self, expmatch)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 1974, in directive
    directive_function, match, type_name, option_presets)
  File "/usr/lib/python2.5/site-packages/docutils/parsers/rst/states.py", line 2019, in run_directive
    self.state_machine)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/util/compat.py", line 82, in _class_directive
    state, state_machine).run()
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/ext/autodoc.py", line 1027, in run
    documenter.generate(more_content=self.content)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/ext/autodoc.py", line 640, in generate
    self.add_content(more_content)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/ext/autodoc.py", line 426, in add_content
    attr_docs = self.analyzer.find_attr_docs()
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/__init__.py", line 235, in find_attr_docs
    attr_visitor.visit(self.parsetree)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 198, in visit
    return visitor(node)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 204, in generic_visit
    self.visit(child)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 198, in visit
    return visitor(node)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/__init__.py", line 88, in visit_simple_stmt
    return self.generic_visit(node)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 204, in generic_visit
    self.visit(child)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 198, in visit
    return visitor(node)
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/__init__.py", line 75, in visit_expr_stmt
    pnode = pnode.get_prev_leaf()
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 68, in get_prev_leaf
    return self.parent.get_prev_leaf()
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 68, in get_prev_leaf
    return self.parent.get_prev_leaf()
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 68, in get_prev_leaf
    return self.parent.get_prev_leaf()
  File "/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090224-py2.5.egg/sphinx/pycode/nodes.py", line 61, in get_prev_leaf
    if self.parent is None:
AttributeError: 'Node' object has no attribute 'parent'

Reply via email to