[OLPC-Games] [Pygame] 'module' object has no attribute 'Game'
khchen at stanford.edu
Tue May 29 11:19:01 EDT 2007
On 5/28/07, stas zytkiewicz <stas.zytkiewicz at gmail.com> wrote:
> On 5/29/07, Joe Chen <khchen at stanford.edu> wrote:
> > Hi,
> > After updating the OLPC to the the latest OS, Sugar 406c11, I tried
> > running a python game and got the following errors (the game works on
> > a PC).
> > ERROR - Traceback (most recent call last):
> > File "/usr/bin/sugar-activity-factory", line 27, in ?
> > self._constructor = getattr(module, class_name)
> > AttributeError: 'module' object has no attribute 'Game'
> It seems the module you try to call doesn't provide a 'Game' class.
> How do you start your game from sugar?
> A collection of educational activities for schools
I was using the Activity creation tutorial on
http://wiki.laptop.org/go/Sugar_Activity_Tutorial to modify our code on
http://typewriter.googlecode.com/svn/trunk/OLPC/ so that it registers as an
> Games mailing list
> Games at laptop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Games