#Codex Desktop fails to start when Windows username contains non-ASCII characters

1 messages · Page 1 of 1 (latest)

coarse wingBOT
#

Reported by @lusty lantern

Bug Report: Codex Desktop fails to start when Windows username contains non-ASCII characters
`Steps to Reproduce`
  1. Use Windows with a user account whose username contains non-ASCII characters (for example Chinese characters).
  2. Install and launch the Codex Desktop application.
  3. During startup, Codex attempts to create its local database directory.
  4. The application fails to start and displays an error message.
`Expected Result`

Codex Desktop should start normally and create its data directory under the user profile path, regardless of whether the Windows username contains Unicode characters.

`Actual Result`

Codex Desktop fails to start and shows the following error:
Codex failed to start.
EPERM: operation not permitted, mkdir 'C:\Users<username>.codex\sqlite'
In this case the Windows user profile path contains Chinese characters, for example:
C:\Users\小猫
The application appears unable to create the .codex/sqlite directory when the path contains non-ASCII characters.

`Environment`

OS: Windows 11 Shell: PowerShell 7.5.4 User profile path: C:\Users\小猫 Codex: Desktop application

#
Additional Information

Please provide relevant details to help resolve the issue, such as:

  • ChatGPT Shared Link (if applicable).
  • Screenshots or videos demonstrating the problem.

-# ➜ Need to contact support? Visit the OpenAI Help Center.