Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created October 23, 2012 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdeil/3937586 to your computer and use it in GitHub Desktop.
Save cdeil/3937586 to your computer and use it in GitHub Desktop.
$ make html
sphinx-build -b html -d _build/doctrees . _build/html
Running Sphinx v1.1.3
loading pickled environment... done
loading intersphinx inventory from http://docs.python.org/objects.inv...
loading intersphinx inventory from http://docs.scipy.org/doc/scipy/reference/objects.inv...
loading intersphinx inventory from http://docs.scipy.org/doc/numpy/objects.inv...
loading intersphinx inventory from http://matplotlib.sourceforge.net/objects.inv...
[autosummary] generating autosummary for: _generated/astropy.config.configuration.ConfigurationItem.rst, _generated/astropy.config.configuration.ConfigurationMissingWarning.rst, _generated/astropy.config.configuration.InvalidConfigurationItemWarning.rst, _generated/astropy.config.configuration.get_config.rst, _generated/astropy.config.configuration.reload_config.rst, _generated/astropy.config.configuration.save_config.rst, _generated/astropy.config.data.CacheMissingWarning.rst, _generated/astropy.config.data.clear_data_cache.rst, _generated/astropy.config.data.compute_hash.rst, _generated/astropy.config.data.get_data_contents.rst, ..., units/composing_and_defining.rst, units/conversion.rst, units/equivalencies.rst, units/format.rst, units/index.rst, units/standard_units.rst, utils/index.rst, wcs/history.rst, wcs/index.rst, wcs/relax.rst
[automodsumm] io/ascii/index.rst: found 44 automodsumm entries to generate
[automodsumm] units/index.rst: found 22 automodsumm entries to generate
[automodsumm] configs/index.rst: found 16 automodsumm entries to generate
[automodsumm] logging.rst: found 2 automodsumm entries to generate
[automodsumm] cosmology/index.rst: found 23 automodsumm entries to generate
[automodsumm] nddata/index.rst: found 9 automodsumm entries to generate
[automodsumm] utils/index.rst: found 26 automodsumm entries to generate
[automodsumm] wcs/index.rst: found 8 automodsumm entries to generate
[automodsumm] table/index.rst: found 10 automodsumm entries to generate
[automodsumm] time/index.rst: found 23 automodsumm entries to generate
building [html]: targets for 14 source files that are out of date
updating environment: 11 added, 94 changed, 4 removed
Traceback (most recent call last):ed/astropy.nddata.nddata.NDData
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 326, in import_object
obj = self.get_attr(obj, part)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 232, in get_attr
return safe_getattr(obj, name, *defargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/inspect.py", line 70, in safe_getattr
raise AttributeError(name)
AttributeError: error
Traceback (most recent call last):ed/astropy.utils.misc.fnpickle
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 326, in import_object
obj = self.get_attr(obj, part)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 232, in get_attr
return safe_getattr(obj, name, *defargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/inspect.py", line 70, in safe_getattr
raise AttributeError(name)
AttributeError: fnpickle
Traceback (most recent call last):ed/astropy.utils.misc.fnunpickle
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 326, in import_object
obj = self.get_attr(obj, part)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 232, in get_attr
return safe_getattr(obj, name, *defargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/inspect.py", line 70, in safe_getattr
raise AttributeError(name)
AttributeError: fnunpickle
reading sources... [ 78%] _generated/astropy.wcs.UnitConverter
Exception occurred:
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 1001, in add_directive_header
if len(self.object.__bases__):
AttributeError: 'function' object has no attribute '__bases__'
The full traceback has been saved in /var/folders/sb/4qv5j4m90pz1rw7m70rj1b1r0000gn/T/sphinx-err-Squ09y.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make: *** [html] Error 1
ChristophMacbook:docs deil$ cat /var/folders/sb/4qv5j4m90pz1rw7m70rj1b1r0000gn/T/sphinx-err-Squ09y.log
# Sphinx version: 1.1.3
# Python version: 2.7.3
# Docutils version: 0.9.1 release
# Jinja2 version: 2.6
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/cmdline.py", line 189, in main
app.build(force_all, filenames)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/application.py", line 204, in build
self.builder.build_update()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 196, in build_update
'out of date' % len(to_build))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 216, in build
purple, length):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 120, in status_iterator
for item in iterable:
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/environment.py", line 613, in update_generator
self.read_doc(docname, app=app)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/environment.py", line 761, in read_doc
pub.publish()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/core.py", line 221, in publish
self.settings)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/readers/__init__.py", line 69, in read
self.parse()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/readers/__init__.py", line 75, in parse
self.parser.parse(self.input, document)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/__init__.py", line 162, in parse
self.statemachine.run(inputlines, document, inliner=self.inliner)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 174, in run
input_source=document['source'])
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
context, state, transitions)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2706, in underline
self.section(title, source, style, lineno - 1, messages)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 331, in section
self.new_subsection(title, lineno, messages)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 399, in new_subsection
node=section_node, match_titles=True)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 286, in nested_parse
node=node, match_titles=match_titles)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 199, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
context, state, transitions)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2281, in explicit_markup
self.explicit_list(blank_finish)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2311, in explicit_list
match_titles=self.state_machine.match_titles)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 323, in nested_list_parse
node=node, match_titles=match_titles)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 199, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
context, state, transitions)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2584, in explicit_markup
nodelist, blank_finish = self.explicit_construct(match)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2291, in explicit_construct
return method(self, expmatch)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2034, in directive
directive_class, match, type_name, option_presets)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2083, in run_directive
result = directive_instance.run()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 1303, in run
documenter.generate(more_content=self.content)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 724, in generate
self.add_directive_header(sig)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 1001, in add_directive_header
if len(self.object.__bases__):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment