Ok, thank you for your answer, I've well understood.<div>I'm going to apply your advice.</div><div><br></div><div>Regards<br><br><div class="gmail_quote">2011/12/5 James Simmons <span dir="ltr"><<a href="mailto:nicestep@gmail.com">nicestep@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Laurent,<div><br></div><div>I don't have experience with Sweets, but normally you would install the version of Sugar that comes with your distribution. When you launch this Sugar comes up in a window. So you have your GNOME desktop where you do your development work, plus you have this window that contains a Sugar environment that you use for testing.</div>
<div><br></div><div>You run setup.py dev from a normal terminal window, not the one that Sugar provides. This creates a symbolic link between your source directory and where Sugar wants your program to be. After that any changes you make in your source directory will be reflected in what runs under Sugar. You'll probably need to stop and restart your Activity to see your changes take effect.</div>
<div><br></div><div>James Simmons</div><div><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Dec 5, 2011 at 11:28 AM, laurent bernabe <span dir="ltr"><<a href="mailto:laurent.bernabe@gmail.com" target="_blank">laurent.bernabe@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hello everyone,<div><br></div><div>I am following the ActivitiesGuideSugar pdf from august 2010.</div>
<div><br></div><div>
<ul><li>I've fetched tutorial source code for etext activity (chapter 5 : inheriting from Activity.activity)</li>
<li>I've modified, carefully i think, the svg picture with Inkscape and edited the xml structure</li><li>I installed the Sugar Sweets distribution</li></ul><div>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</div>
</div><div>(the line in fault : "from sugar.activity import bundlebuilder".</div><div><br></div><div>Have I forgotten an important step in my sugar environment ?</div><div><br></div><div>Regards</div>
<br></div></div>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>