This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author GeorgeNotaras
Recipients GeorgeNotaras
Date 2007-11-30.21:16:51
SpamBayes Score 0.108931
Marked as misclassified No
Message-id <>
Assume a healthy uncompressed tar file: a.tar

When trying to open the tarfile using a fileobject, there is always an

>>> f_raw = open("a.tar", "rb")
>>> import tarfile
>>> f_tar ="r:", fileobj=f_raw)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/", line 1157, in open
    return func(name, filemode, fileobj)
  File "/usr/lib/python2.5/", line 1183, in taropen
    return cls(name, mode, fileobj)
  File "/usr/lib/python2.5/", line 1047, in __init__ = os.path.abspath(name)
  File "/usr/lib/python2.5/", line 402, in abspath
    if not isabs(path):
  File "/usr/lib/python2.5/", line 49, in isabs
    return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
Date User Action Args
2007-11-30 21:16:52GeorgeNotarassetspambayes_score: 0.108931 -> 0.108931
recipients: + GeorgeNotaras
2007-11-30 21:16:52GeorgeNotarassetspambayes_score: 0.108931 -> 0.108931
messageid: <>
2007-11-30 21:16:52GeorgeNotaraslinkissue1529 messages
2007-11-30 21:16:51GeorgeNotarascreate