bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24192: Gajim fails with locale.Error


From: Ludovic Courtès
Subject: bug#24192: Gajim fails with locale.Error
Date: Mon, 29 Aug 2016 10:52:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Leo Famulari <address@hidden> 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 <address@hidden> 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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]