[sugar] I cant install my activity any longer.

Henrik Olsson henols
Thu Dec 7 07:58:21 EST 2006


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:

[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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20061207/29a20501/attachment.html


More information about the Sugar-devel mailing list