Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15687

Re: can't decompress data; zlib not available

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!amsnews11.chello.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <steve@sprangle.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.04; 'ubuntu': 0.04; 'interpreter': 0.05; 'option,': 0.07; 'skip:/ 40': 0.07; 'python': 0.08; 'builtin': 0.09; 'from:addr:steve': 0.09; 'libraries.': 0.09; 'configure': 0.10; 'cc:addr:python-list': 0.15; '*nix': 0.16; 'mistake.': 0.16; 'python2.6': 0.16; 'received:192.168.0.11': 0.16; 'reconfigure': 0.16; 'reinstall': 0.16; 'zlib': 0.16; 'wrote:': 0.18; 'seems': 0.19; 'appears': 0.20; 'subject:not': 0.21; 'cc:no real name:2**0': 0.21; 'subject:data': 0.21; 'plone': 0.23; 'received:140': 0.23; 'header :In-Reply-To:1': 0.23; 'steve': 0.23; 'command': 0.24; 'cc:2**0': 0.25; "i'm": 0.26; 'installing': 0.28; 'looks': 0.28; 'cc:addr:python.org': 0.29; 'fairly': 0.30; 'module': 0.30; '"python"': 0.30; 'imported': 0.30; 'sun,': 0.30; 'installation': 0.30; 'installed': 0.30; 'pm,': 0.31; 'skip:p 30': 0.31; 'headers': 0.32; "can't": 0.32; "isn't": 0.32; "i've": 0.33; 'named': 0.33; 'there': 0.33; 'header:User-Agent:1': 0.33; 'file.': 0.34; 'install': 0.34; 'which,': 0.34; 'file': 0.36; 'missing': 0.36; 'skip:" 10': 0.36; 'with.': 0.37; 'but': 0.37; 'think': 0.37; 'subject:can': 0.37; 'using': 0.37; 'run': 0.38; 'called': 0.38; 'received:192': 0.38; 'i.e.': 0.38; "i'd": 0.39; 'should': 0.39; 'except': 0.39; "there's": 0.39; "it's": 0.39; 'got': 0.39; 'subject:: ': 0.39; 'might': 0.39; 'getting': 0.40; 'files': 0.40; 'did': 0.40; 'received:192.168.0': 0.40; 'tim': 0.40; 'webpage': 0.67; 'serving': 0.68; 'account.': 0.80; '02:55': 0.84; 'lan.': 0.84; 'on?': 0.84; 'subject:; ': 0.91
Date Mon, 14 Nov 2011 12:30:15 -0700
From Steve Edlefsen <steve@sprangle.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version 1.0
To tim.wintle@teamrubber.com
Subject Re: can't decompress data; zlib not available
References <4EC009D7.90100@sprangle.com> <1321221305.12661.6.camel@tim-laptop>
In-Reply-To <1321221305.12661.6.camel@tim-laptop>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2710.1321299024.27778.python-list@python.org> (permalink)
Lines 56
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1321299024 news.xs4all.nl 6909 [2001:888:2000:d::a6]:56341
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:15687

Show key headers only | View raw


Sorry about that.  Ubuntu 11.10.

I used

Plone-4.1.2-UnifiedInstaller.tar

which installed o.k.  I'm serving a webpage on my LAN.

I did a search on files named "python" on my machine.
There are 23 not including the ones in the Plone
buildout-cache in my account.  Seems like a lot of
applications install their own copy of python.

There are also

./usr/lib/x86_64-linux-gnu/libz.so
./usr/lib/libz.so

which, I believe, are the zlib libraries.

I've read that you can reinstall python with configure
using the "--with-zlib" option, but configure isn't in

/usr/local/Plone/Python-2.6/lib/python2.6/config

I think the python interpreter for the command line is
the one in /usr/bin/python.  Would this be the one I
reconfigure for zlib?  Should I simply install python from

Python-3.2.2.tgz?

On 11/13/2011 02:55 PM, Tim Wintle wrote:
> On Sun, 2011-11-13 at 11:17 -0700, Steve Edlefsen wrote:
>> which appears to install zlib when python is reinstalled.  Except I
>> can't run make without errors and there is no configuration file.
>>
>> How do I reinstall python to include zlib?
> Which OS are you on? Linux? BSD?
>
> How did you install Plone?
>
> First I'd check if there's a module shadowing the builtin zlib module -
> i.e. if you've got a local file called "zlib.py" which is getting
> imported by mistake.
>
>
> Fairly much all *nix systems will have a python installation out of the
> box - it looks like you need python2.6
>
> I've never had a missing zlib module - but it's possible that it might
> be missing if you don't have the zlib/deflate headers installed - if
> they're not available then I'd try installing them and then reinstalling
> the package you started with.
>
> Tim Wintle
>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: can't decompress data; zlib not available Steve Edlefsen <steve@sprangle.com> - 2011-11-14 12:30 -0700

csiph-web