Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.0a4 crashes on script in a path with non-ASCII characters (Windows) #47029

Closed
pietzcker mannequin opened this issue May 7, 2008 · 3 comments
Closed

Python 3.0a4 crashes on script in a path with non-ASCII characters (Windows) #47029

pietzcker mannequin opened this issue May 7, 2008 · 3 comments

Comments

@pietzcker
Copy link
Mannequin

pietzcker mannequin commented May 7, 2008

BPO 2780
Nosy @tiran
Superseder
  • bpo-1342: Crash on Windows if Python runs from a directory with umlauts
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-05-08.20:38:36.859>
    created_at = <Date 2008-05-07.11:59:07.741>
    labels = ['OS-windows']
    title = 'Python 3.0a4 crashes on script in a path with non-ASCII characters (Windows)'
    updated_at = <Date 2008-05-08.20:38:36.855>
    user = 'https://bugs.python.org/pietzcker'
    

    bugs.python.org fields:

    activity = <Date 2008-05-08.20:38:36.855>
    actor = 'christian.heimes'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-05-08.20:38:36.859>
    closer = 'christian.heimes'
    components = ['Windows']
    creation = <Date 2008-05-07.11:59:07.741>
    creator = 'pietzcker'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 2780
    keywords = []
    message_count = 3.0
    messages = ['66355', '66439', '66443']
    nosy_count = 2.0
    nosy_names = ['christian.heimes', 'pietzcker']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '1342'
    type = None
    url = 'https://bugs.python.org/issue2780'
    versions = ['Python 3.0']
    

    @pietzcker
    Copy link
    Mannequin Author

    pietzcker mannequin commented May 7, 2008

    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

    @pietzcker pietzcker mannequin added the OS-windows label May 7, 2008
    @pietzcker
    Copy link
    Mannequin Author

    pietzcker mannequin commented May 8, 2008

    I should perhaps add that this happened on a German Windows XP Pro SP2
    installation.

    @tiran
    Copy link
    Member

    tiran commented May 8, 2008

    Das Problem ist bekannt. Trotzdem danke!

    @tiran tiran closed this as completed May 8, 2008
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant