ddseverity 596079 grave tag 596079 + patch thanks Sorry, I did try to check all the reverse deps before the transition, but it seems I didn't spot this problem.
The attached patch should fix this issue, though there may be others. The patch is against the version in Ubuntu lucid, as I had that immediately to hand and I don't have much spare time today. The patched version also works with Xapian 1.0 so this patch can be safely applied upstream too (the code software-centre is using here was deprecated some time ago). Cheers, Olly
diff -u orig/appview.py ./appview.py --- orig/appview.py 2010-01-13 22:43:07.000000000 +1300 +++ ./appview.py 2010-09-10 12:45:39.000000000 +1200 @@ -113,7 +113,7 @@ matches = enquire.get_mset(0, limit) logging.debug("found ~%i matches" % matches.get_matches_estimated()) for m in matches: - doc = m[xapian.MSET_DOCUMENT] + doc = m.document if "APPVIEW_DEBUG_TERMS" in os.environ: print doc.get_data() for t in doc.termlist(): diff -u orig/catview.py ./catview.py --- orig/catview.py 2010-01-13 22:43:07.000000000 +1300 +++ ./catview.py 2010-09-10 12:46:04.000000000 +1200 @@ -211,7 +211,7 @@ enquire.set_query(query) matches = enquire.get_mset(0, 2000) for m in matches: - doc = m[xapian.MSET_DOCUMENT] + doc = m.document appname = doc.get_data() print "appname: ", appname, #for t in doc.termlist():
signature.asc
Description: Digital signature