[Bugs] #2289 UNSP: sugar freezes when register widget is clicked (if Server is unresponsive)

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Sep 6 03:56:19 EDT 2010


#2289: sugar freezes when register widget is clicked (if Server is unresponsive)
------------------------------------------+---------------------------------
    Reporter:  lfaraone                   |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Major                      |       Keywords:  r?                         
Distribution:  Ubuntu                     |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by tomeu):

 Replying to [comment:3 sascha_silbe]:
 >
 > While this the timeout a stopgap to prevent Sugar from hanging
 indefinitely, a proper fix will additionally need to make the registration
 asynchronous. It might be too late to ship the full fix in 0.90, though.

 Not sure if this fix is safer than rewriting it to use gio, have been
 reading about the different hacks that people have used to overcome this
 xmlrpclib limitation and looks like they depend on non-API stuff that
 could (and does) get broken between releases.

 I think using xmlrpclib.dumps and xmlrpclib.loads together with gio could
 be simple enough, we are already using gio for async http:

 http://git.sugarlabs.org/projects/sugar/repos/mainline/blobs/master/extensions/cpsection/updater/backends/aslo.py

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2289#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list