New submission from Steffen Kampmann:
I run python 2.7 on Windows 7 and the function rmtree of the shutil package
fails to remove files with a non ascii filename:
File "C:\Users\skampmann\AppData\Local\Continuum\Anaconda\lib\shutil.py",
line 247, in rmtree rmtree(fullname, ignore_errors, onerror)
File "C:\Users\skampmann\AppData\Local\Continuum\Anaconda\lib\shutil.py",
line 247, in rmtree rmtree(fullname, ignore_errors, onerror)
File "C:\Users\skampmann\AppData\Local\Continuum\Anaconda\lib\shutil.py",
line 247, in rmtree rmtree(fullname, ignore_errors, onerror)
File "C:\Users\skampmann\AppData\Local\Continuum\Anaconda\lib\shutil.py",
line 252, in rmtree onerror(os.remove, fullname, sys.exc_info())
File "C:\Users\skampmann\AppData\Local\Continuum\Anaconda\lib\shutil.py",
line 250, in rmtree os.remove(fullname)
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden:
'H:\\ihre_perso\xa6\xeanlichen_Zugangsdaten600.jpg'
Please let me know if i can help with something.
----------
components: Library (Lib)
messages: 246971
nosy: Steffen Kampmann
priority: normal
severity: normal
status: open
title: shutil.rmtree failes on non ascii filenames
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24672>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com