Apport adds "UnreportableReason" field to bugs reported through it

Bug #361359 reported by Daniel Hahler
6
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: apport

While reporting bug 361275 I've noticed that apport added
 UnreportableReason: Das Paket stammt nicht von Ubuntu.
at the end of the info block.

Seems like that should not get through.

There are quite a few such bugs:
https://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=UnreportableReason&field.tag=apport-bug

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: apport 1.0-0ubuntu4
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :

It did not happen for this package now..
Maybe only when the package version is "None"? (which is strange, too)

Revision history for this message
Brian Murray (brian-murray) wrote :

This happened to me when I was trying to install a package and it failed. Attached is the crash report that I couldn't report.

Revision history for this message
Brian Murray (brian-murray) wrote :

From backends/packaging-apt-dpkg.py:

        if self._cache(package).installedVersion is None:
            return False # LP#252734

This might be the causing some of issues.

Revision history for this message
Brian Murray (brian-murray) wrote :

installedVersion might also be None if someone were to use ubuntu-bug for a package they don't have installed which seems like a valid use case.

Revision history for this message
Martin Pitt (pitti) wrote :

This actually has several parts:

 - In bug filing mode, the apport UI does not check the UnreportableReason: field.

 - Sometimes adds "Package: kdepim None", if package is not installed; this should be a valid use case for reporting bugs, though

   * For filing crashes, check if package is installed
   * Do not collect package information in bug filing mode if package is not installed

Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: New → Triaged
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

trunk r1446

Changed in apport (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.2.1-0ubuntu2

---------------
apport (1.2.1-0ubuntu2) karmic; urgency=low

  * debian/control: Update Vcs-Bzr: for new location (moved from project
    branch to package branch).
  * Merge bug fixes from trunk:
    - apport-cli: Fix report saving in "bug report" mode. (LP: #353253)
    - Drop "UnsupportableReason" field, it is too similar to
      UnreportableReason and just confusing.
    - ui.py: Check UnreportableReason for run_report_bug() as well.
      (LP: #361359)
    - general-hooks/generic.py: Do not report problems with low free space on
      / or /home. (LP: #381047)
    - launchpad.py: Do not overwrite report['Title'].
    - launchpad.py: Repair support for extra tags.
    - New function apport.hookutils.root_command_output() to run a command as
      root, through gksu/kdesudo/sudo, depending on the desktop environment.
      (Part of UbuntuSpec:desktop-karmic-symptom-based-bug-reporting)
    - launchpad.py: Fetch DpkgTerminalLog. (LP: #382589)
    - launchpad.py: More robust download(), fixes other part of (LP: #382589)
    - problem_report.py: Allow dashes and underscores in key names. Update
      doc/data-format.tex accordingly. (LP: #380811)

 -- Martin Pitt <email address hidden> Tue, 02 Jun 2009 11:59:41 +0200

Changed in apport (Ubuntu):
status: Fix Committed → 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.