[sugar] I cant install my activity any longer.

Justin Gallardo gallardj
Thu Dec 7 08:22:00 EST 2006


It may also be worthy to note that we are switching activities to bundles.
You can find documentation on this at
http://wiki.laptop.org/go/Activity_Bundles .

Cheers!

On 12/7/06, Dan Williams <dcbw at redhat.com> wrote:
>
> On Thu, 2006-12-07 at 13:57 +0100, Henrik Olsson wrote:
> > Hi
> > I cant inastll my activity any longer after checking out Sugar.
> > Build and running Sugar workes fine.
> > I have followed the Sugar Activity Tutorial
> > (http://wiki.laptop.org/go/Sugar_Activity_Tutorial).
> >
> > It worked fine last week but today I get the this error:
>
> Have you tried:
>
> $ cd /home/olpc/dev/sugar-jhbuild
> $ ./sugar-jhbuild shell
> $ cd /path/to/example
> $ make install
>
> To be able to import the sugar setup stuff, you need to do the
> 'sugar-jhbuild shell' command to tell your build where to find that
> setup stuff...
>
> Dan
>
> > [olpc at bigbox example]$ make install
> > make[1]: Entering directory `/home/olpc/workspace/example'
> > make[1]: Nothing to be done for `install-exec-am'.
> > test -z
> > "/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing" ||
> > mkdir -p --
> > "/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing"
> >  /usr/bin/install -c -m 644 '__init__.py'
> >
> '/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing/__init__.py'
> >  /usr/bin/install -c -m 644 'DrawingActivity.py'
> >
> '/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing/DrawingActivity.py'
> > Byte-compiling python modules...
> > __init__.py DrawingActivity.py
> > Byte-compiling python modules (optimized versions) ...
> > __init__.py DrawingActivity.py
> > sugar-setup-activity ./drawing.activity
> > Traceback (most recent call last):
> >   File "/home/olpc/dev/sugar-jhbuild/build/bin/sugar-setup-activity",
> > line 4, in ?
> >     from sugar import setup
> > ImportError: cannot import name setup
> > make[1]: *** [install-data-local] Error 1
> > make[1]: Leaving directory `/home/olpc/workspace/example'
> > make: *** [install-am] Error 2
> >
> > What am I doing wrong?
> >
> > /Henrik
> > _______________________________________________
> > Sugar mailing list
> > Sugar at laptop.org
> > http://mailman.laptop.org/mailman/listinfo/sugar
>
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar
>
>


-- 
Justin Gallardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20061207/de6a764b/attachment.html


More information about the Sugar-devel mailing list