[Sugar-devel] Sugar Activities not working on Ubuntu

James Cameron quozl at laptop.org
Mon Dec 14 15:12:45 EST 2015


Is private; Google prompts for sign in.

On Mon, Dec 14, 2015 at 02:02:01PM -0300, Martin Abente wrote:
> [1]https://codein.withgoogle.com/dashboard/tasks/4659526686998528/
> 
> On Mon, Dec 14, 2015 at 1:51 PM, Martin Abente <[2]
> martin.abente.lahaye at gmail.com> wrote:
> 
>     will do!
> 
>     On Sun, Dec 13, 2015 at 7:45 PM, Walter Bender <[3]walter.bender at gmail.com>
>     wrote:
> 
>         Sounds like a job for GCI :)  Martin: Can you write something up?
> 
>         On Sun, Dec 13, 2015 at 5:42 PM, James Cameron <[4]quozl at laptop.org>
>         wrote:
> 
>             Agreed.
> 
>             Saw similar on Ubuntu 15.10 last week; this was failing;
> 
>                     import locale
>                     locale.setlocale(locale.LC_ALL, '')
> 
>             Documentation says it can fail.  If an activity or toolkit doesn't
>             handle failure, I think it needs to be fixed.
>            
>             On Sun, Dec 13, 2015 at 05:03:20PM -0500, Walter Bender wrote:
>             > Hmm. Shouldn't locale revert to en_US if the locale is not found?
>             Seems like a
>             > Sugar/Sugar toolkit bug.
>             >
>             > On Sun, Dec 13, 2015 at 4:40 PM, James Cameron <[1][5]
>             quozl at laptop.org> wrote:
>             >
>             >     You are using sugar-build?  It seems so, because your
>             screenshot has
>             >     an Ubuntu desktop view.
>             >
>             >     In your logs, the following activities failed because of your
>             en_NG
>             >     language choice: Calculate, Moon, Measure, Pippy, Record,
>             Turtle
>             >     Blocks, and Speak.
>             >
>             >     But many activities worked fine.
>             >
>             >     An example from the Moon activity:
>             >
>             >     Traceback (most recent call last):
>             >       File "/usr/bin/sugar-activity", line 169, in <module>
>             >         main()
>             >       File "/usr/bin/sugar-activity", line 164, in main
>             >         instance = create_activity_instance(activity_constructor,
>             >     activity_handle)
>             >       File "/usr/bin/sugar-activity", line 42, in
>             create_activity_instance
>             >         activity = constructor(handle)
>             >       File "/usr/share/sugar/activities/Moon.activity/moon.py",
>             line 90, in
>             >     __init__
>             >         activity_button = ActivityToolbarButton(self)
>             >       File "/usr/lib/python2.7/dist-packages/sugar/activity/
>             widgets.py", line
>             >     75, in __init__
>             >         icon = _create_activity_icon(activity.metadata)
>             >       File "/usr/lib/python2.7/dist-packages/sugar/activity/
>             widgets.py", line
>             >     45, in _create_activity_icon
>             >         bundle = ActivityBundle(get_bundle_path())
>             >       File "/usr/lib/python2.7/dist-packages/sugar/bundle/
>             activitybundle.py",
>             >     line 72, in __init__
>             >         linfo_file = self._get_linfo_file()
>             >       File "/usr/lib/python2.7/dist-packages/sugar/bundle/
>             activitybundle.py",
>             >     line 141, in _get_linfo_file
>             >         lang = locale.getdefaultlocale()[0]
>             >       File "/usr/lib/python2.7/locale.py", line 543, in
>             getdefaultlocale
>             >         return _parse_localename(localename)
>             >       File "/usr/lib/python2.7/locale.py", line 475, in
>             _parse_localename
>             >         raise ValueError, 'unknown locale: %s' % localename
>             >     ValueError: unknown locale: en_NG
>             >
>             >     On Fri, Dec 11, 2015 at 05:29:42PM +0100, samson goddy wrote:
>             >     > here are the logs
>             >     >
>             >     >
>             >   
>              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
>             >     > Date: Fri, 11 Dec 2015 12:57:01 -0300
>             >     > From: [2][6]martin.abente.lahaye at gmail.com
>             >     > To: [3][7]samsongoddy at hotmail.com
>             >     > CC: [4][8]sugar-devel at lists.sugarlabs.org
>             >     > Subject: Re: [Sugar-devel] Sugar Activities not working on
>             Ubuntu
>             >     >
>             >     > Hey Samson,
>             >     >
>             >     > Are you using this [1]? Can you send the logs? Check in ~
>             /.sugar/default/
>             >     logs/
>             >     >
>             >     > Regards,
>             >     > Martin.
>             >     >
>             >     > Refs:
>             >     > 1. [1][5][9]https://wiki.sugarlabs.org/go/Ubuntu
>             >     >
>             >     > On Fri, Dec 11, 2015 at 12:14 PM, samson goddy <[2][6]
>             >     [10]samsongoddy at hotmail.com>
>             >     > wrote:
>             >     >
>             >     >     Hello guys,
>             >     >
>             >     >     Most of the activities in sugar running on Ubuntu is
>             not working.
>             >     Prompting
>             >     >     failed  to start. here is a screenshot of the sugar
>             activity on
>             >     Ubuntu.
>             >     >
>             >     >     _______________________________________________
>             >     >     Sugar-devel mailing list
>             >     >     [3][7][11]Sugar-devel at lists.sugarlabs.org
>             >     >     [4][8][12]http://lists.sugarlabs.org/listinfo/
>             sugar-devel
>             >     >
>             >     > _______________________________________________ Sugar-devel
>             mailing list
>             >     > [9][13]Sugar-devel at lists.sugarlabs.org [10][14]http://
>             lists.sugarlabs.org/
>             >     listinfo/sugar-devel
>             >     >
>             >     > References:
>             >     >
>             >     > [1] [11][15]https://wiki.sugarlabs.org/go/Ubuntu
>             >     > [2] mailto:[12][16]samsongoddy at hotmail.com
>             >     > [3] mailto:[13][17]Sugar-devel at lists.sugarlabs.org
>             >     > [4] [14][18]http://lists.sugarlabs.org/listinfo/sugar-devel
>             >
>             >
>             >     > _______________________________________________
>             >     > Sugar-devel mailing list
>             >     > [15][19]Sugar-devel at lists.sugarlabs.org
>             >     > [16][20]http://lists.sugarlabs.org/listinfo/sugar-devel
>             >
>             >     --
>             >     James Cameron
>             >     [17][21]http://quozl.netrek.org/
>             >     _______________________________________________
>             >     Sugar-devel mailing list
>             >     [18][22]Sugar-devel at lists.sugarlabs.org
>             >     [19][23]http://lists.sugarlabs.org/listinfo/sugar-devel
>             >
>             > --
>             > Walter Bender
>             > Sugar Labs
>             > [20][24]http://www.sugarlabs.org
>             >
>             > References:
>             >
>             > [1] mailto:[25]quozl at laptop.org
>             > [2] mailto:[26]martin.abente.lahaye at gmail.com
>             > [3] mailto:[27]samsongoddy at hotmail.com
>             > [4] mailto:[28]sugar-devel at lists.sugarlabs.org
>             > [5] [29]https://wiki.sugarlabs.org/go/Ubuntu
>             > [6] mailto:[30]samsongoddy at hotmail.com
>             > [7] mailto:[31]Sugar-devel at lists.sugarlabs.org
>             > [8] [32]http://lists.sugarlabs.org/listinfo/sugar-devel
>             > [9] mailto:[33]Sugar-devel at lists.sugarlabs.org
>             > [10] [34]http://lists.sugarlabs.org/listinfo/sugar-devel
>             > [11] [35]https://wiki.sugarlabs.org/go/Ubuntu
>             > [12] mailto:[36]samsongoddy at hotmail.com
>             > [13] mailto:[37]Sugar-devel at lists.sugarlabs.org
>             > [14] [38]http://lists.sugarlabs.org/listinfo/sugar-devel
>             > [15] mailto:[39]Sugar-devel at lists.sugarlabs.org
>             > [16] [40]http://lists.sugarlabs.org/listinfo/sugar-devel
>             > [17] [41]http://quozl.netrek.org/
>             > [18] mailto:[42]Sugar-devel at lists.sugarlabs.org
>             > [19] [43]http://lists.sugarlabs.org/listinfo/sugar-devel
>             > [20] [44]http://www.sugarlabs.org/
> 
>             --
>             James Cameron
>             [45]http://quozl.netrek.org/
> 
>         --
>         Walter Bender
>         Sugar Labs
>         [46]http://www.sugarlabs.org
>    
> 
> References:
> 
> [1] https://codein.withgoogle.com/dashboard/tasks/4659526686998528/
> [2] mailto:martin.abente.lahaye at gmail.com
> [3] mailto:walter.bender at gmail.com
> [4] mailto:quozl at laptop.org
> [5] mailto:quozl at laptop.org
> [6] mailto:martin.abente.lahaye at gmail.com
> [7] mailto:samsongoddy at hotmail.com
> [8] mailto:sugar-devel at lists.sugarlabs.org
> [9] https://wiki.sugarlabs.org/go/Ubuntu
> [10] mailto:samsongoddy at hotmail.com
> [11] mailto:Sugar-devel at lists.sugarlabs.org
> [12] http://lists.sugarlabs.org/listinfo/sugar-devel
> [13] mailto:Sugar-devel at lists.sugarlabs.org
> [14] http://lists.sugarlabs.org/
> [15] https://wiki.sugarlabs.org/go/Ubuntu
> [16] mailto:samsongoddy at hotmail.com
> [17] mailto:Sugar-devel at lists.sugarlabs.org
> [18] http://lists.sugarlabs.org/listinfo/sugar-devel
> [19] mailto:Sugar-devel at lists.sugarlabs.org
> [20] http://lists.sugarlabs.org/listinfo/sugar-devel
> [21] http://quozl.netrek.org/
> [22] mailto:Sugar-devel at lists.sugarlabs.org
> [23] http://lists.sugarlabs.org/listinfo/sugar-devel
> [24] http://www.sugarlabs.org/
> [25] mailto:quozl at laptop.org
> [26] mailto:martin.abente.lahaye at gmail.com
> [27] mailto:samsongoddy at hotmail.com
> [28] mailto:sugar-devel at lists.sugarlabs.org
> [29] https://wiki.sugarlabs.org/go/Ubuntu
> [30] mailto:samsongoddy at hotmail.com
> [31] mailto:Sugar-devel at lists.sugarlabs.org
> [32] http://lists.sugarlabs.org/listinfo/sugar-devel
> [33] mailto:Sugar-devel at lists.sugarlabs.org
> [34] http://lists.sugarlabs.org/listinfo/sugar-devel
> [35] https://wiki.sugarlabs.org/go/Ubuntu
> [36] mailto:samsongoddy at hotmail.com
> [37] mailto:Sugar-devel at lists.sugarlabs.org
> [38] http://lists.sugarlabs.org/listinfo/sugar-devel
> [39] mailto:Sugar-devel at lists.sugarlabs.org
> [40] http://lists.sugarlabs.org/listinfo/sugar-devel
> [41] http://quozl.netrek.org/
> [42] mailto:Sugar-devel at lists.sugarlabs.org
> [43] http://lists.sugarlabs.org/listinfo/sugar-devel
> [44] http://www.sugarlabs.org/
> [45] http://quozl.netrek.org/
> [46] http://www.sugarlabs.org/

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list