On Thu, Feb 3, 2011 at 2:14 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><div></div><div class="h5">On Thu, Feb 3, 2011 at 2:09 PM, Arve Knudsen <<a href="mailto:arve.knudsen@gmail.com">arve.knudsen@gmail.com</a>> wrote:<br>
> On Thu, Feb 3, 2011 at 1:52 PM, Tarek Ziadé <<a href="mailto:ziade.tarek@gmail.com">ziade.tarek@gmail.com</a>> wrote:<br>
>><br>
>> On Thu, Feb 3, 2011 at 1:47 PM, Arve Knudsen <<a href="mailto:arve.knudsen@gmail.com">arve.knudsen@gmail.com</a>><br>
>> 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<br>
>> > 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>
>> 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>
>><br>
>> tarfile.ReadError: file could not be opened successfully<br>
>><br>
>> But an error like<br>
>><br>
>> tarfile.ReadError: archive not supported (zlib not installed)<br>
><br>
> Of course, tarfile *should* address this.<br>
><br>
>><br>
>> 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><br>
><br>
> Nice surprise :) However, it'll only help with fixed versions of Python, no?<br>
> I figure distribute aims to support older Pythons as well.<br>
<br>
</div></div>Sure, we simply make sure zlib is installed there since Distribute is<br>
always a targz<br>
<br>
Patches are welcome :D</blockquote><div><br></div><div>I'll consider it :)</div><div><br></div><div>Arve </div></div>