Re: (I'm not subscribed) Fwd: traceback error report for `KeyError: 'refid'`
Guenter Milde <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your report, On 2015-06-09, Jeroen Wiert Pluimers wrote: > File having issues: > https://raw.githubusercontent.com/jpluimers/OpenSuSE.Tumbleweed.Server-Install/master/README.rst The current version of this file (2015-06-15) compiles without problems here (rst2html (Docutils 0.13 [repository], Python 2.7.10, on linux2)) > $ rst2html.py README.rst readme.html > README.rst:292: (ERROR/3) Too many autonumbered footnote references: only 0 > corresponding footnotes available. It seems the footnote-text/footnote-reference mismatch was solved in the meantime. > KeyError: 'refid' > Exiting due to error. Use "--traceback" to diagnose. ... This seems to be an aftereffect. I did not encounter this in a minimal test, though. Do you still have a file that exhibits the KeyError on compiling? ... > Traceback (most recent call last): ... > File > "/Library/Python/2.7/site-packages/docutils/writers/html4css1/__init__.py", > line 986, in visit_footnote_reference > href = '#' + node['refid'] > File "/Library/Python/2.7/site-packages/docutils/nodes.py", line 567, in > __getitem__ > return self.attributes[key] > KeyError: 'refid' Unfortunately, I don't know how we landed here with a footnote-reference node without refid. and what should/could be done to it. Thanks, Günter ------------------------------------------------------------------------------ _______________________________________________ Docutils-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/docutils-users Please use "Reply All" to reply to the list.