Re: locale::facet::_S_create_c_locale name not valid [ was: Miro crash on startup on FreeBSD 8.2 amd64 ]

Grzegorz Blach <[email protected]> Wed, 29 Dec 2010 22:54:42 +0100
Newsgroups gmane.os.freebsd.devel.internationalization
Message-ID <[email protected]>
On Wed, Dec 29, 2010 at 22:38, Armin Pirkovitsch <[email protected]> wrote:
> Hi!
>
> @i18n:
> Has any of you ever seen the problem below and knows a possible solution to
> it?
>
> @Grzegorz:
> I can't really reproduce the problem locally - however it sounds to me as if
> the trouble goes deeper than miro (especially since miro is written in
> python and the error looks like a C++ error to me).
> You could try to unset LANGUAGE, LC_ALL, LC_MESSAGES and LANG and see if
> that changes anything.
>
> However you might get more information from the i18n@ guys and girls
> concerning that problem since I have no experience with localization.
>
> Cheers,
> Armin
>
> PS.: please CC me in the replies to the list since I have no subscription to
> it and I would be quiet interested in a possible solution.
>

Hi,

I played with language variables,
miro run when I set LC_ALL=C.

That's all, thanks.


I think will be nice to attach a little patch with workaround for miro.desktop.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-i18n
To unsubscribe, send any mail to "[email protected]"
miro.desktop.diff (application/octet-stream, 1 KB)
--- miro.desktop.old	2010-12-29 22:47:58.075410596 +0100
+++ miro.desktop	2010-12-29 22:50:35.633560026 +0100
@@ -8,8 +8,8 @@
 Comment[fr]=Lecteur multimedia
 Comment[it]=Lettore multimediale
 Icon=miro
-TryExec=miro
-Exec=miro %F
+TryExec=LC_ALL=C miro
+Exec=LC_ALL=C miro %F
 Terminal=false
 Categories=GTK;AudioVideo;TV;Player;P2P;News;FileTransfer;
 MimeType=application/x-miro;application/x-democracy;application/x-bittorrent;video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;application/x-matroska;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;