← Back to team overview

desktop-packages team mailing list archive

[Bug 831959] Re: "Top Rated" "More" button doesn't work sometimes (AttributeError: 'Application' object has no attribute '__call__')

 

This is the bug that mvo fixed by replacing copy.copy() with a custom
filter.copy() function.

** Changed in: software-center (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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/831959

Title:
  "Top Rated" "More" button doesn't work sometimes (AttributeError:
  'Application' object has no attribute '__call__')

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

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

  I have not been able to reproduce this bug, but it has a traceback.

  1. ???
  2. In the "Top Rated" section of the home screen, click "More".

  What happens:
  * The Top Rated screen does not appear.
  * A traceback:
  ------------
  2011-08-23 13:23:12,476 - 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)
  AttributeError: 'Application' object has no attribute '__call__'
  Exception in thread ThreadedQuery-2:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
      self.run()
    File "/usr/lib/python2.7/threading.py", line 505, in run
      self.__target(*self.__args, **self.__kwargs)
    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)
  AttributeError: 'Application' object has no attribute '__call__'
  ------------

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