[Sugar-devel] [PATCH v4 sugar] Time out on registration process to prevent indefinite UI hang (SL#2289)

Dipankar Patro dipankar at seeta.in
Wed Mar 23 23:25:53 EDT 2011


Hi Simon,

When I was working on the issue, I was using an emulator on Ubuntu to run
Sugar (USR). Is the problem occurring on a XO?
The only reason to use the TimeoutTransport here is to add a timeout with
registration server connection process, which was not there before.
The problem seems to be related to library 'httplib'. Let me check out on
that.

Regards,
Dipankar

On Thu, Mar 24, 2011 at 1:35 AM, Simon Schampijer <simon at schampijer.de>wrote:

> On 09/20/2010 10:45 AM, Dipankar Patro wrote:
>
>> Registration with the school server is currently done synchronously.
>> To prevent the UI from hanging indefinitely, if the school server is
>> reachable
>> but unresponsive, we add an explicit timeout.
>> ---
>>
>
> Hi Dipankar,
>
> I lately see this error [1] when trying to connect to a schoolserver. Maybe
> you (or someone else) have an idea what the issue is. If I do construct the
> ServerProxy without the _TimeoutTransport the registration will continue.
>
> Regards,
>   Simon
>
> [1] http://dev.laptop.org/ticket/10776
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110324/c4670597/attachment.html>


More information about the Sugar-devel mailing list