[Sugar-devel] Sugar Activities not working on Ubuntu
James Cameron
quozl at laptop.org
Sun Dec 13 16:40:34 EST 2015
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: martin.abente.lahaye at gmail.com
> To: samsongoddy at hotmail.com
> CC: 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]https://wiki.sugarlabs.org/go/Ubuntu
>
> On Fri, Dec 11, 2015 at 12:14 PM, samson goddy <[2]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]Sugar-devel at lists.sugarlabs.org
> [4]http://lists.sugarlabs.org/listinfo/sugar-devel
>
> _______________________________________________ Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
>
> References:
>
> [1] https://wiki.sugarlabs.org/go/Ubuntu
> [2] mailto:samsongoddy at hotmail.com
> [3] mailto:Sugar-devel at lists.sugarlabs.org
> [4] http://lists.sugarlabs.org/listinfo/sugar-devel
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
James Cameron
http://quozl.netrek.org/
More information about the Sugar-devel
mailing list