apport-cli requires xdg.DesktopEntry to run

Bug #130013 reported by Mathias Gug
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Martin Pitt

Bug Description

Binary package hint: apport

When running apport-cli on a server installation, apport-cli cannot be started. It fails on importing xdg.DesktopEntry (which is not installed by default on a server installation).

Revision history for this message
Mathias Gug (mathiaz) wrote :

I've a patch for it in my apport branch : - revision 982.

Revision history for this message
Alex (gralex) wrote :


I still have the problem on Gutsy as of Oct 10th. Will this be fixed for the Gutsy release?


Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 130013] Re: apport-cli requires xdg.DesktopEntry to run

I can confirm this bug and I've merged the latest ubuntu-core-dev branch
in my branch that contains a fix

 status triaged
 importance medium

Changed in apport:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr head.

Changed in apport:
assignee: nobody → pitti
status: Triaged → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

apport (0.99) hardy; urgency=low

  * cli/apport-cli, qt4/apport-qt: Fix typo 'send' -> 'sent'.
    (LP: #139288)
  * Add user info, too. Also add check for this to the
    test suite. (LP: #145109)
  * apport/, run_crash(): Show a proper UI error message instead of just
    crashing with an exception if the crash report is inaccessible for the
    invoking user. (LP: #146464)
  * apport/crashdb_impl/ Implement mark_retraced(),
    get_unretraced(), and get_dup_unchecked() for completeness, and define
    _MemoryCrashDBTest also when not running file as __main__. This makes the
    class useful for higher-level test suites. Add test cases for the new
  * apport/crashdb_impl/ Support 'dummy_data' option which adds a
    few dummy crashes by default. This is useful for external test suites
    which cannot otherwise pre-fill the in-memory db. Add checks that this
    works properly.
  * bin/crash-digger: Use self.log() more consistently, and flush stdout in
    log(), so that we do not lose logs on output redirection.
  * Add test-crash-digger: Initial test suite for bin/crash-digger.
  * apport/, run_crash(): Intercept CRC errors from the info collection
    thread, which happens on broken core dumps. (LP: #132212)
  * cli/apport-cli, ui_present_package_error(): Fix running of dialog, so that
    reporting package problems with apport-cli actually works. (LP: #136369)
  * apport/, run_crash(): Intercept ENOSPC and present a proper error
    message. (LP: #145100)
  * gtk/ Fix title of upload progress window to comply to
    HIG. Thanks, Bruce Cowan. (LP: #144782)
  * qt4/apport-qt: Fix Unicode <-> UTF-8 conversion. Thanks, Daniel Hahler!
    (LP: #148177)
  * apport/ Only import xdg.DesktopEntry when a .desktop file has been
    found in the affected package. This avoids the dependency on servers with
    just apport-cli. Thanks, Matthias Gug! (LP: #130013)
  * apport/ Do not fail if there are no packages installed which
    have one or several .desktop files. Thanks, Matthias Gug!

 -- Martin Pitt <email address hidden> Sun, 28 Oct 2007 18:32:07 -0400

Changed in apport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers