Ticket #3095 (new defect)

Opened 21 months ago

Inconsistent activities-listing, while running Software-Update

Reported by: ajay_garg Owned by: m_anish
Priority: Normal Milestone: Unspecified by Release Team
Component: Dextrose Version: Unspecified
Severity: Unspecified Keywords: dx3
Cc: Distribution/OS: Dextrose
Bug Status: Unconfirmed

Description

After running software update, following three scenarios may happen :

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

In this case, the listing is alright.

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

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.

Attachments

screenshots.tar Download (170.0 KB) - added by ajay_garg 21 months ago.
screenshots for the case, when some upgrade-activities are present

Change History

Changed 21 months ago by ajay_garg

screenshots for the case, when some upgrade-activities are present

Note: See TracTickets for help on using tickets.