[Sugar-devel] [Sugar emulator][Ubuntu 11.04] I can't install an activity (with the setup.py)

laurent bernabe laurent.bernabe at gmail.com
Mon Dec 5 17:55:44 EST 2011


Ok, Thanks. As James Simons advised me, I uninstalled Sweet distribution
from my linux system.

I would like to make the standard sugar emulator (this wich is given by
Canonical) to work with Pippy, and to work with activities setup.py

But it seems that many things are still to set ...

2011/12/5 Aleksey Lim <alsroot at activitycentral.org>

> On Mon, Dec 05, 2011 at 06:28:15PM +0100, laurent bernabe wrote:
> > Hello everyone,
> >
> > I am following the ActivitiesGuideSugar pdf from august 2010.
> >
> >
> >    - I've fetched tutorial source code for etext activity (chapter 5 :
> >    inheriting from Activity.activity)
> >    - I've modified, carefully i think, the svg picture with Inkscape and
> >    edited the xml structure
> >    - I installed the Sugar Sweets distribution
> >
> > But when I try to setup the activity from the emulator terminal, I get an
> > error saying that there is no module called sugar.activity
> > (the line in fault : "from sugar.activity import bundlebuilder".
> >
> > Have I forgotten an important step in my sugar environment ?
>
> The downside of using Sweets Distribution (and Sweets) is that you are
> getting all libraries enabled only being in Sugar session. If you are
> not in Sugar, the most useful setup.py's command are duplicated in
> sweets command, e.g.:
>
>    sweets dist_xo
>    sweets dist_source
>    sweets genpot
>
> --
> Aleksey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111205/42bfeb5d/attachment.html>


More information about the Sugar-devel mailing list