[Sugar-devel] [NETWORK] Sugar Network 0.7 development release

Aleksey Lim alsroot at sugarlabs.org
Sat Dec 1 00:53:33 EST 2012


On Sat, Dec 01, 2012 at 03:18:00PM +1100, James Cameron wrote:
> On Fri, Nov 30, 2012 at 11:43:58AM +0000, Aleksey Lim wrote:
> > Looks like there is a race (sugar-network-client was spawned but not yet
> > started listening for connections). Try to add time.sleep(3) to
> > /home/olpc/Activities/SugarNetwork.activity/activity.py:87.
> 
> Tried sleep(3) and sleep(5), no change to symptom.
> 
> Used strace to investigate the processes created and destroyed, and
> found a child of sugar-network-client did SIGSEGV, which caused
> SIGCHLD to parent, which caused sugar-network-client to exit.
> 
> Output of "strace -p <sugar-session-pid> -ff -o sn" is available in
> http://dev.laptop.org/~quozl/2012-12-01-sugar-network-xo-4-sigsegv.tar.gz

What greenlet yoy are using? I just found that recent gevent-1.0rc
requires greenlet >= 0.3.2 (I tested beta with 0.3.1 and it worked fine in
Fedora-14).

Any way, I just flashed my XO-4 with 13.1.0, installed gevent-1.0 using
http://wiki.sugarlabs.org/go/Activities/Sugar_Network#Dependencies
instructions and new Sugar-Network-0.7.1
(activities.sugarlabs.org/en-US/sugar/downloads/file/28376/sugar_network-0.7.1.xo)
runs well.

Just for fun (UIs are not optimized for touch screens yet),
I enabled touch scrolling in Contributor Hub
(http://wiki.sugarlabs.org/go/Activities/Sugar_Network#Usage)
and it works more or less acceptable.

-- 
Aleksey


More information about the Sugar-devel mailing list