[issue14810] Bug in tarfile

David Ibarra report at bugs.python.org
Fri May 25 05:33:32 CEST 2012


David Ibarra <david at davidibarra.net> added the comment:

I too cannot reproduce this, tarfile seems to recognizes that it isn't a valid tar file (tested on OS X):

Davids-MacBook-Air:Workspace dibarra$ ls -l
total 8
-rw-r--r--  1 dibarra  staff     0 May 30  1956 testfile
Davids-MacBook-Air:Workspace dibarra$ tar -cvf testfile.tar testfile
a testfile

>>> t = tarfile.TarFile("testfile.tar")
Traceback (most recent call last):
...
tarfile.ReadError: missing or bad subsequent header

----------
nosy: +dtibarra

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


More information about the Python-bugs-list mailing list