[issue13158] tarfile.TarFile.getmembers misses some entries
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 341008eab87d by Lars Gustäbel in branch '3.2': Issue #13158: Fix decoding and encoding of base-256 number fields in tarfile. http://hg.python.org/cpython/rev/341008eab87d New changeset 158430b2b552 by Lars Gustäbel in branch 'default': Merge with 3.2: Issue #13158: Fix decoding and encoding of base-256 number fields in tarfile. http://hg.python.org/cpython/rev/158430b2b552 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13158] tarfile.TarFile.getmembers misses some entries
Lars Gustäbel l...@gustaebel.de added the comment: Thanks for the report. There was a problem decoding a special and rare kind of header field in the archive. The format of the archive is of very bad quality BTW ;-) -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13158] tarfile.TarFile.getmembers misses some entries
Sebastien Binet bi...@cern.ch added the comment: thanks! The format of the archive is of very bad quality BTW ;-) well, that's C++ :P -s -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13158] tarfile.TarFile.getmembers misses some entries
Changes by Lars Gustäbel l...@gustaebel.de: -- assignee: - lars.gustaebel nosy: +lars.gustaebel versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13158] tarfile.TarFile.getmembers misses some entries
Sebastien Binet bi...@cern.ch added the comment: one interesting additional piece of information is that if I un-tar that file and re-tar it w/o gzip compression, getmembers gets the right answer. -s -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13158] tarfile.TarFile.getmembers misses some entries
New submission from Sebastien Binet bi...@cern.ch: hi there, it seems tarfile in python 3.2.2 (as installed in archlinux, but I don't see any additional patch applied on top of the vanilla sources: http://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/python ) has troubles giving the complete content of a tar ball. see: $ wget http://downloads.sourceforge.net/sourceforge/boost/boost_1_44_0.tar.gz $ md5sum boost_1_44_0.tar.gz 085fce4ff2089375105d72475d730e15 boost_1_44_0.tar.gz $ python --version Python 3.2.2 $ python2 --version Python 2.7.2 $ python ./foo.py 8145 $ python2 ./foo.py 33635 where foo.py is: ## import tarfile o = tarfile.open(boost_1_44_0.tar.gz) print( %s % len(o.getmembers())) o.close() ## EOF ## is it a known bug ? (this of course prevents TarFile.extractall to be useful w/ python3...) -s -- messages: 145393 nosy: bins priority: normal severity: normal status: open title: tarfile.TarFile.getmembers misses some entries type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com