unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 24192@debbugs.gnu.org
Subject: bug#24192: Gajim fails with locale.Error
Date: Mon, 29 Aug 2016 10:52:05 +0200	[thread overview]
Message-ID: <877fb07ya2.fsf@gnu.org> (raw)
In-Reply-To: <20160809164030.GA30742@jasmine> (Leo Famulari's message of "Tue, 9 Aug 2016 12:40:30 -0400")

Leo Famulari <leo@famulari.name> skribis:

> On Tue, Aug 09, 2016 at 10:56:53AM +0530, Arun Isaac wrote:

[...]

>>   File "/gnu/store/6bk1n2g7i34b4yi0rdindk1f49wps5g6-gajim-0.16.5/share/gajim/src/common/i18n.py", line 54, in <module>
>>     locale.setlocale(locale.LC_ALL, '')
>>   File "/gnu/store/vcx1n5nj4gr52xx5m6gvi7zrwngy06s3-python-2.7.11/lib/python2.7/locale.py", line 579, in setlocale
>>     return _setlocale(category, locale)
>> locale.Error: unsupported locale setting

Daniel Pimentel <d4n1@d4n1.org> skribis:

> I have a similar problem with locale in Haunt package:
>
> Backtrace:
> In ice-9/boot-9.scm:
>  157: 10 [catch #t #<catch-closure 11f0b40> ...]
> In unknown file:
>    ?: 9 [apply-smob/1 #<catch-closure 11f0b40>]
> 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 #<procedure 120e940 at
> ice-9/boot-9.scm:4045:3 ()>]
> 4050: 5 [#<procedure 120e940 at ice-9/boot-9.scm:4045:3 ()>]
> 1724: 4 [%start-stack load-stack ...]
> 1729: 3 [#<procedure 1224ea0 ()>]
> 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’s a locale setting issue here, as people pointed out,
but I also think that Gajim and Haunt shouldn’t fail like this when they
fail to install the locale (‘guix’ prints a warning when that happens,
other programs silently ignore the problem.)

Ludo’.

  parent reply	other threads:[~2016-08-29  8:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09  5:26 bug#24192: Gajim fails with locale.Error Arun Isaac
2016-08-09  7:09 ` Danny Milosavljevic
2016-08-10  9:53   ` Arun Isaac
2016-08-11 14:05     ` Alex Kost
2016-08-12  6:04       ` Arun Isaac
2016-08-12  7:19         ` Vincent Legoll
2016-08-12 17:33           ` Leo Famulari
2016-08-12  8:42         ` Alex Kost
2016-08-09 16:40 ` Leo Famulari
2016-08-09 17:28   ` Daniel Pimentel
2016-08-09 18:58     ` Ricardo Wurmus
2016-08-09 20:53     ` Alex Kost
2016-08-29  8:52   ` Ludovic Courtès [this message]
2018-09-05  7:08     ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fb07ya2.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=24192@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).