Sphinx: Exception when writing HTML output

Created on 12 Dec 2016  路  2Comments  路  Source: sphinx-doc/sphinx

Hello,

I am having this exception when running make html -C docs from Sphinx version 1.4.9 in advance:

...
/home/jose/Code/fun/my_project/composer/storage/compositions.py:docstring of composer.storage.compositions:53: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/jose/Code/fun/my_project/my_project/profile_tools.py:docstring of my_project.profile_tools.profile_it:6: ERROR: Unexpected indentation.
/home/jose/Code/fun/my_project/my_project/profile_tools.py:docstring of my_project.profile_tools.profile_it:7: WARNING: Block quote ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  3%] doc/workflow
Exception occurred:
  File "/home/jose/.virtualenvs/correspondence/lib/python3.5/site-packages/docutils/writers/_html_base.py", line 671, in depart_document
    assert not self.context, 'len(context) = %s' % len(self.context)
AssertionError: len(context) = 4 
The full traceback has been saved in /tmp/sphinx-err-otoazh4z.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. 
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! 
Makefile:64: recipe for target 'html' failed 
make: *** [html] Error 1
make: Leaving directory '/home/jose/Code/fun/my_project/docs'

This wasn't happening before, when I was using Sphinx version 1.4.6, until today when I updated it to +1.5. Any idea of what can be wrong? What does that exception mean? My docs didn't change at all between those versions.

Thanks.

duplicate

Most helpful comment

Sorry for inconvenience. It was already fixed, and will be released soon.
Please wait a moment.

All 2 comments

It's an incompatibility with docutils 0.13.1, which was already fixed here. I think we just need to wait for Sphinx 1.5.1.

Sorry for inconvenience. It was already fixed, and will be released soon.
Please wait a moment.

Was this page helpful?
0 / 5 - 0 ratings