On 11/17/06, <b class="gmail_sendername">Benoit Boissinot</b> &lt;<a href="mailto:bboissin@gmail.com">bboissin@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 11/17/06, Mathieu Clabaut &lt;<a href="mailto:mathieu.clabaut@gmail.com">mathieu.clabaut@gmail.com</a>&gt; wrote:<br>&gt; On 11/17/06, Benoit Boissinot &lt;<a href="mailto:bboissin@gmail.com">bboissin@gmail.com</a>&gt; wrote:
<br>&gt; &gt;<br>&gt; &gt; &gt; I tried to do an hg clone locally on the server, and it worked.<br>&gt; &gt; &gt; The problem is reproducible on the distant machine.<br>&gt; &gt; &gt; On the server side a &quot;hg clone <a href="http://localhost/hg/c099">
http://localhost/hg/c099</a> &quot; failed too.<br>&gt; &gt; &gt;<br>&gt; &gt; Sounds like a apache (or http server problem) can you test with hg serve ?<br>&gt;<br>&gt;<br>&gt; Good guess !<br>&gt; It works like a charm with hg serve (at least for the clone, didn't try the
<br>&gt; pull)...<br>&gt; Any insight on what may cause the problem on apache ?<br><br>No idea, I guess you should try wireshark/ethereal to see if you can<br>spot a difference between the streams, maybe hg is tracebacking due a
<br>permission problem and corrupting the stream.</blockquote><div><br>Yes !<br>Following the TCP streams gives me a backtrace due to :<br>&nbsp;OError: [Errno 13] Permission denied....<br><br>&nbsp;Good analysis. Thank you very much for your help !
<br><br>&nbsp;I think it may not be an uncommon error. Wouldn't be good, either to have a mean to log the backtrace on the server side, or better, when&nbsp; RevlogError(_(&quot;consistency error adding group&quot;)) is raised, have a look at the incoming data to check if the client didn't get a backtrace, and if it is the case then inform the user ?
<br>&nbsp;Would it make sense to recover from a faulty addgroup, analyse the chunk used, send a message to the user if it contains an http backtrace and reraise the exception ?<br><br>-mathieu<br><br>&nbsp;<br></div></div>