[Sugar-devel] Setup local network on the olpc with python
James Simmons
nicestep at gmail.com
Thu Sep 30 12:29:36 EDT 2010
Tobi,
With Sugar Activities you need to test them under the Sugar
environment. You can use Eclipse to write the code if you like (I use
Eric myself) but you won't be able to test from within the IDE. You
already have the link to the FLOSS Manual "Make Your Own Sugar
Activities!", so I'd recommend skimming through the first few chapters
where testing under sugar-emulator is covered. There is a Git
repository containing all the code examples and you could run a few of
them to try things out. It sounds to me like you may have Sugar
installed but are not running your tests under it.
Many Linux distributions have Sugar included, and if you install their
packages you should have something workable.
James Simmons
> Date: Thu, 30 Sep 2010 16:34:00 +0200
> From: Tobi Neuner <tobi at greven-9er.de>
> Subject: Re: [Sugar-devel] Setup local network on the olpc with python
> Cc: sugar-devel at lists.sugarlabs.org
> Message-ID: <4CA49FD8.4090300 at greven-9er.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thank you very much for this links. I think i got it now.
> But now i have another noob question, i didn't find an answer for. In
> this explanations there are several things imported for the network.
> dbus, telepathy and sugar.presence / sugar.presence.tubeconn.
> I work with Eclipse and the pydev module, where this libraries are not
> included. With dbus lib i hadn't any problems. But for telepathy and the
> sugar thins it seems i didn't find the right files. for Telepathy i got
> http://telepathy.freedesktop.org/releases/telepathy-python/, and for the
> sugar things i found http://dev.laptop.org/git/ (sugar, sugar-base and
> sugar-toolkit) and installed just like the dbus package. I downloaded
> the .tar.gz-file, unpacked it and added the folder in Eclipse under
> preferences -> PyDev -> Interpreter - Python -> Libraries -> New Folder.
> What am i doing wrong?
> Thanks for your help and sorry for this stupid question. :)
>
> Tobi
>
> Am 29.09.2010 16:27, schrieb Daniel Castelo:
>> Maybe you could find some info here:
>>
>> * http://en.flossmanuals.net/ActivitiesGuideSugar/SugarCollaboration
>> * http://wiki.laptop.org/go/Activity_sharing
>> * http://wiki.sugarlabs.org/go/Development_Team/Almanac/Sugar.presence
>>
>> Regards, Daniel
>>
>> On Wed, Sep 29, 2010 at 7:37 AM, Tobi Neuner <tobi at greven-9er.de
>> <mailto:tobi at greven-9er.de>> wrote:
>>
>> Hi guys,
>>
>> for my bachelor thesis i need to program a short demonstration for the
>> game i worked out to show the main functionality. It's some kind of a
>> multiplayer learning game with some rpg-ideas for motivation keeping.
>> For the multiplayer approach i need so setup a local mesh network to
>> send data from one XO to all other. The data, that is send, is
>> always an
>> integer or a string value. So what i read till now, the dbus tubes
>> would
>> fit perfectly for my approach. But at the moment i fail at this
>> point. I
>> don't understand how i have to implement it. So i'm on search for some
>> good tutorial, some code snippets, where this is shown, or
>> someone, who
>> could explain it to me.
>>
>> Thanks very much for your help!
>>
>> grevenilvec
More information about the Sugar-devel
mailing list