update-apt-xapian-index crashed with ValueError in index(): invalid null reference in method 'Document_add_value', argument 3 of type 'std::string const &'

Bug #816189 reported by Jeremy Bícha
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This bug is preventing me from being able to run Synaptic or Ubuntu Software Center.

$ sudo update-apt-xapian-index
Reading .desktop files from /usr/share/app-install/desktop/: done.
Rebuilding Xapian index... 12%
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 104, in <module>
    indexer.rebuild(opts.pkgfile)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 715, in rebuild
    self.buildIndex(dbdir, generator)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 690, in buildIndex
    for doc in documents:
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 562, in gen_documents_apt
    yield self.get_document_from_apt(pkg)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 530, in get_document_from_apt
    addon.obj.index(document, pkg)
  File "/usr/share/apt-xapian-index/plugins/software-center.py", line 114, in index
    document.add_value(XapianValues.ICON_URL, url)
ValueError: invalid null reference in method 'Document_add_value', argument 3 of type 'std::string const &'

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: apt-xapian-index 0.43ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-6.7-generic 3.0.0-rc7
Uname: Linux 3.0.0-6-generic x86_64
Architecture: amd64
Date: Fri Jul 22 08:06:18 2011
ExecutablePath: /usr/sbin/update-apt-xapian-index
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index -q
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/sh
PythonArgs: ['/usr/sbin/update-apt-xapian-index', '-q']
SourcePackage: apt-xapian-index
Title: update-apt-xapian-index crashed with ValueError in index(): invalid null reference in method 'Document_add_value', argument 3 of type 'std::string const &'
UpgradeStatus: Upgraded to oneiric on 2011-06-17 (38 days ago)
UserGroups:

Revision history for this message
Jeremy Bícha (jbicha) wrote :
visibility: private → public
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 810552, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in apt-xapian-index (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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