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.
Created on 2010年09月04日 12:01 by flox, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg115568 - (view) | Author: Florent Xicluna (flox) * (Python committer) | Date: 2010年09月04日 12:01 | |
This failure occurs on AMD64 debian parallel buildbot. It is not the same failure as OS X Tiger buildbot (issue 8423). ====================================================================== FAIL: test_listdir (test.test_pep277.UnicodeFileTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_pep277.py", line 157, in test_listdir self.assertEqual(sf0, sf2) AssertionError: Items in the first set but not the second: '@test_21179_tmp/GrÃ1⁄4ß-Gott' Items in the second set but not the first: '@test_21179_tmp/Gr\udcfc\udcdf-Gott' ====================================================================== FAIL: test_listdir (test.test_pep277.UnicodeNFCFileTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_pep277.py", line 157, in test_listdir self.assertEqual(sf0, sf2) AssertionError: Items in the first set but not the second: '@test_21179_tmp/GrÃ1⁄4ß-Gott' Items in the second set but not the first: '@test_21179_tmp/Gr\udcfc\udcdf-Gott' ====================================================================== FAIL: test_listdir (test.test_pep277.UnicodeNFKCFileTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_pep277.py", line 157, in test_listdir self.assertEqual(sf0, sf2) AssertionError: Items in the first set but not the second: '@test_21179_tmp/GrÃ1⁄4ß-Gott' Items in the second set but not the first: '@test_21179_tmp/Gr\udcfc\udcdf-Gott' ---------------------------------------------------------------------- Ran 30 tests in 1.576s http://www.python.org/dev/buildbot/builders/AMD64%20debian%20parallel%203.x/builds/94/steps/test/logs/stdio |
|||
| msg118547 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2010年10月13日 17:10 | |
Actually, the error message is (when interpreted as utf-8): ====================================================================== FAIL: test_listdir (test.test_pep277.UnicodeFileTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_pep277.py", line 157, in test_listdir self.assertEqual(sf0, sf2) AssertionError: Items in the first set but not the second: '@test_29046_tmp/Grüß-Gott' Items in the second set but not the first: '@test_29046_tmp/Gr\udcfc\udcdf-Gott' Which corresponds to utf8 or ascii decoding of "Grüß-Gott" encoded with latin1: >>> "Grüß-Gott".encode("latin1").decode("ascii", "surrogateescape") 'Gr\udcfc\udcdf-Gott' >>> "Grüß-Gott".encode("latin1").decode("utf8", "surrogateescape") 'Gr\udcfc\udcdf-Gott' |
|||
| msg118977 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2010年10月17日 20:11 | |
That appears to be a bug in the NFS server. When you creat("Gr303円274円-Gott"), what actually comes out of getdents(3) is Gr303円274円-Gott. This only happens with four bytes of non-ASCII - two UTF-8 bytes are correctly reported. We are investigating this locally.
|
|||
| msg166020 - (view) | Author: Florent Xicluna (flox) * (Python committer) | Date: 2012年07月21日 13:04 | |
> That appears to be a bug in the NFS server. So, it's not a Python bug. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:06 | admin | set | github: 53981 |
| 2012年07月21日 14:41:54 | flox | link | issue9773 superseder |
| 2012年07月21日 13:04:29 | flox | set | status: open -> closed resolution: works for me messages: + msg166020 |
| 2010年10月17日 20:11:42 | loewis | set | messages: + msg118977 |
| 2010年10月13日 17:10:52 | pitrou | set | nosy:
+ loewis, vstinner, pitrou messages: + msg118547 |
| 2010年09月04日 12:01:24 | flox | create | |