<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 9, 2014 at 4:18 AM, Kostas Jakeliunas <span dir="ltr"><<a href="mailto:kostas@jakeliunas.com" target="_blank">kostas@jakeliunas.com</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 dir="ltr"><div class="gmail_extra"><div class="gmail_quote">


<div><div>On Wed, Apr 9, 2014 at 4:06 AM, Lukas Erlacher <span dir="ltr"><<a href="mailto:tor@lerlacher.de" target="_blank">tor@lerlacher.de</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">Hi Kostas,<br>
<br>
right now, we're coding challenger against what exists in debian wheezy, which means version 0.1.2 of the requests lib using the python-requests package you mentioned, where response.json is correct, and not response.json() to get json content from the response.<br>




<br>
I'd recommend that if you want to make your own "grab stuff from onionoo" script suite, to work with onion-py[1] . It's very new, very spiffy and uses python 3 and the newest requests lib. (full disclosure: It's my baby and I'm desperately looking for testers/users, but that should be obvious to anyone who read this thread.)<br>




Alternatively, convince the right people (presumably Karsten and arma) that challenger should switch to a more sustainable runtime than "what we can get from wheezy's repositories". ;-)<br></blockquote><div>



<br></div></div></div><div>A-ha! :) That makes sense. (fwiw, i used pip under virtualenv in wheezy; requests lib version ancient indeed; such is life. fwiw, convincing wheezy cavepeople to use what you suggest makes sense. It's a false dichotomy between 'ensures dependences vs. breaks dependencies.')</div>



<div><br></div><div>So</div><div><br></div><div>  - the timeout stuff might be useful to everyone involved; it's rough</div><div>  - the 'fix' might be useful for people using old 'requests'</div></div>


</div></div></blockquote><div><br></div><div>Actually, I might have that one kind of backwards. So timeout stuff for everyone (who wants to use things from the 'luk3duk3-onionoo-integration'[2] branch), the 'fix' for *certain* people (for example, for those using pip.)</div>


<div> </div><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 dir="ltr"><div class="gmail_extra"><div class="gmail_quote">


<div>
  - your onion-py sounds nice</div><div><br></div><div>g'day</div><div><div> </div><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">



Cheers,<br>
Luke<br>
<br>
[1] <a href="https://github.com/duk3luk3/onion-py" target="_blank">https://github.com/duk3luk3/onion-py</a>   </blockquote></div></div></div></div></blockquote><div><br></div><div>[2]: <a href="https://github.com/kloesing/challenger/commits/luk3duk3-onionoo-integration" target="_blank">https://github.com/kloesing/challenger/commits/luk3duk3-onionoo-integration</a> </div>


</div></div></div>