Message72957
Sorry, probably I saw illusion... If uses cp932 codec, still
test_tarfile.py reports error. :-(
======================================================================
ERROR: test_tar_size (__main__.WriteTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_tarfile.py", line 570, in test_tar_size
tar.add(path)
File "/home/WhiteRabbit/python-dev/py3k/Lib/tarfile.py", line 1953, in add
self.addfile(tarinfo, f)
File "/home/WhiteRabbit/python-dev/py3k/Lib/tarfile.py", line 1976, in
addfile
buf = tarinfo.tobuf(self.format, self.encoding, self.errors)
File "/home/WhiteRabbit/python-dev/py3k/Lib/tarfile.py", line 987, in
tobuf
return self.create_gnu_header(info, encoding, errors)
File "/home/WhiteRabbit/python-dev/py3k/Lib/tarfile.py", line 1018, in
create_
gnu_header
return buf + self._create_header(info, GNU_FORMAT, encoding, errors)
File "/home/WhiteRabbit/python-dev/py3k/Lib/tarfile.py", line 1107, in
_create
_header
stn(info.get("gname", "root"), 32, encoding, errors),
File "/home/WhiteRabbit/python-dev/py3k/Lib/tarfile.py", line 177, in stn
s = s.encode(encoding, errors)
UnicodeEncodeError: 'ascii' codec can't encode characters in position
0-3: ordin
al not in range(128) |
|
Date |
User |
Action |
Args |
2008-09-10 12:45:07 | ocean-city | set | recipients:
+ ocean-city, loewis |
2008-09-10 12:45:07 | ocean-city | set | messageid: <1221050707.34.0.00331069639343.issue3824@psf.upfronthosting.co.za> |
2008-09-10 12:44:32 | ocean-city | link | issue3824 messages |
2008-09-10 12:44:31 | ocean-city | create | |
|