Skip to content

Failed to configure LOCALE for invalid locale name #427

@reformman1001

Description

@reformman1001

I am getting this error when trying to launch redis-server on macOS. It works fine from the native terminal or iTerm, so I assume there's something wrong with Wave.

Output when executing redis-server without any additional arguments:

* oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
* Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=17456, just started
# Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
# Failed to configure LOCALE for invalid locale name.

I am on Wave Terminal 0.7.0, macOS Sonoma. You can reproduce it by installing Redis with brew install redis

Seems like this is the code responsible for the error message: https://github.com/redis/redis/blob/unstable/src/server.c#L2640

/* Make sure the locale is set on startup based on the config file. */
    if (setlocale(LC_COLLATE,server.locale_collate) == NULL) {
        serverLog(LL_WARNING, "Failed to configure LOCALE for invalid locale name.");
        exit(1);
    }

I thought it might be related to #211, but it probably isn't.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglegacyIssue pertaining to WaveLegacy

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions