You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GEN doc/build/*.txt
/usr/bin/sphinx-build -q -b text "source" "build"
Exception occurred:
File "/usr/python3/site_python3/lib64/Sphinx.egg/sphinx/writers/text.py", line 853, in visit_definition_list_item
self._classifier_count_in_li = len(node.traverse(nodes.classifier))
TypeError: object of type 'generator' has no len()
The full traceback has been saved in /tmp/sphinx-err-z6x5h6on.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!
make[2]: *** [Makefile:93: build/CONTRIBUTING.txt] Error 2
make[1]: *** [Makefile:94: pkgdoc] Error 2
make[1]: Leaving directory '/home/balducci/tmp/install-us-d/modules-5.0.0.d/modules-5.0.0'
Turns out that this is due to doc/source/design/variants.rst being broken in the same way as described in #306
Applying the same fix as then allows the build to complete successfully.
Using Sphinx-4.2.0
Thanks a lot for your work
ciao
-gabriele
The text was updated successfully, but these errors were encountered:
Do you have any specific Sphinx configuration to obtain such error? I would like to reproduce the error you get on my side to be sure that I correctly fix the rst files.
I have just fixed the one list entry with missing space line before and after in variant.rst (see 508ec274 commit). I have only found this one issue.
I would be glad to get a setup on my side to reproduce the issue you face. Even after trying different version of Sphinx (3.4.2, 4.1.2, 4.2.0) and different verbosity configuration, I am not able to spot such issues.
I would be glad to get a setup on my side to reproduce the issue you face. Even after trying different version of Sphinx (3.4.2, 4.1.2, 4.2.0) and different verbosity configuration, I am not able to spot such issues.
apparently it's docutils that makes the difference
With the last official version, 0.17.1, the rst files are processed
without errors
I maintain docutils from svn and recent svn versions do show the error
In particular, I use revision 8759 for building modules, and that
gives the error
But note: revisions >= 8759 give a different error, which I never took
the time to investigate (however, revisions >= 8759 give this error
with modules only: current svn master docutils, 8831, works fine for
any other build)
So, if you use svn revision 8759 of docutils you should be able to
reproduce the error
Thanks for these information. I am now able to reproduce the issue with revision 8759 of docutils. I can also say that commit f508ec2 fixes the issue reported here.
hi
build of 5.0.0 fails for me with:
Turns out that this is due to
doc/source/design/variants.rst
being broken in the same way as described in #306Applying the same fix as then allows the build to complete successfully.
Using Sphinx-4.2.0
Thanks a lot for your work
ciao
-gabriele
The text was updated successfully, but these errors were encountered: