[Bug 1247875] [NEW] update-apt-xapian-index crashes

jenskapitza j.kapitza at schwarze-allianz.de
Mon Nov 4 15:39:00 UTC 2013


Public bug reported:

jens at jens-S4216:~$ sudo update-apt-xapian-index -q -u
[sudo] password for jens: 
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 101, in <module>
    if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 513, in setupIndexing
    addon.obj.init(dict(values=self.values), self.progress)
  File "/usr/share/apt-xapian-index/plugins/app-install.py", line 145, in init
    entry = DesktopEntry(os.path.join(APPINSTALLDIR, f))
  File "/usr/local/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 33, in __init__
    self.parse(filename)
  File "/usr/local/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 42, in parse
    IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"])
  File "/usr/local/lib/python2.7/dist-packages/xdg/IniFile.py", line 79, in parse
    raise ParsingError("Invalid line: " + line, filename)
xdg.Exceptions.ParsingError: ParsingError in file '/usr/share/app-install/desktop/spout:spout.desktop', Invalid line: Categories:Application:Game:ArcadeGame
jens at jens-S4216:~$ vim /usr/share/app-install/desktop/spout:spout.desktop

if comment Categories out and the bug is gone,  every restart the system
update-apt-xapian crashed

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: app-install-data 0.12.04.4 [modified: usr/share/app-install/desktop/spout:spout.desktop]
ProcVersionSignature: Ubuntu 3.8.0-32.47~precise1-generic 3.8.13.10
Uname: Linux 3.8.0-32-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Nov  4 16:35:53 2013
Dependencies:
 
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: app-install-data-ubuntu
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: app-install-data-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

** Attachment added: "my version"
   https://bugs.launchpad.net/bugs/1247875/+attachment/3899952/+files/spout%3Aspout.desktop

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to app-install-data-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1247875

Title:
   update-apt-xapian-index crashes

Status in “app-install-data-ubuntu” package in Ubuntu:
  New

Bug description:
  jens at jens-S4216:~$ sudo update-apt-xapian-index -q -u
  [sudo] password for jens: 
  Traceback (most recent call last):
    File "/usr/sbin/update-apt-xapian-index", line 101, in <module>
      if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
    File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 513, in setupIndexing
      addon.obj.init(dict(values=self.values), self.progress)
    File "/usr/share/apt-xapian-index/plugins/app-install.py", line 145, in init
      entry = DesktopEntry(os.path.join(APPINSTALLDIR, f))
    File "/usr/local/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 33, in __init__
      self.parse(filename)
    File "/usr/local/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 42, in parse
      IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"])
    File "/usr/local/lib/python2.7/dist-packages/xdg/IniFile.py", line 79, in parse
      raise ParsingError("Invalid line: " + line, filename)
  xdg.Exceptions.ParsingError: ParsingError in file '/usr/share/app-install/desktop/spout:spout.desktop', Invalid line: Categories:Application:Game:ArcadeGame
  jens at jens-S4216:~$ vim /usr/share/app-install/desktop/spout:spout.desktop

  if comment Categories out and the bug is gone,  every restart the
  system update-apt-xapian crashed

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: app-install-data 0.12.04.4 [modified: usr/share/app-install/desktop/spout:spout.desktop]
  ProcVersionSignature: Ubuntu 3.8.0-32.47~precise1-generic 3.8.13.10
  Uname: Linux 3.8.0-32-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Mon Nov  4 16:35:53 2013
  Dependencies:
   
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: app-install-data-ubuntu
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/app-install-data-ubuntu/+bug/1247875/+subscriptions



More information about the foundations-bugs mailing list