[New-bugs-announce] [issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

Florent Xicluna report at bugs.python.org
Fri Jun 11 23:48:53 CEST 2010


New submission from Florent Xicluna <florent.xicluna at gmail.com>:

When Python is compiled without zlib support, the error message is not very helpful when trying to untar an archive.

>>> tarfile.open('sample.tar.gz')
tarfile.ReadError: file could not be opened successfully

It happens when you run "python distribute_setup.py", for example.
 ( http://s3.pixane.com/pip_distribute.png )

----------
components: Extension Modules
messages: 107587
nosy: flox
priority: low
severity: normal
status: open
title: "tarfile.ReadError: file could not be opened successfully" if compiled without zlib
type: behavior
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8978>
_______________________________________


More information about the New-bugs-announce mailing list