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

Jeremy Bicha jeremy at bicha.net
Tue Jul 26 00:38:59 UTC 2011


** Visibility changed to: Public

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-xapian-index in Ubuntu.
https://bugs.launchpad.net/bugs/816189

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 &'

Status in “apt-xapian-index” package in Ubuntu:
  New

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:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/816189/+subscriptions




More information about the foundations-bugs mailing list