Thanks a lot P.J. Eby<div><br></div><div>It's great that things get fixed!<br clear="all"><div><br></div>Hoàng Xuân Phú<br>
<br><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 12:58 AM, P.J. Eby <span dir="ltr"><<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">At 10:08 PM 3/28/2011 +0700, Hoang Xuan Phu wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
Just today I'm using easy_install to install mechanize and it is failing with the error "ValueError: invalid literal for int() with base 10: '382727, 382727'". By reading the source code and looking at the headers I see that the server is returning 2 Content-Length headers (same value, 382727), which is turned into '382727, 382727'. Fixing this should be very easy and I can do it then submit a patch. I'm just wondering, as distutils seem to be in a forking process, what's the best way to solve this?<br>
</blockquote>
<br>
easy_install -U setuptools will update you to a version that fixes this, as I've already checked in a fix.<br>
<br>
</blockquote></div><br></div>