[Sugar-devel] Question about installing an activity on XO laptop

Walter Bender walter.bender at gmail.com
Fri Dec 5 09:10:44 EST 2008


Try launching the log viewer after your activity fails to launch. It
usually has helpful information.

-walter

On Fri, Dec 5, 2008 at 12:20 AM, Heang EANG <eheang at yahoo.com> wrote:
> Hi,
>
> I am an international student from Cambodia. Recently, I have been working
> on an activity which I called "Five in a Row" for the XO laptop. I am new to
> Python, so the codes look pretty simple and are not perfect yet. I know I
> could have built the activity in PyGame. Anyway, I use PyGTK to work on this
> project. However, I am running into a program when trying to install my
> activity on the XO laptop. I believe there are three important files needed
> for the installation of the activity, including activity.info, setup.py, and
> the activity.py files. I am not sure if I code something wrong in any of
> those files; however, after installing it, when I try to run the activity,
> it never loads the activity up, and it keeps saying "starting", but nothing
> comes up. Could anyone please take some time to look at my codes below and
> give me some ideas. I would appreciate it very much. Here are my codes:
>
> [fiveinarowActivity.py] is attached with this email.
> [setup.py]:
>
> from sugar.activity import bundlebuilder
> bundlebuilder.start('fiveinarowActivity')
>
> [activity.info]:
> [Activity]
> name = fiveinarowActivity
> bundle_id = org.laptop.fiveinarowActivity
> class = fiveinarowActivity.fiveinarowActivity
> icon = activity-fiveinarow
> activity_version = 1
> host_version = 1
> show_launcher = yes
>
> Thank you all very much,
>
> Heang Sok,
>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Sugar-devel mailing list