Opened 7 years ago
Closed 7 years ago
#29371 closed Bug (wontfix)
Documentation building fails with AssertionError while writing internals/contributing/triaging-tickets
Reported by: | Giovanni Mariani | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 2.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Trying to package Django for Rosa Linux Fresh R10 (a Mandriva derivative), using sphinx 1.4.9.
The build of Django docs ("make -C docs/ html") fails while writing internals/contributing/triaging-tickets whit this error message:
Exception occurred:
File "/usr/lib/python2.7/site-packages/docutils/writers/_html_base.py", line 735, in depart_document assert not self.context, 'len(context) = %s' % len(self.context)
AssertionError: len(context) = 1
The issue is present in 1.8.19 and 1.11.12, with python 2.7, as well in 2.0.4, with python 3.5.
Attached full log of a 1.11.2 failed build and corresponding sphinx traceback.
Attachments (2)
Change History (4)
by , 7 years ago
Attachment: | sphinx-err-5NNKYX.log added |
---|
comment:1 by , 7 years ago
My suspicion while reading the error log is that Sphinx is choking on the documentation example headers in the writing-documentation.txt
content.
Did you try with another Sphinx version? I don't remember having been faced with such an error (I'm using Sphinx 1.7.0 currently).
comment:2 by , 7 years ago
Component: | Uncategorized → Documentation |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
I don't think we'll spend any time to fix issues with older sphinx versions. The issue seems fixed as of sphinx 1.5.1.
Trace back of a failed build from sphinx