Message97746
When test.tar is opened, the filename is read as a string, so when os.path.join() is called in self._extract_member(tarinfo, os.path.join(path, tarinfo.name)), path is u'.' and tarinfo.name is '\xea\x80\x80a.ogg'.
tarinfo.name is a byte string, so in os.path.join it is converted implicitly to Unicode using the ascii codec because the path is unicode and since it contains non-ascii chars the error is raised. |
|
Date |
User |
Action |
Args |
2010-01-14 01:15:39 | ezio.melotti | set | recipients:
+ ezio.melotti, pbienst, lars.gustaebel |
2010-01-14 01:15:38 | ezio.melotti | set | messageid: <1263431738.72.0.822084287769.issue7693@psf.upfronthosting.co.za> |
2010-01-14 01:15:36 | ezio.melotti | link | issue7693 messages |
2010-01-14 01:15:35 | ezio.melotti | create | |
|