<div class="gmail_quote">On Thu, Jan 20, 2011 at 4:45 PM,  <span dir="ltr">&lt;<a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On 10:05 pm, <a href="mailto:kevin.horn@gmail.com">kevin.horn@gmail.com</a> wrote:<br>
&gt;On Thu, Jan 20, 2011 at 1:55 AM, Glyph Lefkowitz<br>
&gt;&lt;<a href="mailto:glyph@twistedmatrix.com">glyph@twistedmatrix.com</a>&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;(I was going to point you at the output of the buildbot, but it looks<br>
&gt;&gt;like<br>
&gt;&gt;something in trunk has broken the conversion process.  Anyone know<br>
&gt;&gt;what this<br>
&gt;&gt;is about? &lt;<br>
&gt;&gt;<a href="http://buildbot.twistedmatrix.com/builds/sphinx-" target="_blank">http://buildbot.twistedmatrix.com/builds/sphinx-</a><br>
&gt;&gt;html-15724/contents.html&gt;)<br>
&gt;I was going to address this as well.  I&#39;ve been seeing what are<br>
&gt;apparently<br>
&gt;intermittent problems with the buildbot, though I haven&#39;t seen that one<br>
&gt;before, since the beginning of the year when I started seriously<br>
&gt;looking at<br>
&gt;this stuff again.<br>
&gt;<br>
&gt;I was able to build the docs properly on the buildbot yesterday, and in<br>
&gt;fact<br>
&gt;couldn&#39;t replicate any of the issues I had previously seen (which, in<br>
&gt;my<br>
&gt;case, seem to mostly have to do with missing CSS files). when I was<br>
&gt;talking<br>
&gt;to exarkun about it on IRC yesterday.<br>
&gt;<br>
&gt;I&#39;m not sure whether it has to do with the buildbot configuration,<br>
&gt;maybe<br>
&gt;stuff timing out, network issues, problems in the actual conversion<br>
&gt;process,<br>
&gt;or what.<br>
<br>
</div></div>Does this help?<br>
<br>
<a href="http://buildbot.twistedmatrix.com/builders/sphinx-" target="_blank">http://buildbot.twistedmatrix.com/builders/sphinx-</a><br>
documentation/builds/123/steps/shell_4/logs/stdio<br>
<br>
The salient point perhaps being:<br>
<br>
  File<br>
&quot;/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py&quot;,<br>
line 347, in open_http<br>
    &#39;got a bad status line&#39;, None)<br>
IOError: (&#39;http protocol error&#39;, 0, &#39;got a bad status line&#39;, None)<br>
<br>
Jean-Paul<br>
<div><div></div><div class="h5"><br></div></div></blockquote></div><br>Hmmm...yes, I think it does.  It looks like the l2s_builder script is choking on fetching the DTD for some reason.  lore2sphinx itself is supposed to cache the DTD between runs, but I&#39;m betting it doesn&#39;t work in the buildbot due to the (hopefully) clean environment it has every time it runs.<br>
<br>I can change it to not care about that, but if I do, then it won&#39;t be able to resolve HTML entities (of which there are a few in the Lore sources, mostly em-dashes IIRC).  So the XML parsing will choke on those, unless I tell it to ignore them, in which case it might ignore other errors...etc.<br>
<br>I&#39;ll see what I can do to fix it, I haven&#39;t worked on that bit for a long time.  I&#39;ll see if possible to add a &quot;pre-cached&quot; DTD file to teh lore2sphinx repo, and that should fix that problem at least.<br>
<br>Thanks for the research!<br><br>(I sometimes forget that buildbot keeps a log of the stdio.  You wouldn&#39;t think that I would, since I use the analogous logs in hudson fairly frequently, but I do. Sigh.)<br><br>Kevin Horn<br>