update-apt-xapian-index crashed with OSError in getmtime(): [Errno 2] No such file or directory: '/usr/share/app-install/desktop/metamorphose2.desktop'

Bug #752195 reported by Jasper Westpfahl
48
This bug affects 4 people
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

Binary package hint: apt-xapian-index

I noticed nothing crashing eventhough the dialogue box popped up and said that some system program crashed. I noticed nothing else.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: apt-xapian-index 0.41ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Tue Apr 5 21:02:10 2011
ExecutablePath: /usr/sbin/update-apt-xapian-index
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index --batch-mode --force --update
ProcEnviron:

PythonArgs: ['/usr/sbin/update-apt-xapian-index', '--batch-mode', '--force', '--update']
SourcePackage: apt-xapian-index
Title: update-apt-xapian-index crashed with OSError in getmtime(): [Errno 2] No such file or directory: '/usr/share/app-install/desktop/metamorphose2.desktop'
UpgradeStatus: Upgraded to natty on 2011-04-05 (0 days ago)
UserGroups:

Revision history for this message
Jasper Westpfahl (jasperw85) wrote :
tags: removed: need-duplicate-check
Steve Beattie (sbeattie)
visibility: private → public
Revision history for this message
Brian Murray (brian-murray) wrote :

The app-install plugin isn't ensuring that the file exists before trying to find out the time it was modified. This fixes that.

Changed in apt-xapian-index (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks, patch looks fine!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-xapian-index - 0.44ubuntu1

---------------
apt-xapian-index (0.44ubuntu1) oneiric; urgency=low

  * Merge from debian unstable. Remaining changes:
    - do not crash if the DB is already locked (LP: #590998)
    - move to dh_python2
    - do not modify the DB "in-place" with --update
  * ignore file not found errors when checking for the mtime
    (LP: #752195), thanks to Brian Murray

apt-xapian-index (0.44) unstable; urgency=low

  * Applied trailing comma patch by Cédric Boutillier. Closes: #630774
  * Applied function prototype fix by Cédric Boutillier.
    Closes: #605376, #630343
  * Applied dbus policy patch by Michael Vogt. Closes: #611268
  * s/axi-search/axi-cache in the description, thanks to Jack Bates.
    Closes: #621035
  * axi-cache: improve output messages when no results are found or when
    paging past the last result. Closes: #623478
  * Applied slightly tweaked postinst patch by Michael Vogt, to index with
    ionice in postinst and to force a full reindex after some significant
    version upgrade. Closes: #603824
  * Applied patch by Michael Vogt to fix fix type of "start-time" for
    policykit. Closes: #605591
  * Implemented axi-cache search --all. Closes: #610051
  * Fixed server locking and slave progress reporting. Closes: #611366
 -- Michael Vogt <email address hidden> Tue, 26 Jul 2011 09:02:49 +0200

Changed in apt-xapian-index (Ubuntu):
status: In Progress → Fix Released
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.