[Bugs] #3095 NORM: Inconsistent activities-listing, while running Software-Update

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Sep 13 09:53:10 EDT 2011


#3095: Inconsistent activities-listing, while running Software-Update
----------------------------+-----------------------------------------------
    Reporter:  ajay_garg    |          Owner:  m_anish                    
        Type:  defect       |         Status:  new                        
    Priority:  Normal       |      Milestone:  Unspecified by Release Team
   Component:  Dextrose     |        Version:  Unspecified                
    Severity:  Unspecified  |       Keywords:  dx3                        
Distribution:  Dextrose     |   Status_field:  Unconfirmed                
----------------------------+-----------------------------------------------
 After running software update, following three scenarios may happen :

 1. Some new-activities are present, and no upgrade-activities are present.
 [[BR]]

    In this case, the listing is alright.

 2. Some new-activities are present, and some upgrade-activities are
 present. [[BR]]

    In this case, either of the following two scenarios occur

    * Activities are listed, but only the new ones; not the upgrade-ones.
 (See Screenshot.png).

      Note: Though this screenshot might look harmless, but actually when
 the activities in the updater_url, and on the system, were compared, there
 was one activity on the updater_url, whose version was greater than the
 one installed on system.

    * Activities are not listed at all. (See Screenshot-1.png).

      In shell.log, the following stacktrace is seen:

 {{{
   Traceback (most recent call last):
   File "/home/ajay/sugar-jhbuild-
 dx3/install/share/sugar/extensions/cpsection/updater/view.py", line 118,
 in __progress_cb
     self._finished_checking()
   File "/home/ajay/sugar-jhbuild-
 dx3/install/share/sugar/extensions/cpsection/updater/view.py", line 152,
 in _finished_checking
     self._switch_to_update_box()
   File "/home/ajay/sugar-jhbuild-
 dx3/install/share/sugar/extensions/cpsection/updater/view.py", line 82, in
 _switch_to_update_box
     self._update_box = UpdateBox(self._model)
   File "/home/ajay/sugar-jhbuild-
 dx3/install/share/sugar/extensions/cpsection/updater/view.py", line 234,
 in __init__
     self._update_list = UpdateList(model)
   File "/home/ajay/sugar-jhbuild-
 dx3/install/share/sugar/extensions/cpsection/updater/view.py", line 297,
 in __init__
     list_model = UpdateListModel(model)
   File "/home/ajay/sugar-jhbuild-
 dx3/install/share/sugar/extensions/cpsection/updater/view.py", line 369,
 in __init__
     'size': _format_size(bundle_update.size)}
 TypeError: %d format: a number is required, not str

 }}}





 Cases 2 and 3 are defects.

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


More information about the Bugs mailing list