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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Armin Pirkovitsch-2
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.

On 12/29/10 19:39, Grzegorz Blach wrote:

> Hi,
>
> When I want start Miro on my FreeBSD 8.2-RC1 amd64,
> I get message:
>
> 2010-12-29 19:36:43,874 INFO     Starting up Miro
> 2010-12-29 19:36:43,875 INFO     Version:    3.5.1
> 2010-12-29 19:36:43,876 INFO     Revision:
> ssh://[hidden email]:2191/var/git/miro - e5e3cabb
> 2010-12-29 19:36:43,877 INFO     Builder:    [hidden email]
> 2010-12-29 19:36:43,877 INFO     Build Time: 1293548208.65
> 2010-12-29 19:36:43,877 INFO     Reading HTTP Password list
> 2010-12-29 19:36:43,878 INFO     Starting libCURL thread
> 2010-12-29 19:36:43,879 INFO     Starting event loop thread
> 2010-12-29 19:36:43,880 INFO     Restoring database...
> 2010-12-29 19:36:43,881 INFO     Sqlite3 version:   3.7.4
> 2010-12-29 19:36:43,882 INFO     Pysqlite version:  2.4.1
> 2010-12-29 19:36:43,882 INFO     opening database /home/magik/.miro/sqlitedb
> 2010-12-29 19:36:43,885 INFO     Linux version:     FreeBSD 8.2-PRERELEASE amd64
> 2010-12-29 19:36:43,886 INFO     Python version:    2.6.6 (r266:84292,
> Nov 27 2010, 17:09:47)
> [GCC 4.2.1 20070719  [FreeBSD]]
> 2010-12-29 19:36:43,886 INFO     Gtk+ version:      (2, 22, 1)
> 2010-12-29 19:36:43,886 INFO     PyGObject version: (2, 26, 0)
> 2010-12-29 19:36:43,886 INFO     PyGtk version:     (2, 22, 0)
> 2010-12-29 19:36:43,887 INFO     Language:          [('LANGUAGE',
> 'en_US.UTF-8'), ('LC_ALL', 'en_US.UTF-8'), ('LC_MESSAGES',
> 'en_US.UTF-8'), ('LANG', 'en_US.UTF-8')]
> terminate called after throwing an instance of 'std::runtime_error'
>    what():  locale::facet::_S_create_c_locale name not valid
> Abort trap
>
>
> And in database file /home/magik/.miro/sqlitedb
> is only one table `icon_cache` with schema
> `CREATE TABLE icon_cache (id integer PRIMARY KEY, etag text, modified
> text, filename text, url text);`
>
>
> I don't used this port before, so I don't known which update broke this port.
>
>

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-i18n
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

Grzegorz Blach-3
On Wed, Dec 29, 2010 at 22:38, Armin Pirkovitsch <[hidden email]> 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.

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-i18n
To unsubscribe, send any mail to "[hidden email]"

miro.desktop.diff (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Armin Pirkovitsch-2
If I would add that patch to the port it would prohibit anyone using
that .desktop file from having his/her native language used in that program.
And since this support works here, I must assume that it does work for
others as well and I'm not willing to remove a working feature.

Armin

On 12/29/10 22:54, Grzegorz Blach wrote:

> On Wed, Dec 29, 2010 at 22:38, Armin Pirkovitsch<[hidden email]>  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.

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-i18n
To unsubscribe, send any mail to "[hidden email]"