<div dir="ltr">Hmm. Shouldn't locale revert to en_US if the locale is not found? Seems like a Sugar/Sugar toolkit bug.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 13, 2015 at 4:40 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You are using sugar-build?  It seems so, because your screenshot has<br>
an Ubuntu desktop view.<br>
<br>
In your logs, the following activities failed because of your en_NG<br>
language choice: Calculate, Moon, Measure, Pippy, Record, Turtle<br>
Blocks, and Speak.<br>
<br>
But many activities worked fine.<br>
<br>
An example from the Moon activity:<br>
<br>
Traceback (most recent call last):<br>
  File "/usr/bin/sugar-activity", line 169, in <module><br>
    main()<br>
  File "/usr/bin/sugar-activity", line 164, in main<br>
    instance = create_activity_instance(activity_constructor, activity_handle)<br>
  File "/usr/bin/sugar-activity", line 42, in create_activity_instance<br>
    activity = constructor(handle)<br>
  File "/usr/share/sugar/activities/Moon.activity/moon.py", line 90, in __init__<br>
    activity_button = ActivityToolbarButton(self)<br>
  File "/usr/lib/python2.7/dist-packages/sugar/activity/widgets.py", line 75, in __init__<br>
    icon = _create_activity_icon(activity.metadata)<br>
  File "/usr/lib/python2.7/dist-packages/sugar/activity/widgets.py", line 45, in _create_activity_icon<br>
    bundle = ActivityBundle(get_bundle_path())<br>
  File "/usr/lib/python2.7/dist-packages/sugar/bundle/activitybundle.py", line 72, in __init__<br>
    linfo_file = self._get_linfo_file()<br>
  File "/usr/lib/python2.7/dist-packages/sugar/bundle/activitybundle.py", line 141, in _get_linfo_file<br>
    lang = locale.getdefaultlocale()[0]<br>
  File "/usr/lib/python2.7/locale.py", line 543, in getdefaultlocale<br>
    return _parse_localename(localename)<br>
  File "/usr/lib/python2.7/locale.py", line 475, in _parse_localename<br>
    raise ValueError, 'unknown locale: %s' % localename<br>
ValueError: unknown locale: en_NG<br>
<br>
<br>
On Fri, Dec 11, 2015 at 05:29:42PM +0100, samson goddy wrote:<br>
> here are the logs<br>
><br>
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br>
<span class="">> Date: Fri, 11 Dec 2015 12:57:01 -0300<br>
> From: <a href="mailto:martin.abente.lahaye@gmail.com">martin.abente.lahaye@gmail.com</a><br>
> To: <a href="mailto:samsongoddy@hotmail.com">samsongoddy@hotmail.com</a><br>
> CC: <a href="mailto:sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a><br>
> Subject: Re: [Sugar-devel] Sugar Activities not working on Ubuntu<br>
><br>
> Hey Samson,<br>
><br>
> Are you using this [1]? Can you send the logs? Check in ~/.sugar/default/logs/<br>
><br>
> Regards,<br>
> Martin.<br>
><br>
> Refs:<br>
</span>> 1. [1]<a href="https://wiki.sugarlabs.org/go/Ubuntu" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Ubuntu</a><br>
><br>
> On Fri, Dec 11, 2015 at 12:14 PM, samson goddy <[2]<a href="mailto:samsongoddy@hotmail.com">samsongoddy@hotmail.com</a>><br>
<span class="">> wrote:<br>
><br>
>     Hello guys,<br>
><br>
>     Most of the activities in sugar running on Ubuntu is not working. Prompting<br>
>     failed  to start. here is a screenshot of the sugar activity on Ubuntu.<br>
><br>
>     _______________________________________________<br>
>     Sugar-devel mailing list<br>
</span>>     [3]<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
>     [4]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<span class="">><br>
> _______________________________________________ Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
</span>> References:<br>
><br>
> [1] <a href="https://wiki.sugarlabs.org/go/Ubuntu" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Ubuntu</a><br>
> [2] mailto:<a href="mailto:samsongoddy@hotmail.com">samsongoddy@hotmail.com</a><br>
> [3] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
> [4] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<span class="im HOEnZb"><br>
<br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
<br>
</span><span class="HOEnZb"><font color="#888888">--<br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br></div>
</div>