Author ezio.melotti
Recipients ezio.melotti, lars.gustaebel, pbienst
Date 2010-01-14.01:15:35
SpamBayes Score 6.98097e-07
Marked as misclassified No
Message-id <1263431738.72.0.822084287769.issue7693@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-01-14 01:15:39ezio.melottisetrecipients: + ezio.melotti, pbienst, lars.gustaebel
2010-01-14 01:15:38ezio.melottisetmessageid: <1263431738.72.0.822084287769.issue7693@psf.upfronthosting.co.za>
2010-01-14 01:15:36ezio.melottilinkissue7693 messages
2010-01-14 01:15:35ezio.melotticreate