Set up local network on olpc with python

Tobi Neuner tobi at greven-9er.de
Thu Sep 30 10:32:22 EDT 2010


  First of all thanks for the link to this example. It is big help for me.
But now i have another noob question, i didn't find an answer for. In 
this example 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 13:18, schrieb Walter Bender:
> On Wed, Sep 29, 2010 at 6:39 AM, Tobi Neuner<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, like the new position of a char or a
>> qestion-id. 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 this whole thing. So i'm on search
>> for some good tutorial, some code snippets, where this is shown, or
>> someone, who could explain it to me.
>>
> Find an activity that does something similar. For example. Turtle
> Blocks shares the turtle movements to all the shared instances. The
> relevant code is
> http://git.sugarlabs.org/projects/turtleart/repos/mainline/blobs/master/TurtleArtActivity.py
> (lines 513-702)
>
> -walter
>> Thanks very much for your help!
>>
>> grevenilvec
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>>
>
>




More information about the Devel mailing list