[Sugar-devel] Fwd: Problem developing app

Aleksey Lim alsroot at member.fsf.org
Tue Dec 14 05:47:14 EST 2010


On Mon, Dec 13, 2010 at 11:33:54AM -0200, Rodrigo Pérez Fulloni wrote:
> Hi, this is my first activity and I made it following your manual (it's
> excellent), and I can't find something different in my activity. I've tried
> changing the location as you said, but nothing. Now I tried eliminating
> every import, reducing the activity to minimum, only the GUI and the problem
> persist! So I think the imports could be discarded as possible cause.
> I'm going crazy!!! I don't know what is happening.
> Any idea?

btw I can start your activity (from git) on sugar-0.84

> Thanks
> --
> Rodrigo Pérez Fulloni
> 
> 
> On Wed, Dec 8, 2010 at 5:41 PM, James Simmons <nicestep at gmail.com> wrote:
> 
> > Rodrigo,
> >
> > If you look at my book example on using PyGame you'll see that I
> > recommend copying the sugargame directory into the root directory of
> > the Activity:
> >
> > http://en.flossmanuals.net/ActivitiesGuideSugar/ActivitiesUsingPyGame
> >
> > You are also doing this.  That's why your import for sugargame is
> > working, not because you're adding anything to the Python path.  You
> > might try the same thing with your version of pygame.  I don't know if
> > that will fix anything, but it's worth trying.  Have a look at my
> > simple pygame example too, and see how it differs from yours.
> >
> > James Simmons
> >
> >

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
Aleksey


More information about the Sugar-devel mailing list