Skip to content

Cannot launch game due to locale error #6

Description

@HamletDuFromage

Games crash when using the P+ Dolphin client, returns (note that the client seems to work fine, it only happens when launching an actual game, P+ or any other game)

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)

When launching the client, it does complain about "locale 'en_US' cannot be set"

16:22:57: Cannot set locale to language "English (U.S.)".
16:22:57: locale 'en_US' cannot be set.
16:22:57: Cannot set locale to language "English (U.S.)".
16:22:57: locale 'en_US' cannot be set.

I can bypass it by manually setting export LC_ALL=C but it's not idea.

I use Arch Linux and my current locale looks like so

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=fr_FR.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

It's not that big of an issue, but it doesn't happen with the official Dolphin-emu client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions