Re: Problem when running ./buildhtml.py ../
Guenter Milde via Docutils-users <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Tongtong Shen, Thank you for reporting the problem. On 2018-06-25, Tongtong Shen wrote: > Good afternoon! > Thank you for your time. > I encountered a problem when running > ./buildhtml.py ../ > with the "--traceback" output as the following: ... > /// Processing directory: ../docs/ref/rst ... > ::: Processing: directives.txt > Traceback (most recent call last): ... > File "/Users/shentongtong/Library/Python/2.7/lib/python/site-packages/docutils/parsers/rst/states.py", line 2833, in definition_list_item > termlist, messages = self.term(termline, lineno) > File "/Users/shentongtong/Library/Python/2.7/lib/python/site-packages/docutils/parsers/rst/states.py", line 2869, in term > classifier_node[0].rawsource = part > File "/Users/shentongtong/Library/Python/2.7/lib/python/site-packages/docutils/nodes.py", line 569, in __getitem__ > return self.children[key] > IndexError: list index out of range > Docutils version (0.15b.dev) > Python version (2.7.15) > My OS type & version: macOS High Sierra, Version 10.13.5 (17F77) > Command line used: ./buildhtml.py ../ The problem seems to be solved with the (unpublished) changes in my local setup (see the latest patches for bug 332 https://sourceforge.net/p/docutils/bugs/332/). Unfortunately, I am waiting since January for an OK to commit. Thanks again, Günter ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Docutils-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/docutils-users Please use "Reply All" to reply to the list.