It may also be worthy to note that we are switching activities to bundles. You can find documentation on this at <a href="http://wiki.laptop.org/go/Activity_Bundles">http://wiki.laptop.org/go/Activity_Bundles</a> .<br><br>
Cheers!<br><br><div><span class="gmail_quote">On 12/7/06, <b class="gmail_sendername">Dan Williams</b> <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 2006-12-07 at 13:57 +0100, Henrik Olsson wrote:<br>> Hi<br>> I cant inastll my activity any longer after checking out Sugar.<br>> Build and running Sugar workes fine.<br>> I have followed the Sugar Activity Tutorial
<br>> (<a href="http://wiki.laptop.org/go/Sugar_Activity_Tutorial">http://wiki.laptop.org/go/Sugar_Activity_Tutorial</a>).<br>><br>> It worked fine last week but today I get the this error:<br><br>Have you tried:
<br><br>$ cd /home/olpc/dev/sugar-jhbuild<br>$ ./sugar-jhbuild shell<br>$ cd /path/to/example<br>$ make install<br><br>To be able to import the sugar setup stuff, you need to do the<br>'sugar-jhbuild shell' command to tell your build where to find that
<br>setup stuff...<br><br>Dan<br><br>> [olpc@bigbox example]$ make install<br>> make[1]: Entering directory `/home/olpc/workspace/example'<br>> make[1]: Nothing to be done for `install-exec-am'.<br>> test -z<br>
> "/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing" ||<br>> mkdir -p --<br>> "/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing"<br>> /usr/bin/install -c -m 644 '__init__.py'
<br>> '/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing/__init__.py'<br>> /usr/bin/install -c -m 644 'DrawingActivity.py'<br>> '/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing/DrawingActivity.py'
<br>> Byte-compiling python modules...<br>> __init__.py DrawingActivity.py<br>> Byte-compiling python modules (optimized versions) ...<br>> __init__.py DrawingActivity.py<br>> sugar-setup-activity ./drawing.activity
<br>> Traceback (most recent call last):<br>> File "/home/olpc/dev/sugar-jhbuild/build/bin/sugar-setup-activity",<br>> line 4, in ?<br>> from sugar import setup<br>> ImportError: cannot import name setup
<br>> make[1]: *** [install-data-local] Error 1<br>> make[1]: Leaving directory `/home/olpc/workspace/example'<br>> make: *** [install-am] Error 2<br>><br>> What am I doing wrong?<br>><br>> /Henrik<br>
> _______________________________________________<br>> Sugar mailing list<br>> <a href="mailto:Sugar@laptop.org">Sugar@laptop.org</a><br>> <a href="http://mailman.laptop.org/mailman/listinfo/sugar">http://mailman.laptop.org/mailman/listinfo/sugar
</a><br><br>_______________________________________________<br>Sugar mailing list<br><a href="mailto:Sugar@laptop.org">Sugar@laptop.org</a><br><a href="http://mailman.laptop.org/mailman/listinfo/sugar">http://mailman.laptop.org/mailman/listinfo/sugar
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Justin Gallardo