[issue26740] tarfile: accessing (listing and extracting) tarball fails with UnicodeDecodeError

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer maintained. There aren't enough details here to tell whether the issue was fixed in python 3. If you are having this problem with python 3.9+, please create a new issue. -- nosy: +iritkatriel resolution: -> out of date stage:

[issue26740] tarfile: accessing (listing and extracting) tarball fails with UnicodeDecodeError

2018-11-05 Thread SÅ‚awomir Nizio
SÅ‚awomir Nizio added the comment: I had the same problem with entries: SCHILY.xattr.system.posix_acl_default, SCHILY.xattr.system.posix_acl_access in a tarball with pax header. This seems to be fixed for Python 3 in the issue 8633, commit 1465cc2 in cpython. Tarfile from Python 2 assumes

[issue26740] tarfile: accessing (listing and extracting) tarball fails with UnicodeDecodeError

2016-04-12 Thread Tomas Tomecek
Tomas Tomecek added the comment: Unfortunately I can't, since it's internal docker image. I have found a bug report in Red Hat bugzilla with more info: https://bugzilla.redhat.com/show_bug.cgi?id=1194473 Here's even a commit with a fix (via monkeypatching):

[issue26740] tarfile: accessing (listing and extracting) tarball fails with UnicodeDecodeError

2016-04-12 Thread STINNER Victor
STINNER Victor added the comment: Can you give a link to the tar archive, or for example the first 256 KB of the archive? -- ___ Python tracker ___

[issue26740] tarfile: accessing (listing and extracting) tarball fails with UnicodeDecodeError

2016-04-12 Thread SilentGhost
Changes by SilentGhost : -- nosy: +lars.gustaebel type: -> behavior ___ Python tracker ___

[issue26740] tarfile: accessing (listing and extracting) tarball fails with UnicodeDecodeError

2016-04-12 Thread Tomas Tomecek
New submission from Tomas Tomecek: I have a tarball (generated by docker-1.10 via `docker export`) and am trying to extract it with python 2.7 tarfile: ``` with tarfile.open(name=tarball_path) as tar_fd: tar_fd.extractall(path=path) ``` Output from a pytest run: ```