[Bugs] #2062 UNSP: Trying to register to XS while offline produces in no user visible errors

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Jun 27 14:14:04 EDT 2010


#2062: Trying to register to XS while offline produces in no user visible errors
------------------------------------------+---------------------------------
    Reporter:  bernie                     |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 How to reproduce:

 1. start sugar
 2. ensure the network is down
 3. select Register from the buddy icon menu

 shell.log contains:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/jarabe/desktop/favoritesview.py",
 line 323, in __register_activate_cb
     schoolserver.register_laptop()
   File "/usr/lib/python2.6/site-packages/jarabe/desktop/schoolserver.py",
 line 101, in register_laptop
     data = server.register(sn, nick, uuid_, profile.pubkey)
   File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
     return self.__send(self.__name, args)
   File "/usr/lib/python2.6/xmlrpclib.py", line 1483, in __request
     allow_none=self.__allow_none)
   File "/usr/lib/python2.6/xmlrpclib.py", line 1132, in dumps
     data = m.dumps(params)
   File "/usr/lib/python2.6/xmlrpclib.py", line 677, in dumps
     dump(v, write)
   File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
     f(self, value, write)
   File "/usr/lib/python2.6/xmlrpclib.py", line 703, in dump_nil
     raise TypeError, "cannot marshal None unless allow_none is enabled"
 TypeError: cannot marshal None unless allow_none is enabled
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2062>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list