[py-dev] New issue 110 in py-trunk: Unicode filenames are not correctly supported

issues-noreply at bitbucket.org issues-noreply at bitbucket.org
Tue Jul 13 14:08:20 CEST 2010


--- you can reply above this line ---

New issue 110: Unicode filenames are not correctly supported
http://bitbucket.org/hpk42/py-trunk/issue/110/unicode-filenames-are-not-correctly

amauryfa on Tue, 13 Jul 2010 14:08:20 +0200:

Description:
  Given the following file structure:
{{{
rootdir/subdir/unicode日本語.txt
}}}

py.svnwcrevert will fail on Windows, it executes commands like this:
{{{
>>> py.path.local('rootdir').remove(rec=1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\afa\pypy\trunk1\py\_path\local.py", line 166, in remove
    self.chmod(448, rec=1) # octcal 0700
  File "D:\afa\pypy\trunk1\py\_path\local.py", line 494, in chmod
    py.error.checked_call(os.chmod, str(x), mode)
  File "D:\afa\pypy\trunk1\py\_error.py", line 80, in checked_call
    raise cls("%s%r" % (func.__name__, args))
py.error.ENOTDIR: [Not a directory]: chmod('D:\\rootdir\\subdir\\unicode???.txt', 448)
}}}

This causes the pypy buildbot to fail, because the @temp files are not correctly cleaned before a run.


-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.



More information about the Pytest-dev mailing list