[pypy-issue] Issue #1916: py3.3 - RuntimeError: Unrecognized error from liblzma: 7 (pypy/pypy)
Stian Andreassen
issues-reply at bitbucket.org
Sat Nov 1 12:29:04 CET 2014
New issue 1916: py3.3 - RuntimeError: Unrecognized error from liblzma: 7
https://bitbucket.org/pypy/pypy/issue/1916/py33-runtimeerror-unrecognized-error-from
Stian Andreassen:
Trying to run bootstrap in py3.3 (head). This runs fine in pypy default. But gives this under py3.3
```
#!python
pypy3.3 bootstrap.py
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.49.tar.gz
Extracting in /tmp/tmppf6ir5
Traceback (most recent call last):
File "bootstrap.py", line 154, in <module>
raise ImportError
ImportError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bootstrap.py", line 166, in <module>
ez['use_setuptools'](**setup_args)
File "<string>", line 162, in use_setuptools
File "<string>", line 132, in _do_download
File "<string>", line 104, in _build_egg
File "/home/stian/pypy/lib-python/3/tarfile.py", line 1573, in open
return func(name, "r", fileobj, **kwargs)
File "/home/stian/pypy/lib-python/3/tarfile.py", line 1702, in xzopen
t = cls.taropen(name, mode, fileobj, **kwargs)
File "/home/stian/pypy/lib-python/3/tarfile.py", line 1621, in taropen
return cls(name, mode, fileobj, **kwargs)
File "/home/stian/pypy/lib-python/3/tarfile.py", line 1495, in __init__
self.firstmember = self.next()
File "/home/stian/pypy/lib-python/3/tarfile.py", line 2275, in next
tarinfo = self.tarinfo.fromtarfile(self)
File "/home/stian/pypy/lib-python/3/tarfile.py", line 1108, in fromtarfile
buf = tarfile.fileobj.read(BLOCKSIZE)
File "/home/stian/pypy/lib-python/3/lzma.py", line 293, in read
return self._read_block(size)
File "/home/stian/pypy/lib-python/3/lzma.py", line 256, in _read_block
while n > 0 and self._fill_buffer():
File "/home/stian/pypy/lib-python/3/lzma.py", line 238, in _fill_buffer
self._buffer = self._decompressor.decompress(rawblock)
RuntimeError: Unrecognized error from liblzma: 7
...
Because it works fine with non-lzma implementation, I'd say it's a bug.
More information about the pypy-issue
mailing list