From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SG73C1nF4WHaPwAAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 19:47:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sA05CVnF4WG5MAEA9RJhRA (envelope-from ) for ; Fri, 14 Jan 2022 19:47:53 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C8EB814C68 for ; Fri, 14 Jan 2022 19:47:52 +0100 (CET) Received: from localhost ([::1]:53194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Rc7-00075g-8q for larch@yhetil.org; Fri, 14 Jan 2022 13:47:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8RaM-00074J-U6 for bug-guix@gnu.org; Fri, 14 Jan 2022 13:46:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8RaM-0006AC-Ky for bug-guix@gnu.org; Fri, 14 Jan 2022 13:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8RaM-0001QD-E6 for bug-guix@gnu.org; Fri, 14 Jan 2022 13:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53246: Flameshot crashes on screen capture Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 14 Jan 2022 18:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53246 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jacob Hrbek , 53246@debbugs.gnu.org Received: via spool by 53246-submit@debbugs.gnu.org id=B53246.16421859305417 (code B ref 53246); Fri, 14 Jan 2022 18:46:02 +0000 Received: (at 53246) by debbugs.gnu.org; 14 Jan 2022 18:45:30 +0000 Received: from localhost ([127.0.0.1]:38133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8RZq-0001PI-Du for submit@debbugs.gnu.org; Fri, 14 Jan 2022 13:45:30 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:45960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8RZn-0001P9-FC for 53246@debbugs.gnu.org; Fri, 14 Jan 2022 13:45:29 -0500 Received: from [172.20.10.5] ([188.188.180.33]) by albert.telenet-ops.be with bizsmtp id iilR260010je1N406ilREr; Fri, 14 Jan 2022 19:45:25 +0100 Message-ID: From: Maxime Devos Date: Fri, 14 Jan 2022 18:45:24 +0000 In-Reply-To: <25a11a16-4ce8-ca44-565e-391563ad975b@rixotstudio.cz> References: <25a11a16-4ce8-ca44-565e-391563ad975b@rixotstudio.cz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-npNLoTa9B25Y6jUlPSU6" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1642185925; bh=e6HbpLcGuhbZ05yQ1dCDeEvjyyZkHaTDMjWRc14l8/U=; h=Subject:From:To:Date:In-Reply-To:References; b=Yup3za6yR4aik9Mb7fdAcLbmO0rPMQT2G5hSDUo1lcJQNaEgQfobOpAhpyf57uOuY lTbm3k+iJbB/TDUyj1ZeCI1T++FM1HGNDmGn7wi1r2b4rNQVCO6pFbnOwUeuTgW7bt T57J+viCrTkZ3C0e6ky7SkUQupkM+4AJfxPPIETDbFrC/FlpBincOarbyYb9Of5lXA D9kKrVE/Z1ztC4ZieKY5LYQQcaoCEBgd5eggXCYrIoE5wbYhSkKNqYDbIpNT81Wont Me0Vol4S1wWYYfZjUTl2SpdooKwjyuqrAvL2DHsastVh/pu+lpZ7FrfTltrrFOnUVn ZHEfirtfP8dLA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642186072; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=e6HbpLcGuhbZ05yQ1dCDeEvjyyZkHaTDMjWRc14l8/U=; b=dnmIWSNa+fcsvPoa5LrjVpbSRWuzgauYn2vGIot/1fUDxBj9LSLq92fuMzTtY3qjBgTYEk H6V3sSiJx7LZTGLGT1hIQHQi0+JMTDc07F598eUs4bLtHhHOZs2FPA8G/T2d5NQDxBdKIP /9v9mwRsBoNWOYp7jn+6xgELyV9L7iYFpCftf9IMhh6yM7IgbZ3Wg9KFq10mbBeSUKEKcN KQ3bVhHXMrjHpc+LEif5JKz6mcAdIuU+N4nqeNFCJhLOM+9u5zdfIxvXZLTIDO2/g6WSTJ 3IaOME3ADkGtcLTFO4H2QpTlRNlfJn0/qCOWCCIxd1RPTYSRg01fZRpDheerVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642186072; a=rsa-sha256; cv=none; b=pU3PpcS5a/Fl4tbYEDYnk7N5WDPA8RWRAW3A85GQzHJfQn+lZrLfckmWc0UOCCd/eMA+w7 3M2man4d3rPLjbl9kqOZkNVxNsBbConhsts3yM/hRbAZlnWL2TBiRIerZC7zWC2i5i6gs/ DnjN6aFS5hAhfZ88eR6tAASMPS4jO+N39IYrujiIulgfzuDqkV0yHbFOcWtD8uKLLBiYB6 o59F3ByR2O+Vu0+XYr2XBnWI+sHZu8aE78EfN5T5G7ybpBqf16VMryiTkIToCk6B4iou6t kvAiNen6VyTr4hRP7MCwC95VPNBp40ae1usyDa5tT+VV+hpjzk4Azka782XwQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=Yup3za6y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=Yup3za6y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C8EB814C68 X-Spam-Score: -5.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: UeLOv0wt9m37 --=-npNLoTa9B25Y6jUlPSU6 Content-Type: multipart/alternative; boundary="=-DCqj7+Lra5gPd75e45VS" --=-DCqj7+Lra5gPd75e45VS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Jacob Hrbek schreef op vr 14-01-2022 om 05:58 [+0000]: > [...] > [source ] [function ] [line ] Locales on your system are not properly >=C2=A0configured. Falling back to defaults > terminate called after throwing an instance of 'std::runtime_error' > =C2=A0 what():=C2=A0 locale::facet::_S_create_c_locale name not valid >=C2=A0=C2=A0 (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 reasonab= le ... 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 somethi= ng for upstream. Greetings, Maxime --=-DCqj7+Lra5gPd75e45VS Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi,

Jacob Hrbek schr=
eef op vr 14-01-2022 om 05:58 [+0000]:
> [...]
> [source ] [function ] [line ] Locales on your system are n= ot properly
>&n= bsp;configured. Falling back= to defaults
> terminate called after throwing an instance of '= std::runtime_error'
= >   what():  locale::f= acet::_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) flame=
shot, because of
[source ], [function ]  and [line ] not being re=
placed with the location of the
source file, function name and th=
e line number, but that seems more something
for upstream.
<= pre>
Greetings,
Maxime
--=-DCqj7+Lra5gPd75e45VS-- --=-npNLoTa9B25Y6jUlPSU6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYeHExBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7n5DAQDr6XDbvs9FOX803SfmJPzNHkF8 BFZErps5BhJEwtRsEQD/VP1aIUuijUe7KWSAUmEuHAwu6ASwBxBXDZgA/UPAwAo= =HXP5 -----END PGP SIGNATURE----- --=-npNLoTa9B25Y6jUlPSU6--