<br><br><div class="gmail_quote">On Fri, Dec 5, 2008 at 10:50 AM, Heang EANG <span dir="ltr"><<a href="mailto:eheang@yahoo.com">eheang@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<div>Hi,</div>
<div> </div>
<div>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 <a href="http://activity.info" target="_blank">activity.info</a>, 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:</div>
<div> </div>
<div>[fiveinarowActivity.py] is attached with this email.</div>
<div>[setup.py]:</div>
<div> </div>
<div>from sugar.activity import bundlebuilder</div>
<div>bundlebuilder.start('fiveinarowActivity')</div>
<div> </div>
<div>[<a href="http://activity.info" target="_blank">activity.info</a>]:</div>
<div>[Activity]</div>
<div>name = fiveinarowActivity</div>
<div>bundle_id = org.laptop.fiveinarowActivity</div>
<div>class = fiveinarowActivity.fiveinarowActivity</div>
<div>icon = activity-fiveinarow</div>
<div>activity_version = 1</div>
<div>host_version = 1</div>
<div>show_launcher = yes</div>
<div> </div>
<div>Thank you all very much,</div>
<div> </div>
<div>Heang Sok,</div>
<div> </div>
<div> </div></td></tr></tbody></table><br>
</blockquote></div><br><br clear="all">It would help if you could post the log. It would be in the form of<br>~/.sugar/default/logs/org.laptop.fiveinarowActivity-1.log (or something like this)<br>Or if you have the Log viewer Activity you can post your log from there too<br>
<br>Try to get this log after your attempt to start the Activity fails.<br><br><br>regards<br>Arjun<br>