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
标题: Python 3.0a4 crashes on script in a path with non-ASCII characters (Windows)
类型: Stage:
Components: Windows Versions: Python 3.0
process
状态: closed Resolution: duplicate
Dependencies: 后续: Crash on Windows if Python runs from a directory with umlauts
View: 1342
分配给: 抄送列表: christian.heimes, pietzcker
优先级: normal 关键字:

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) 日期: 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) 日期: 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) 日期: 2008-05-08 20:38
Das Problem ist bekannt. Trotzdem danke!
历史
日期 用户 动作 参数
2022-04-11 14:56:34admin修改github: 47029
2008-05-08 20:38:36christian.heimes修改状态: open -> closed
resolution: duplicate
后续: Crash on Windows if Python runs from a directory with umlauts
消息: + msg66443
抄送: + christian.heimes
2008-05-08 20:26:37pietzcker修改消息: + msg66439
2008-05-07 11:59:07pietzcker创建