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.

classification
Title: Python 3.0a4 crashes on script in a path with non-ASCII characters (Windows)
Type: Stage:
Components: Windows Versions: Python 3.0
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Crash on Windows if Python runs from a directory with umlauts
View: 1342
Assigned To: Nosy List: christian.heimes, pietzcker
Priority: normal Keywords:

Created on 2008-05-07 11:59 by pietzcker, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg66355 - (view) Author: Tim Pietzcker (pietzcker) Date: 2008-05-07 11:59
Apologies if this has been reported before; I couldn#T find it on a
search but maybe I used the wrong search terms.

When I try to run a script that is contained in a directory whose path
contains non-ASCII characters (e. g. Umlauts), Python 3.0a4 crashes with
the following error message:

(Windows cmd console):
E:\Eigene Dateien\Klinikum\Qualitätsmanagement\Qualitätsbericht
2007>c:\programme\python30\python zaehle_aerzte.py
Fatal Python error: no mem for sys.path insertion
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 33-35:
invalid data

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

Moving the script to a directory without Umlauts in the path "solves"
the problem.

Best regards,
Tim
msg66439 - (view) Author: Tim Pietzcker (pietzcker) Date: 2008-05-08 20:26
I should perhaps add that this happened on a German Windows XP Pro SP2
installation.
msg66443 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-05-08 20:38
Das Problem ist bekannt. Trotzdem danke!
History
Date User Action Args
2022-04-11 14:56:34adminsetgithub: 47029
2008-05-08 20:38:36christian.heimessetstatus: open -> closed
resolution: duplicate
superseder: Crash on Windows if Python runs from a directory with umlauts
messages: + msg66443
nosy: + christian.heimes
2008-05-08 20:26:37pietzckersetmessages: + msg66439
2008-05-07 11:59:07pietzckercreate