STINNER Victor added the comment:
I proposed a workaround, the real bug is that os.path.abspath() doesn't support
unicode... And this bug was already fixed 7 weeks ago by r78247 (issue #3426).
http://svn.python.org/view/python/trunk/Lib/posixpath.py?r1=78247&r2=78246&pathrev=78247
Python 2.6.5
STINNER Victor added the comment:
It looks like tarfile doesn't support unicode filenames. You should try to
encode your input filename to the file system default encoding
(sys.getfilesystemencoding()), or avoid using unicode for tar filenames.
--
nosy: +haypo
___
New submission from Parth Malwankar :
If any directory higher up in the hierarchy contains unicode chars,
tarfile.open fails with UnicodeDecodeError. Attached script reproduces this
error.
[tmp]% python tarfilefail.py
Traceback (most recent call last):
File "tarfilefail.py", line 9, in