From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#24192: Gajim fails with locale.Error Date: Tue, 09 Aug 2016 20:58:38 +0200 Message-ID: <87fuqdeplt.fsf@elephly.net> References: <87d1licy1u.fsf@systemreboot.net> <20160809164030.GA30742@jasmine> <21f66ee2d5fdaa88e15f7b2e2c44a7dc@d4n1.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXCF0-0005ue-Ie for bug-guix@gnu.org; Tue, 09 Aug 2016 14:59:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXCEw-0001h4-BR for bug-guix@gnu.org; Tue, 09 Aug 2016 14:59:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXCEw-0001h0-7t for bug-guix@gnu.org; Tue, 09 Aug 2016 14:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bXCEw-0006Oj-2t for bug-guix@gnu.org; Tue, 09 Aug 2016 14:59:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <21f66ee2d5fdaa88e15f7b2e2c44a7dc@d4n1.org> 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: Daniel Pimentel Cc: bug-Guix , 24192@debbugs.gnu.org Daniel Pimentel writes: > 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 > >> I believe it's related to this locale-related issue problem with our >> glibc package: >> >> http://lists.gnu.org/archive/html/guix-devel/2016-08/msg00167.html > > I think or with locale in general. What is your locale? I had the same problem with Gajim on a foreign system on which I had set up “en_GB.utf8”. After switching to “en_US.utf8” I could start Gajim. Another possible fix may have been to install the “glibc-locales” package and set GUIX_LOCPATH as “glibc-utf8-locales” only contains a narrow subset of all possible locales. ~~ Ricardo