<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 10, 2014 at 8:53 PM, S Page <span dir="ltr"><<a href="mailto:spage@wikimedia.org" target="_blank">spage@wikimedia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>To avoid wasting time in misdiagnosis, instead of mw-api-siteinfo.py reporting JSON parsing errors from <br><pre>   siteinfo = json.loads(response.content)</pre>it should earlier fail with "ERROR 404 <span style="font-family:'courier new',monospace">response</span> from<a href="http://en.wikipedia.beta.wmflabs.org/w/api.php" target="_blank"> http://en.wikipedia.beta.wmflabs.org/w/api.php</a> , aggghhh!"</div></blockquote></div><br>This is tracked in bug 70695[1].</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ċ½eljko</div><div class="gmail_extra">--</div><div class="gmail_extra">1: <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=70695">https://bugzilla.wikimedia.org/show_bug.cgi?id=70695</a></div></div>