On Thu, Feb 3, 2011 at 1:52 PM, Tarek Ziadé <span dir="ltr"><<a href="mailto:ziade.tarek@gmail.com">ziade.tarek@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Feb 3, 2011 at 1:47 PM, Arve Knudsen <<a href="mailto:arve.knudsen@gmail.com">arve.knudsen@gmail.com</a>> wrote:<br>
> Hi Tarek<br>
> Nevermind, there was a problem with the Python installation so that it<br>
> didn't support zlib. Reinstalling Python fixed it :) Sorry for bothering<br>
> you. It might be an idea to embellish distribute_setup.py though, so that it<br>
> detects that Python can't untar the gzipped archive (due to missing zlib<br>
> support). That would've saved us some confusion at least :)<br>
> Arve<br>
<br>
</div>Oh.. mmm I think this should even be addressed in tarfile if possible:<br>
if tarfile encounters a zipped archive, and zlib is not installed, it<br>
should not return a cryptic<br>
<div class="im"><br>
tarfile.ReadError: file could not be opened successfully<br>
<br>
</div>But an error like<br>
<br>
tarfile.ReadError: archive not supported (zlib not installed)<br></blockquote><div><br></div><div>Of course, tarfile *should* address this.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
And well, searching for this error in <a href="http://bugs.python.org" target="_blank">bugs.python.org</a>, it looks like<br>
it will be addressed soon: <a href="http://bugs.python.org/issue8978" target="_blank">http://bugs.python.org/issue8978</a></blockquote><div><br></div><div>Nice surprise :) However, it'll only help with fixed versions of Python, no? I figure distribute aims to support older Pythons as well.</div>
<div><br></div><div>Arve</div></div>