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 #811361 reported by Xavier Fung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
New
Undecided
Unassigned

Bug Description

This comes up again - it seems to related to be related to a software update which may affect Gnome Shell. The last update contains gwibber and a replacement of indicator-me. When the update was done, hovering on activities in Gnome Shell would have thumbnails of other workspace showing in the current one, and the thumbnails are somehow distorted. One has to use Alt-F2 and key in r to restart Gnome Shell to return to normal. I am using the ricotz ppa for Gnome Shell.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: apt-xapian-index 0.43ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
Uname: Linux 3.0.0-5-generic x86_64
Architecture: amd64
Date: Sat Jul 16 10:45:51 2011
ExecutablePath: /usr/sbin/update-apt-xapian-index
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index --update -q
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_HK.UTF-8
 LANGUAGE=en_HK:en
 SHELL=/bin/bash
PythonArgs: ['/usr/sbin/update-apt-xapian-index', '--update', '-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: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Xavier Fung (xavier114fch) wrote :
visibility: private → public
Revision history for this message
Xavier Fung (xavier114fch) wrote :

Also got this traceback:

Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 102, in <module>
    indexer.incrementalUpdate()
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 668, in incrementalUpdate
    self.updateIndex(dbpath)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 650, in updateIndex
    db.add_document(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 &'
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 102, in <module>
    indexer.incrementalUpdate()
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 668, in incrementalUpdate
    self.updateIndex(dbpath)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 650, in updateIndex
    db.add_document(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 &'

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.