[Dextrose] Adding as cc on new bug reports

Martin Langhoff martin at laptop.org
Fri Feb 11 00:47:11 EST 2011


Yes - there's a patch with a trick with ctypes to reload the resolver.
The patch was applied to fix registration .

Look at 8effea106ee59edc32f1079faf8ab8dafedeb270 in the sugar repo.


m

On Thu, Feb 10, 2011 at 10:14 PM, Bernie Innocenti <bernie at codewiz.org> wrote:
> On Thu, 2011-02-10 at 23:38 -0300, Martin Abente wrote:
>>
>>         5. the updater cannot resolve the hostname after it failed
>>         once
>>           (same old bug we fixed in schoolserver registration)
>>
>> What Martin's patch does is to flush the cache everytime you connect
>> to a new network. I thought it was the same problem too, but obviously
>> is not (otherwise Martin's patch would have fixed it before we could
>> notice it). I tested it anyways before calling gio.File, just in case,
>> but it did not work. Maybe gio.File uses other cache for the hostname
>> resolution? I am reading the documentation, can't find anything useful
>> yet.
>
> Hmm, this rings a bell. Unless I'm mistaken, also the old updater had a
> similar problem. Martin Langhoff or Daniel Drake might remember the
> whole story.
>
> --
>   // Bernie Innocenti - http://codewiz.org/
>  \X/  Sugar Labs       - http://sugarlabs.org/
>
>
>



-- 
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Dextrose mailing list