
I have gone through and fixed every error message I get from my RST file. Now the only message I get is this: ERROR:root:Error building HTML /htdocs/epubmaker/cache/20120325075638/1-noimages-h.html: 'hrules' It is followed by this stack trace, repeated many times: Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/epubmaker/writers/HTMLWriter.py", line 71, in build xhtml = p.rst2html () File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/epubmaker/parsers/RSTParser.py", line 335, in rst2html return self.rst2htmlish (xhtml1.Writer ()) File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/epubmaker/parsers/RSTParser.py", line 330, in rst2htmlish return writer.fixup_xhtml (self.to_xhtml (writer.write (doc, destination), self.url)) File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docutils/writers/__init__.py", line 77, in write self.translate() File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docutils/writers/html4css1/__init__.py", line 163, in translate self.document.walkabout(visitor) File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docutils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docutils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docutils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docutils/nodes.py", line 165, in walkabout visitor.dispatch_visit(self) File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/epubmaker/mydocutils/writers/__init__.py", line 292, in dispatch_visit res = method (node) File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/epubmaker/mydocutils/writers/xhtml1.py", line 270, in visit_table if 'table' in node['hrules']: File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docutils/nodes.py", line 534, in __getitem__ return self.attributes[key] KeyError: 'hrules' ERROR:root:'hrules' Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/epubmaker/EpubMaker.py", line 350, in main writer.build () File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/epubmaker/writers/HTMLWriter.py", line 104, in build raise what KeyError: 'hrules' You can see the whole thing here: http://epubmaker.pglaf.org/cache/20120325075638/ It looks like the family tree thing got resolved, but I can't get any output until I get past this 'hrules' error. James Simmons

Dunno if it's the problem, but in cases like this: VIRAT PURUSHA. ============== **SK. I. CH. 18 & SK. II. CH. I.** you might want to have a blank line between the double-underscore line and the following line. You do in some cases, but not all. Al -----Original Message----- From: gutvol-d-bounces@lists.pglaf.org [mailto:gutvol-d-bounces@lists.pglaf.org] On Behalf Of James Simmons Sent: Sunday, March 25, 2012 8:25 AM To: Gutenberg Volunteers Subject: [gutvol-d] Problems with RST conversion I have gone through and fixed every error message I get from my RST file. Now the only message I get is this: ERROR:root:Error building HTML /htdocs/epubmaker/cache/20120325075638/1-noimages-h.html: 'hrules' It is followed by this stack trace, repeated many times: Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/e pubmaker/writers/HTMLWriter.py", line 71, in build xhtml = p.rst2html () File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/e pubmaker/parsers/RSTParser.py", line 335, in rst2html return self.rst2htmlish (xhtml1.Writer ()) File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/e pubmaker/parsers/RSTParser.py", line 330, in rst2htmlish return writer.fixup_xhtml (self.to_xhtml (writer.write (doc, destination), self.url)) File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docut ils/writers/__init__.py", line 77, in write self.translate() File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docut ils/writers/html4css1/__init__.py", line 163, in translate self.document.walkabout(visitor) File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docut ils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docut ils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docut ils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docut ils/nodes.py", line 165, in walkabout visitor.dispatch_visit(self) File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/e pubmaker/mydocutils/writers/__init__.py", line 292, in dispatch_visit res = method (node) File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/e pubmaker/mydocutils/writers/xhtml1.py", line 270, in visit_table if 'table' in node['hrules']: File "/usr/local/lib/python2.6/dist-packages/docutils-0.8.1-py2.6.egg/docut ils/nodes.py", line 534, in __getitem__ return self.attributes[key] KeyError: 'hrules' ERROR:root:'hrules' Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/e pubmaker/EpubMaker.py", line 350, in main writer.build () File "/usr/local/lib/python2.6/dist-packages/epubmaker-0.3.19b2-py2.6.egg/e pubmaker/writers/HTMLWriter.py", line 104, in build raise what KeyError: 'hrules' You can see the whole thing here: http://epubmaker.pglaf.org/cache/20120325075638/ It looks like the family tree thing got resolved, but I can't get any output until I get past this 'hrules' error. James Simmons

On 03/25/2012 05:24 PM, James Simmons wrote:
I have gone through and fixed every error message I get from my RST file. Now the only message I get is this:
ERROR:root:Error building HTML /htdocs/epubmaker/cache/20120325075638/1-noimages-h.html: 'hrules'
Bug fixed. Try now. -- Marcello Perathoner webmaster@gutenberg.org
participants (3)
-
Al Haines
-
James Simmons
-
Marcello Perathoner