Skip to content

Capital cyrillic characters are omitted during start procedure causing "file not found" error in version v2024.14.0 #540

@HungryDoodles

Description

@HungryDoodles

At least one character, namely 'И', is getting dropped out, making the paths during launch invalid.

The faulty command constructed by the extension in the version v2024.14.0 is as follows (some parts were changed to ProjectDir):
c:; cd 'c:\ProjectDir'; & 'c:\Program Files\Python312\python.exe' 'c:\Users\[льдар]\.vscode\extensions\ms-python.debugpy-2024.14.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '<port>' '--' 'C:\ProjectDir/main.py'

The functional command being as of version v2024.12.0 (copied as is, except for ProjectDir change):
& 'c:\Program Files\Python312\python.exe' 'c:\Users\[Ильдар]\.vscode\extensions\ms-python.debugpy-2024.12.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '<port>' '--' 'C:\ProjectDir/main.py'

The difference is encapsulated in [square brackets] : the word Ильдар is missing И in v2024.14.0. As renaming the user folder name comes with great problems, the issue cannot be properly resolved on the user side. It is best overall to keep paths in latin, however rarely it is not possible to avoid non-latin characters as the device (for example, the work computer with preinstalled software) was set up with a non-latin user name.

As a temporary solution it is possible to create a symlink, or revert back to v2024.12.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage-neededNeeds assignment to the proper sub-team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions