Opened 12 years ago
Closed 10 years ago
#3095 closed defect (notsugar)
Inconsistent activities-listing, while running Software-Update
Reported by: | ajay_garg | Owned by: | m_anish |
---|---|---|---|
Priority: | Normal | Milestone: | Unspecified |
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 :
- Some new-activities are present, and no upgrade-activities are present.
In this case, the listing is alright.
- 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 (1)
Change History (2)
Changed 12 years ago by ajay_garg
comment:1 Changed 10 years ago by dnarvaez
- Resolution set to notsugar
- Status changed from new to closed
Dextrose is not tracked here anymore.
Note: See
TracTickets for help on using
tickets.
screenshots for the case, when some upgrade-activities are present