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> &lt;<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>&gt; 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>&gt; Hi<br>&gt; I cant inastll my activity any longer after checking out Sugar.<br>&gt; Build and running Sugar workes fine.<br>&gt; I have followed the Sugar Activity Tutorial
<br>&gt; (<a href="http://wiki.laptop.org/go/Sugar_Activity_Tutorial">http://wiki.laptop.org/go/Sugar_Activity_Tutorial</a>).<br>&gt;<br>&gt; 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>&gt; [olpc@bigbox example]$ make install<br>&gt; make[1]: Entering directory `/home/olpc/workspace/example'<br>&gt; make[1]: Nothing to be done for `install-exec-am'.<br>&gt; test -z<br>
&gt; &quot;/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing&quot; ||<br>&gt; mkdir -p --<br>&gt; &quot;/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing&quot;<br>&gt;&nbsp;&nbsp;/usr/bin/install -c -m 644 '__init__.py'
<br>&gt; '/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing/__init__.py'<br>&gt;&nbsp;&nbsp;/usr/bin/install -c -m 644 'DrawingActivity.py'<br>&gt; '/home/olpc/dev/sugar-jhbuild/build/share/sugar/activities/drawing/DrawingActivity.py'
<br>&gt; Byte-compiling python modules...<br>&gt; __init__.py DrawingActivity.py<br>&gt; Byte-compiling python modules (optimized versions) ...<br>&gt; __init__.py DrawingActivity.py<br>&gt; sugar-setup-activity ./drawing.activity
<br>&gt; Traceback (most recent call last):<br>&gt;&nbsp;&nbsp; File &quot;/home/olpc/dev/sugar-jhbuild/build/bin/sugar-setup-activity&quot;,<br>&gt; line 4, in ?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; from sugar import setup<br>&gt; ImportError: cannot import name setup
<br>&gt; make[1]: *** [install-data-local] Error 1<br>&gt; make[1]: Leaving directory `/home/olpc/workspace/example'<br>&gt; make: *** [install-am] Error 2<br>&gt;<br>&gt; What am I doing wrong?<br>&gt;<br>&gt; /Henrik<br>
&gt; _______________________________________________<br>&gt; Sugar mailing list<br>&gt; <a href="mailto:Sugar@laptop.org">Sugar@laptop.org</a><br>&gt; <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