From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24192: Gajim fails with locale.Error Date: Mon, 29 Aug 2016 10:52:05 +0200 Message-ID: <877fb07ya2.fsf@gnu.org> References: <87d1licy1u.fsf@systemreboot.net> <20160809164030.GA30742@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beIJX-0006C3-Le for bug-guix@gnu.org; Mon, 29 Aug 2016 04:53:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beIJS-0000oY-9K for bug-guix@gnu.org; Mon, 29 Aug 2016 04:53:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beIJS-0000oN-5N for bug-guix@gnu.org; Mon, 29 Aug 2016 04:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1beIJR-0006VD-Vh for bug-guix@gnu.org; Mon, 29 Aug 2016 04:53:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160809164030.GA30742@jasmine> (Leo Famulari's message of "Tue, 9 Aug 2016 12:40:30 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 24192@debbugs.gnu.org Leo Famulari skribis: > On Tue, Aug 09, 2016 at 10:56:53AM +0530, Arun Isaac wrote: [...] >> File "/gnu/store/6bk1n2g7i34b4yi0rdindk1f49wps5g6-gajim-0.16.5/share/g= ajim/src/common/i18n.py", line 54, in >> locale.setlocale(locale.LC_ALL, '') >> File "/gnu/store/vcx1n5nj4gr52xx5m6gvi7zrwngy06s3-python-2.7.11/lib/py= thon2.7/locale.py", line 579, in setlocale >> return _setlocale(category, locale) >> locale.Error: unsupported locale setting Daniel Pimentel skribis: > I have a similar problem with locale in Haunt package: > > Backtrace: > In ice-9/boot-9.scm: > 157: 10 [catch #t # ...] > In unknown file: > ?: 9 [apply-smob/1 #] > In ice-9/boot-9.scm: > 63: 8 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 7 [eval # #] > In ice-9/boot-9.scm: > 2401: 6 [save-module-excursion # ice-9/boot-9.scm:4045:3 ()>] > 4050: 5 [#] > 1724: 4 [%start-stack load-stack ...] > 1729: 3 [#] > In unknown file: > ?: 2 [primitive-load > "/gnu/store/v6gq48wbxprf3sbrxdkc9scb80nyypjs-haunt-0.2/bin/.haunt-real"] > In haunt/ui.scm: > 130: 1 [haunt-main > "/gnu/store/v6gq48wbxprf3sbrxdkc9scb80nyypjs-haunt-0.2/bin/.haunt-real" > ...] > In unknown file: > ?: 0 [setlocale 6 ""] > > ERROR: In procedure setlocale: > ERROR: In procedure setlocale: Invalid argument Of course there=E2=80=99s a locale setting issue here, as people pointed ou= t, but I also think that Gajim and Haunt shouldn=E2=80=99t fail like this when= they fail to install the locale (=E2=80=98guix=E2=80=99 prints a warning when th= at happens, other programs silently ignore the problem.) Ludo=E2=80=99.