Do not try to send reports when being offline

Bug #349077 reported by Shahar Or
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: apport

Dear interested parties,

This is what happened:
1. Evolution crashed.
2. apport-gtk and I told it to report the full report.
3. apport tried to upload but it displayed some error and couldn't upload. The error was something about name resolution, I think.
4. I wanted to report it so I've found there's apport-cli. I've read the manpage and decided to try to run it without options.
5. When run without options, it told me that there are no new reports.
6. I am about to send the report with the -c option.

The problem is that apport-cli doesn't realize that the uploading of that report did not succeed.

While it is a matter of convenience, perhaps it would be better to change the program so that it checks if it the report has been uploaded successfully instead of checking if it started the upload.

Many blessings.

ProblemType: Bug
ApportLog:
 apport (pid 26601) Thu Mar 26 18:55:21 2009: called for pid 5755, signal 11
 apport (pid 26601) Thu Mar 26 18:55:21 2009: executable: /usr/bin/evolution (command line "evolution")
 modinfo: could not open cdrom: No such device
 modinfo: could not open cdrom: No such device
 apport (pid 26601) Thu Mar 26 18:56:42 2009: wrote report /var/crash/_usr_bin_evolution.1000.crash
Architecture: i386
CrashReports:
 600:1000:1000:10678963:2009-03-26 19:05:23.000000000 +0200:2009-03-26 19:07:04.000000000 +0200:/var/crash/_usr_bin_evolution.1000.crash
 600:1000:1000:2194325:2009-03-19 12:48:35.000000000 +0200:2009-03-19 12:48:36.000000000 +0200:/var/crash/_usr_bin_pidgin.1000.crash
 0:1000:1000:19483:2009-03-23 19:01:54.000000000 +0200:2009-03-23 19:01:48.000000000 +0200:/var/crash/_usr_bin_seahorse-agent.1000.crash
 600:1000:1000:39165:2009-03-26 18:45:49.000000000 +0200:2009-03-26 18:46:00.000000000 +0200:/var/crash/_usr_bin_update-manager.1000.crash
 600:1000:1000:5103076:2009-03-19 17:55:43.000000000 +0200:2009-03-19 17:55:44.000000000 +0200:/var/crash/_usr_lib_firefox-3.0.7_firefox.1000.crash
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: ath_hal
Package: apport 0.119
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=he_IL.UTF-8
SourcePackage: apport
Uname: Linux 2.6.27-11-generic i686

Tags: apport-bug
Revision history for this message
Shahar Or (mightyiam) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

> The problem is that apport-cli doesn't realize that the uploading of that report did not succeed.

What do you mean by this? What did apport-cli do (copy&paste the output perhaps, or do a screenshot?) and what should have happened?

Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Incomplete
Revision history for this message
Shahar Or (mightyiam) wrote :

Dear Martin,

Well, the problem is that reports which failed to be uploaded for any reason, will not be uploaded by simply running 'apport-cli', but the report file must be specified.

Many blessings.

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

Ah, I see. The UI should indeed become more clever for that, and not offer to send the reports in the first place if there is no network connection.

Changed in apport (Ubuntu):
importance: Undecided → Low
status: Incomplete → Triaged
summary: - apport-cli should check that the report has been made
+ Do not try to send reports when being offline
Martin Pitt (pitti)
Changed in apport (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in apport (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apport (Ubuntu) because there has been no activity for 60 days.]

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