#7610 closed (worksforme)
Building sphinx documentation fails
Reported by: | Jarek Zgoda | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | sphinx build | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
jarek:~/install/django/docs$ make html mkdir -p _build/html _build/doctrees sphinx-build -b html -d _build/doctrees . _build/html Sphinx v0.4, building html trying to load pickled env... done building [html]: targets for 63 source files that are out of date updating environment: 0 added, 0 changed, 0 removed writing output... admin_css Exception occurred: File "/usr/lib/python2.5/site-packages/Sphinx-0.4-py2.5.egg/sphinx/builder.py", line 143, in post_process_images self.images[candidate] = self.env.images[candidate][1] KeyError: u'http://media.djangoproject.com/img/doc/admincss/module.gif' The full traceback has been saved in /tmp/sphinx-err-QTwhAB.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 sphinx-dev@googlegroups.com. Thanks!
Actual sphinx error, saved in log file:
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Sphinx-0.4-py2.5.egg/sphinx/__init__.py", line 135, in main app.builder.build_update() File "/usr/lib/python2.5/site-packages/Sphinx-0.4-py2.5.egg/sphinx/builder.py", line 199, in build_update 'out of date' % len(to_build)) File "/usr/lib/python2.5/site-packages/Sphinx-0.4-py2.5.egg/sphinx/builder.py", line 238, in build self.write(docnames, updated_docnames, method) File "/usr/lib/python2.5/site-packages/Sphinx-0.4-py2.5.egg/sphinx/builder.py", line 274, in write self.write_doc(docname, doctree) File "/usr/lib/python2.5/site-packages/Sphinx-0.4-py2.5.egg/sphinx/builder.py", line 445, in write_doc self.post_process_images(doctree) File "/usr/lib/python2.5/site-packages/Sphinx-0.4-py2.5.egg/sphinx/builder.py", line 143, in post_process_images self.images[candidate] = self.env.images[candidate][1] KeyError: u'http://media.djangoproject.com/img/doc/admincss/module.gif'
Discovered in rev. 7826
Change History (2)
comment:1 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Yes, "* Fix a crash with nonlocal image URIs." is one of the changes listed in the Sphinx 0.4.1 CHANGES file.
Note:
See TracTickets
for help on using tickets.
Works for me. Revision 7936, Sphinx 0.4.1