<div dir="ltr">will do!</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 13, 2015 at 7:45 PM, Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sounds like a job for GCI :)  Martin: Can you write something up?</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sun, Dec 13, 2015 at 5:42 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">Agreed.<br>
<br>
Saw similar on Ubuntu 15.10 last week; this was failing;<br>
<br>
        import locale<br>
        locale.setlocale(locale.LC_ALL, '')<br>
<br>
Documentation says it can fail.  If an activity or toolkit doesn't<br>
handle failure, I think it needs to be fixed.<br>
<span><br>
On Sun, Dec 13, 2015 at 05:03:20PM -0500, Walter Bender wrote:<br>
> Hmm. Shouldn't locale revert to en_US if the locale is not found? Seems like a<br>
> Sugar/Sugar toolkit bug.<br>
><br>
</span><div><div>> On Sun, Dec 13, 2015 at 4:40 PM, James Cameron <[1]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
><br>
>     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,<br>
>     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<br>
>     __init__<br>
>         activity_button = ActivityToolbarButton(self)<br>
>       File "/usr/lib/python2.7/dist-packages/sugar/activity/widgets.py", line<br>
>     75, in __init__<br>
>         icon = _create_activity_icon(activity.metadata)<br>
>       File "/usr/lib/python2.7/dist-packages/sugar/activity/widgets.py", line<br>
>     45, in _create_activity_icon<br>
>         bundle = ActivityBundle(get_bundle_path())<br>
>       File "/usr/lib/python2.7/dist-packages/sugar/bundle/activitybundle.py",<br>
>     line 72, in __init__<br>
>         linfo_file = self._get_linfo_file()<br>
>       File "/usr/lib/python2.7/dist-packages/sugar/bundle/activitybundle.py",<br>
>     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>
>     On Fri, Dec 11, 2015 at 05:29:42PM +0100, samson goddy wrote:<br>
>     > here are the logs<br>
>     ><br>
>     ><br>
>     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br>
>     > Date: Fri, 11 Dec 2015 12:57:01 -0300<br>
</div></div>>     > From: [2]<a href="mailto:martin.abente.lahaye@gmail.com" target="_blank">martin.abente.lahaye@gmail.com</a><br>
>     > To: [3]<a href="mailto:samsongoddy@hotmail.com" target="_blank">samsongoddy@hotmail.com</a><br>
>     > CC: [4]<a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>
<span>>     > 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/<br>
>     logs/<br>
>     ><br>
>     > Regards,<br>
>     > Martin.<br>
>     ><br>
>     > Refs:<br>
</span>>     > 1. [1][5]<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][6]<br>
<span>>     <a href="mailto:samsongoddy@hotmail.com" target="_blank">samsongoddy@hotmail.com</a>><br>
>     > wrote:<br>
>     ><br>
>     >     Hello guys,<br>
>     ><br>
>     >     Most of the activities in sugar running on Ubuntu is not working.<br>
>     Prompting<br>
>     >     failed  to start. here is a screenshot of the sugar activity on<br>
>     Ubuntu.<br>
>     ><br>
>     >     _______________________________________________<br>
>     >     Sugar-devel mailing list<br>
</span>>     >     [3][7]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
>     >     [4][8]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
>     ><br>
>     > _______________________________________________ Sugar-devel mailing list<br>
>     > [9]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a> [10]<a href="http://lists.sugarlabs.org/" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/</a><br>
>     listinfo/sugar-devel<br>
>     ><br>
>     > References:<br>
>     ><br>
>     > [1] [11]<a href="https://wiki.sugarlabs.org/go/Ubuntu" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Ubuntu</a><br>
>     > [2] mailto:[12]<a href="mailto:samsongoddy@hotmail.com" target="_blank">samsongoddy@hotmail.com</a><br>
>     > [3] mailto:[13]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
>     > [4] [14]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
><br>
>     > _______________________________________________<br>
>     > Sugar-devel mailing list<br>
>     > [15]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
>     > [16]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
>     --<br>
>     James Cameron<br>
>     [17]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
>     _______________________________________________<br>
>     Sugar-devel mailing list<br>
>     [18]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
>     [19]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<span>><br>
> --<br>
> Walter Bender<br>
> Sugar Labs<br>
</span>> [20]<a href="http://www.sugarlabs.org" rel="noreferrer" target="_blank">http://www.sugarlabs.org</a><br>
><br>
> References:<br>
><br>
> [1] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [2] mailto:<a href="mailto:martin.abente.lahaye@gmail.com" target="_blank">martin.abente.lahaye@gmail.com</a><br>
> [3] mailto:<a href="mailto:samsongoddy@hotmail.com" target="_blank">samsongoddy@hotmail.com</a><br>
> [4] mailto:<a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>
> [5] <a href="https://wiki.sugarlabs.org/go/Ubuntu" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Ubuntu</a><br>
> [6] mailto:<a href="mailto:samsongoddy@hotmail.com" target="_blank">samsongoddy@hotmail.com</a><br>
> [7] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [8] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [9] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [10] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [11] <a href="https://wiki.sugarlabs.org/go/Ubuntu" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Ubuntu</a><br>
> [12] mailto:<a href="mailto:samsongoddy@hotmail.com" target="_blank">samsongoddy@hotmail.com</a><br>
> [13] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [14] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [15] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [16] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [17] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [18] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [19] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [20] <a href="http://www.sugarlabs.org/" rel="noreferrer" target="_blank">http://www.sugarlabs.org/</a><br>
<div><div><br>
--<br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><span class="HOEnZb"><font color="#888888"><div>Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br></div>
</font></span></div>
</blockquote></div><br></div>