← Back to team overview

desktop-packages team mailing list archive

[Bug 829750] Re: [GTK3] "Installed" > "Other" is empty (TypeError: argument of type 'instance' is not iterable)

 

Fixed by nzmm in branch linked.

** Changed in: software-center (Ubuntu)
       Status: New => Fix Committed

** Branch linked: lp:~mmcg069/software-center/small-fixes

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/829750

Title:
  [GTK3] "Installed" > "Other" is empty (TypeError: argument of type
  'instance' is not iterable)

Status in “software-center” package in Ubuntu:
  Fix Committed

Bug description:
  software-center-gtk3 trunk r2151, Ubuntu Ocelot

  1. Install some items that are not in any repository. (For example, upgrade your kernel and then have the old kernel dropped from the Ubuntu archive.)
  1. From the "Installed" menu, choose "Other".

  What happens:
  * No items are displayed.
  * A traceback:
  ------------
  2011-08-19 21:04:18,219 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/db/enquire.py", line 109, in _get_estimate_nr_apps_and_nr_pkgs
      tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)
    File "/home/mpt/hacking/software-center/softwarecenter/db/appfilter.py", line 65, in __call__
      if (not pkgname in self.cache[pkgname] or
  TypeError: argument of type 'instance' is not iterable
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 164, in config_view
      vm.display_page(pane, page, state)
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 147, in display_page
      callback(page, view_state)
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 361, in display_overview_page
      self._build_categorised_view()
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 191, in _build_categorised_view
      persistent_duplicate_filter=(i>0))
    File "/home/mpt/hacking/software-center/softwarecenter/db/enquire.py", line 295, in set_query
      self._blocking_perform_search()
    File "/home/mpt/hacking/software-center/softwarecenter/db/enquire.py", line 203, in _blocking_perform_search
      matches = enquire.get_mset(0, self.limit, None, xfilter)
    File "/home/mpt/hacking/software-center/softwarecenter/db/appfilter.py", line 65, in __call__
      if (not pkgname in self.cache[pkgname] or
  TypeError: argument of type 'instance' is not iterable
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 282, in config_view
      vm.display_page(pane, page, state)
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 147, in display_page
      callback(page, view_state)
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 361, in display_overview_page
      self._build_categorised_view()
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 191, in _build_categorised_view
      persistent_duplicate_filter=(i>0))
    File "/home/mpt/hacking/software-center/softwarecenter/db/enquire.py", line 295, in set_query
      self._blocking_perform_search()
    File "/home/mpt/hacking/software-center/softwarecenter/db/enquire.py", line 152, in _blocking_perform_search
      nr_apps, nr_pkgs = self._get_estimate_nr_apps_and_nr_pkgs(enquire, q, xfilter)
    File "/home/mpt/hacking/software-center/softwarecenter/db/enquire.py", line 117, in _get_estimate_nr_apps_and_nr_pkgs
      tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)
    File "/home/mpt/hacking/software-center/softwarecenter/db/appfilter.py", line 65, in __call__
      if (not pkgname in self.cache[pkgname] or
  TypeError: argument of type 'instance' is not iterable
  ------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/829750/+subscriptions