Activity log for bug #999486

Date Who What changed Old value New value Message
2012-05-15 06:31:08 Gary Lasker bug added bug
2012-05-15 06:32:31 Gary Lasker summary AttributeError: 'NoneType' object has no attribute '__contains__' 2012-05-15 02:26:05,169 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view pane = vm.set_active_view(view_id) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view view_widget.init_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view self.apps_filter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__ self.build(desktopdir) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build self._build_homepage_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view self._append_top_rated() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated top_rated_cat = self._update_top_rated_content() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content docs = top_rated_cat.get_documents(self.db) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents nonblocking_load=False) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query self._blocking_perform_search() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search matches = enquire.get_mset(0, self.limit, None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' 2012-05-15 02:26:05,878 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view pane = vm.set_active_view(view_id) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view view_widget.init_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view self.apps_filter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__ self.build(desktopdir) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build self._build_homepage_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view self._append_top_rated() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated top_rated_cat = self._update_top_rated_content() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content docs = top_rated_cat.get_documents(self.db) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents nonblocking_load=False) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query self._blocking_perform_search() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search matches = enquire.get_mset(0, self.limit, None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' 2012-05-15 02:26:06,623 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view pane = vm.set_active_view(view_id) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view view_widget.init_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view self.apps_filter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__ self.build(desktopdir) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build self._build_homepage_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view self._append_top_rated() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated top_rated_cat = self._update_top_rated_content() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content docs = top_rated_cat.get_documents(self.db) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents nonblocking_load=False) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query self._blocking_perform_search() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search matches = enquire.get_mset(0, self.limit, None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' 2012-05-15 02:26:07,257 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view pane = vm.set_active_view(view_id) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view view_widget.init_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view self.apps_filter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__ self.build(desktopdir) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build self._build_homepage_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view self._append_top_rated() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated top_rated_cat = self._update_top_rated_content() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content docs = top_rated_cat.get_documents(self.db) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents nonblocking_load=False) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query self._blocking_perform_search() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search matches = enquire.get_mset(0, self.limit, None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' 2012-05-15 02:26:07,987 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view pane = vm.set_active_view(view_id) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view view_widget.init_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view self.apps_filter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__ self.build(desktopdir) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build self._build_homepage_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view self._append_top_rated() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated top_rated_cat = self._update_top_rated_content() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content docs = top_rated_cat.get_documents(self.db) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents nonblocking_load=False) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query self._blocking_perform_search() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search matches = enquire.get_mset(0, self.limit, None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' 2012-05-15 02:26:08,639 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view pane = vm.set_active_view(view_id) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view view_widget.init_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view self.apps_filter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__ self.build(desktopdir) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build self._build_homepage_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view self._append_top_rated() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated top_rated_cat = self._update_top_rated_content() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content docs = top_rated_cat.get_documents(self.db) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents nonblocking_load=False) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query self._blocking_perform_search() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search matches = enquire.get_mset(0, self.limit, None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' 2012-05-15 02:26:09,373 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view pane = vm.set_active_view(view_id) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view view_widget.init_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view self.apps_filter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__ self.build(desktopdir) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build self._build_homepage_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view self._append_top_rated() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated top_rated_cat = self._update_top_rated_content() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content docs = top_rated_cat.get_documents(self.db) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents nonblocking_load=False) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query self._blocking_perform_search() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search matches = enquire.get_mset(0, self.limit, None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' when clicking the All Software button AttributeError: 'NoneType' object has no attribute '__contains__' when clicking the All Software button
2012-05-15 06:32:39 Gary Lasker software-center (Ubuntu): status New Triaged
2012-05-15 06:32:43 Gary Lasker software-center (Ubuntu): importance Undecided Low
2012-05-15 06:32:46 Gary Lasker software-center (Ubuntu): assignee Gary Lasker (gary-lasker)
2012-05-15 06:32:50 Gary Lasker software-center (Ubuntu): milestone precise-updates
2012-05-15 06:33:26 Gary Lasker description Software Center 5.2.1, Ubuntu 10.04 When testing the fix for a similar crash in bug 920196, I found that even with that fix I was able to cause a crash by repeatedly clicking the "All Software" button while Software Center is starting up. The stacktrace is shown below. TEST CASE: 1. open stock software-center 2. click on the "All Software" button very quickly while the main page is still loading 3. verify that there is a traceback (note that this does not happen always, just most of the time) 4. use the fixed version from -proposed 5. verify that (2) no longer produces the following (or any) traceback Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last): File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view pane = vm.set_active_view(view_id) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view view_widget.init_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view self.apps_filter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__ self.build(desktopdir) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build self._build_homepage_view() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view self._append_top_rated() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated top_rated_cat = self._update_top_rated_content() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content docs = top_rated_cat.get_documents(self.db) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents nonblocking_load=False) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query self._blocking_perform_search() File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search matches = enquire.get_mset(0, self.limit, None, xfilter) File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__ if (not pkgname in self.cache and File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__ return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Software Center 5.2.1, Ubuntu 10.04 When testing the fix for a similar crash in bug 920196, I found that even with that fix I was able to cause a (different) crash by repeatedly clicking the "All Software" button while Software Center is starting up. The stacktrace is shown below. TEST CASE: 1. open stock software-center 2. click on the "All Software" button very quickly while the main page is still loading 3. verify that there is a traceback (note that this does not happen always, just most of the time) 4. use the fixed version from -proposed 5. verify that (2) no longer produces the following (or any) traceback Traceback (most recent call last):   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs     tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__     if (not pkgname in self.cache and   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__     return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last):   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view     pane = vm.set_active_view(view_id)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view     view_widget.init_view()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view     self.apps_filter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__     self.build(desktopdir)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build     self._build_homepage_view()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view     self._append_top_rated()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated     top_rated_cat = self._update_top_rated_content()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content     docs = top_rated_cat.get_documents(self.db)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents     nonblocking_load=False)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query     self._blocking_perform_search()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search     matches = enquire.get_mset(0, self.limit, None, xfilter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__     if (not pkgname in self.cache and   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__     return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__'
2012-05-15 06:34:40 Gary Lasker software-center (Ubuntu): status Triaged In Progress
2012-05-15 06:43:27 Gary Lasker branch linked lp:~gary-lasker/software-center/toolbar-buttons-insensitive-during-startup
2012-05-15 19:18:09 Gary Lasker software-center (Ubuntu): status In Progress Fix Committed
2012-05-16 14:00:51 Gary Lasker tags ca-escalated
2012-05-16 23:04:45 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2012-05-16 23:04:47 Steve Langasek bug added subscriber SRU Verification
2012-05-16 23:04:53 Steve Langasek tags ca-escalated ca-escalated verification-needed
2012-05-16 23:10:22 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/software-center
2012-05-16 23:13:51 Steve Langasek nominated for series Ubuntu Precise
2012-05-16 23:13:51 Steve Langasek bug task added software-center (Ubuntu Precise)
2012-05-16 23:13:51 Steve Langasek nominated for series Ubuntu Quantal
2012-05-16 23:13:51 Steve Langasek bug task added software-center (Ubuntu Quantal)
2012-05-16 23:16:12 Steve Langasek software-center (Ubuntu Precise): status New Fix Committed
2012-05-17 15:16:46 Launchpad Janitor software-center (Ubuntu Quantal): status Fix Committed Fix Released
2012-05-21 21:36:17 Launchpad Janitor branch linked lp:software-center/5.2
2012-05-21 21:39:20 Launchpad Janitor branch linked lp:software-center
2012-05-23 23:55:43 Launchpad Janitor branch linked lp:~gary-lasker/software-center/cherrypick-for-5.2.2.1
2012-05-24 16:38:10 Launchpad Janitor software-center (Ubuntu Precise): status Fix Committed Fix Released
2012-06-15 22:35:35 Gary Lasker description Software Center 5.2.1, Ubuntu 10.04 When testing the fix for a similar crash in bug 920196, I found that even with that fix I was able to cause a (different) crash by repeatedly clicking the "All Software" button while Software Center is starting up. The stacktrace is shown below. TEST CASE: 1. open stock software-center 2. click on the "All Software" button very quickly while the main page is still loading 3. verify that there is a traceback (note that this does not happen always, just most of the time) 4. use the fixed version from -proposed 5. verify that (2) no longer produces the following (or any) traceback Traceback (most recent call last):   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs     tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__     if (not pkgname in self.cache and   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__     return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last):   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view     pane = vm.set_active_view(view_id)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view     view_widget.init_view()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view     self.apps_filter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__     self.build(desktopdir)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build     self._build_homepage_view()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view     self._append_top_rated()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated     top_rated_cat = self._update_top_rated_content()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content     docs = top_rated_cat.get_documents(self.db)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents     nonblocking_load=False)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query     self._blocking_perform_search()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search     matches = enquire.get_mset(0, self.limit, None, xfilter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__     if (not pkgname in self.cache and   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__     return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Software Center 5.2.1, Ubuntu 10.04 SRU TEST CASE: 1. open stock software-center 2. click on the "All Software" button very quickly while the main page is still loading 3. verify that there is a traceback (note that this does not happen always, just most of the time) 4. use the fixed version from -proposed 5. verify that (2) no longer produces the following (or any) traceback SRU REGRESSION POTENTIAL: Very low, but a possible regression is that the toolbar buttons may not be enabled when Software Center has fully initialized. Test launching and relaunching Software Center to confirm that the toolbar buttons always become active when the lobby view initialization is complete. --- When testing the fix for a similar crash in bug 920196, I found that even with that fix I was able to cause a (different) crash by repeatedly clicking the "All Software" button while Software Center is starting up. The stacktrace is shown below. Traceback (most recent call last):   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs     tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__     if (not pkgname in self.cache and   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__     return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__' Traceback (most recent call last):   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 149, in config_view     pane = vm.set_active_view(view_id)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view     view_widget.init_view()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/panes/availablepane.py", line 168, in init_view     self.apps_filter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 240, in __init__     self.build(desktopdir)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 492, in build     self._build_homepage_view()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 267, in _build_homepage_view     self._append_top_rated()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 404, in _append_top_rated     top_rated_cat = self._update_top_rated_content()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/ui/gtk3/views/catview_gtk.py", line 391, in _update_top_rated_content     docs = top_rated_cat.get_documents(self.db)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/categories.py", line 124, in get_documents     nonblocking_load=False)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 317, in set_query     self._blocking_perform_search()   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/enquire.py", line 212, in _blocking_perform_search     matches = enquire.get_mset(0, self.limit, None, xfilter)   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/appfilter.py", line 89, in __call__     if (not pkgname in self.cache and   File "/home/tremolux/Projects/precise/software-center_fix_crash_lp920196/5.2/softwarecenter/db/pkginfo_impl/aptcache.py", line 263, in __contains__     return self._cache.__contains__(k) AttributeError: 'NoneType' object has no attribute '__contains__'
2012-06-19 20:03:30 Gary Lasker tags ca-escalated verification-needed ca-escalated verification-done