← Back to team overview

desktop-packages team mailing list archive

[Bug 638706] Re: [MASTER] software-center crashed with DocNotFoundError

 

** Description changed:

  This is the master bug for all DocNotFound errors.
  
  This bug occurs at the following places:
  
  File "/usr/share/software-center/softwarecenter/backend/channel.py", line 198, in _get_channels
   doc = self.db.xapiandb.get_document(m.get_docid())
  
  File "/usr/share/software-center/softwarecenter/backend/channel.py", line 200, in _get_channels
   for term_iter in doc.termlist():
  
  File "/usr/share/software-center/softwarecenter/db/database.py", line 290, in get_xapian_document
   doc = self.xapiandb.get_document(m.docid)
  
  File "/usr/share/software-center/softwarecenter/db/database.py", line 297, in get_most_popular_applications_for_mimetype
   matches = enquire.get_mset(0, 100)
  
  File "/usr/share/software-center/softwarecenter/db/database.py", line 340, in get_pkgname
   pkgname = doc.get_data()
  
  File "/usr/share/software-center/softwarecenter/db/database.py", line 381, in get_xapian_document
   for m in self.xapiandb.postlist("AA"+appname):
  
  File "/usr/share/software-center/softwarecenter/db/database.py", line 396, in is_appname_duplicated
   for (i, m) in enumerate(self.xapiandb.postlist("AA"+appname)):
  
  File "/usr/share/software-center/softwarecenter/models/appstore.py", line 195, in _get_estimate_nr_apps_and_nr_pkgs
   tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)
  
  File "/usr/share/software-center/softwarecenter/models/viewswitcherlist.py", line 213, in _update_channel_list_installed_view
   matches = enquire.get_mset(0, len(self.db))
  
  File "/usr/share/software-center/softwarecenter/view/catview_gtk.py", line 290, in _show_recommended_apps_widget
-  tmp_matches = enquire.get_mset(0, len(self.db), None, self.apps_filter)
- 
- In addition the following bugs are duplicates of this bug, but have too many duplicates to transfer:
- bug 728713
- bug 749351
+  tmp_matches = enquire.get_mset(0, len(self.db), None, self.apps_filter)

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

Title:
  [MASTER] software-center crashed with DocNotFoundError

Status in “software-center” package in Ubuntu:
  Triaged

Bug description:
  This is the master bug for all DocNotFound errors.

  This bug occurs at the following places:

  File "/usr/share/software-center/softwarecenter/backend/channel.py", line 198, in _get_channels
   doc = self.db.xapiandb.get_document(m.get_docid())

  File "/usr/share/software-center/softwarecenter/backend/channel.py", line 200, in _get_channels
   for term_iter in doc.termlist():

  File "/usr/share/software-center/softwarecenter/db/database.py", line 290, in get_xapian_document
   doc = self.xapiandb.get_document(m.docid)

  File "/usr/share/software-center/softwarecenter/db/database.py", line 297, in get_most_popular_applications_for_mimetype
   matches = enquire.get_mset(0, 100)

  File "/usr/share/software-center/softwarecenter/db/database.py", line 340, in get_pkgname
   pkgname = doc.get_data()

  File "/usr/share/software-center/softwarecenter/db/database.py", line 381, in get_xapian_document
   for m in self.xapiandb.postlist("AA"+appname):

  File "/usr/share/software-center/softwarecenter/db/database.py", line 396, in is_appname_duplicated
   for (i, m) in enumerate(self.xapiandb.postlist("AA"+appname)):

  File "/usr/share/software-center/softwarecenter/models/appstore.py", line 195, in _get_estimate_nr_apps_and_nr_pkgs
   tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)

  File "/usr/share/software-center/softwarecenter/models/viewswitcherlist.py", line 213, in _update_channel_list_installed_view
   matches = enquire.get_mset(0, len(self.db))

  File "/usr/share/software-center/softwarecenter/view/catview_gtk.py", line 290, in _show_recommended_apps_widget
   tmp_matches = enquire.get_mset(0, len(self.db), None, self.apps_filter)

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