Subject: bug#53246: Flameshot crashes on screen capture

From: Maxime Devos <[email-masked]>
Date: Fri, 14 Jan 2022 18:45:24 +0000

Hi,

Jacob Hrbek schreef op vr 14-01-2022 om 05:58 [+0000]:
> [...]
> [source ] [function ] [line ] Locales on your system are not properly
> configured. Falling back to defaults
> terminate called after throwing an instance of 'std::runtime_error'
>   what():  locale::facet::_S_create_c_locale name not valid
>   (locale "en_US.utf8")

IIRC and IIUC this is not a valid locale, try "en_US.UTF-8" instead.
Maybe the Guix System code should check if the locale string looks reasonable ...

Also, there appears to be a bug in a (dependency of) flameshot, because of
[source ], [function ]  and [line ] not being replaced with the location of the
source file, function name and the line number, but that seems more something
for upstream.

Greetings,
Maxime