[Bugs] #4285 sugar UNSP: Updater extension: read_async issue

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Nov 30 09:44:58 EST 2012


#4285: Updater extension: read_async issue
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  manuq      
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  sugar                      |        Version:  Unspecified
    Severity:  Critical                   |       Keywords:  regression 
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
 TestCase: go to My Settings, click on Software Upater.

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/jarabe/controlpanel/gui.py", line
 355, in __select_option_cb
     self.show_section_view(option)
   File "/usr/lib/python2.7/site-packages/jarabe/controlpanel/gui.py", line
 251, in show_section_view
     self._options[option]['alerts'])
   File "/usr/share/sugar/extensions/cpsection/updater/view.py", line 71,
 in __init__
     self._refresh()
   File "/usr/share/sugar/extensions/cpsection/updater/view.py", line 161,
 in _refresh
     self._model.check_updates()
   File "/usr/share/sugar/extensions/cpsection/updater/model.py", line 69,
 in check_updates
     self._check_next_update()
   File "/usr/share/sugar/extensions/cpsection/updater/model.py", line 82,
 in _check_next_update
     aslo.fetch_update_info(bundle, self.__check_completed_cb)
   File "/usr/share/sugar/extensions/cpsection/updater/backends/aslo.py",
 line 164, in fetch_update_info
     _fetcher = _UpdateFetcher(bundle, completion_cb)
   File "/usr/share/sugar/extensions/cpsection/updater/backends/aslo.py",
 line 93, in __init__
     self._file.read_async(self.__file_read_async_cb)
   File "/usr/lib/python2.7/site-packages/gi/types.py", line 47, in
 function
     return info.invoke(*args, **kwargs)
 TypeError: read_async() takes exactly 5 arguments (2 given)
 }}}

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


More information about the Bugs mailing list