From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#24192: Gajim fails with locale.Error Date: Thu, 11 Aug 2016 17:05:58 +0300 Message-ID: <87oa4zz9h5.fsf@gmail.com> References: <87d1licy1u.fsf@systemreboot.net> <20160809090923.113e66bf@scratchpost.org> <87d1lhq7a4.fsf@systemreboot.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXqdX-0000Kz-Om for bug-guix@gnu.org; Thu, 11 Aug 2016 10:07:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXqdS-00047k-4w for bug-guix@gnu.org; Thu, 11 Aug 2016 10:07:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXqdS-00047f-1W for bug-guix@gnu.org; Thu, 11 Aug 2016 10:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bXqdR-00086l-L7 for bug-guix@gnu.org; Thu, 11 Aug 2016 10:07:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d1lhq7a4.fsf@systemreboot.net> (Arun Isaac's message of "Wed, 10 Aug 2016 15:23:39 +0530") 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: Arun Isaac Cc: 24192@debbugs.gnu.org Arun Isaac (2016-08-10 12:53 +0300) wrote: > I was using en_IN.UTF-8. > > After switching to en_US.UTF-8 and setting GUIX_LOCPATH and > XDG_DATA_DIRS with > > export GUIX_LOCPATH="/gnu/store/rvc5iqmqwhhmj2mcip4x1y9g8chrlxs8-profile/lib/locale${GUIX_LOCPATH:+:}$GUIX_LOCPATH" > export XDG_DATA_DIRS="/gnu/store/rvc5iqmqwhhmj2mcip4x1y9g8chrlxs8-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" It is better to use "~/.guix-profile/..." links (or whatever profile it is) instead of the direct file names from the store, as they may be "gc"-ed one day. > gajim runs successfully. > > Isn't there a more automated way to handle these environment variables? I don't think so: if you are not on GuixSD, you have to set these variables yourself. -- Alex