pygame XO bundle not starting from listview

Talk about how to use and get the most out of Activities for the XO.

pygame XO bundle not starting from listview

Postby Finglor » Thu Aug 19, 2010 2:17 pm

Hi guys,

I am working on a game and I am trying to make it run from the list view or favorites view.

The game works perfectly fine from the terminal activity but when its launched from the listview the activity icon pops up and waits for 1 minute and then shut downs, org.laptop.GameActivity log shows nothing in Log Activity.

Anyone have any idea what might be wrong?
Finglor
 
Posts: 2
Joined: Thu Aug 19, 2010 2:12 pm

Re: pygame XO bundle not starting from listview

Postby Finglor » Thu Aug 19, 2010 3:44 pm

I followed this link
http://wiki.laptop.org/go/Porting_pygame_games_to_the_XO

and now when I run the game from the listview I get the following error in the log

File : /usr/share/sugar/activities/gamename.activity/activity.py" line 1, in <module>
from olpcgames import activity
Import Error: No module named olpcgames


Any ideas?
Finglor
 
Posts: 2
Joined: Thu Aug 19, 2010 2:12 pm


Return to Activities / Software

Who is online

Users browsing this forum: No registered users and 1 guest