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

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Tue Jul 26 07:58:23 UTC 2011


*** This bug is a duplicate of bug 810552 ***
    https://bugs.launchpad.net/bugs/810552

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

** This bug has been marked a duplicate of bug 810552
   update-apt-xapian-index crashed with ValueError in index(): invalid null reference in method 'Document_add_value', argument 3 of type 'std::string const &'

-- 
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:
  Confirmed

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