sphinx-doc / sphinx

The Sphinx documentation generator
https://www.sphinx-doc.org/
Other
6.5k stars 2.11k forks source link

TypeError: 'NoneType' when writing output #3822

Closed damaskino closed 7 years ago

damaskino commented 7 years ago

Hi there, I ran into an error while trying to generate the documentation for slixmpp https://github.com/poezio/slixmpp

After cloning the slixmpp repository, I tried to generate the documentation with:

cd docs
make html

This always produces the following error for me:

Exception occurred:
  File "/usr/lib/python3.6/site-packages/sphinx/themes/haiku/../basic/layout.html", line 108, in template
    {%- for css in css_files %}
TypeError: 'NoneType' object is not iterable

Error log:

sphinx-err-pg213tb8.txt

Environment info

shimizukawa commented 7 years ago

It has been fixed at 1.6.2 release. Please update and try it.

tk0miya commented 7 years ago

I close this because duplicated with #3754. Please reopen if you still get the error after upgrading to 1.6.2.

damaskino commented 7 years ago

Works now, after upgrading to sphinx 1.6.2 thanks a lot! :)