[MASTER] software-center crashed with DocNotFoundError

Bug #638706 reported by lendage
This bug affects 188 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Michael Vogt

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)

File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 6583, in __init__
    self.doclength = iter._iter.get_doclength()

File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 423, in load_range
    doc = db.get_document(matches[i].docid)

Revision history for this message
lendage (lendage) wrote :
tags: removed: need-duplicate-check
Kiwinote (kiwinote)
visibility: private → public
Kiwinote (kiwinote)
summary: - software-center crashed with DocNotFoundError in get_xapian_document()
+ [MASTER] software-center crashed with DocNotFoundError
Changed in software-center (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Kiwinote (kiwinote)
description: updated
Kiwinote (kiwinote)
description: updated
Kiwinote (kiwinote)
description: updated
description: updated
Robert Roth (evfool)
description: updated
Changed in software-center (Ubuntu):
status: Triaged → Fix Released
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Gary Lasker (gary-lasker) wrote :

This one was fixed in a clever manner by mvo during the Oneiric cycle. The lack of new duplicates is a good indicator that indeed this one is fix released.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.