[OLPC-Games] Help with porting pygame code to sugar
Tim Wintle
tim.wintle at teamrubber.com
Sat Dec 15 07:41:18 EST 2007
Hi,
I've been trying to use the OLPCGames scripts to create a sugar runtime,
but I can't get it to work on my emulated laptop.
(Running qemu on Ubuntu Gutsy 64 - everything else seems to work great.)
I get all the scripts fine, and everything works in (my) Linux.
I then scp them to the XO (I've tried direct to /usr/share/activities
and to ~/olpc - it's not clear from the wiki where to put them)
Running "setup.py dev" seems to work fine, and after reboot the activity
appears in the frame.
But... I can't launch the activity.
Looking in the logs I find a DBus error
"org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute
program /home/olpc/Activities/test.activity.activity/sugar-activity:No
such file or directory"
- what I don't understand is why is this .activity.activity? surely it's
meant to be .activity?
- is sugar-activity a standard command to launch an activity in the
active directory? (There's no file of that name so I guess so)
Hope someone can give some advice on how to sort this out, thanks in
advance.
Tim
BTW, I am working on a project called Game Baker
(http://code.google.com/p/game-baker/)
which we hope to make into a completely graphical game development
environment (currently pre-alpha, still requires simple python for event
handlers, and it will be a while before we port the GUI to sugar - but
it's a major goal).
I'm trying to make an exporter to sugar packages, so games made with the
system can run on the XO - hoping this will enable people who want to
help but can't program to create educational games for the OLPC.
More information about the Games
mailing list