apport-cli crashed with IOError in mark_report_seen()

Bug #151131 reported by Brian Murray
8
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
In Progress
Undecided
Martin Pitt

Bug Description

Binary package hint: apport

I was trying to submit a ubiquity crash report that was not submitting via the GUI interface. I was using this command line: sudo sh -c 'apport-cli --crash-file=/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash '. This was discovered using the Edubuntu 20071009.1 amd64 Desktop CD.

And this was output when running the command:

*** Collecting problem information

The collected information can be send to the developers to improve the
application. This might take a few minutes.
..
Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 282, in <module>
    app.run_argv()
  File "/var/lib/python-support/python2.5/apport/ui.py", line 256, in run_argv
    self.run_crash(self.options.crash_file, False)
  File "/var/lib/python-support/python2.5/apport/ui.py", line 192, in run_crash
    response = self.ui_present_report_details()
  File "/usr/bin/apport-cli", line 199, in ui_present_report_details
    lines = self.report[key].splitlines()
AttributeError: 'tuple' object has no attribute 'splitlines'
-----
ProblemType: Crash
Architecture: amd64
CrashReports:
 600:0:0:18966:2007-10-10 00:52:39.124074000 +0000:2007-10-10 00:52:40.124074000 +0000:/var/crash/_usr_bin_apport-cli.0.crash
 600:999:999:15532:2007-10-10 00:42:03.575913000 +0000:2007-10-10 00:42:04.575913000 +0000:/var/crash/_usr_bin_apport-cli.999.crash
 600:0:0:117988:2007-10-10 00:41:14.505228000 +0000:2007-10-10 00:41:15.505228000 +0000:/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash
Date: Wed Oct 10 00:42:02 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/apport-cli
InterpreterPath: /usr/bin/python2.5
Package: apport 0.98
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/apport-cli --crash-file=/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash
ProcCwd: /home/ubuntu
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/apport-cli', '--crash-file=/var/crash/_usr_lib_ubiquity_bin_ubiquity.0.crash']
SourcePackage: apport
Title: apport-cli crashed with IOError in mark_report_seen()
Uname: Linux ubuntu 2.6.22-14-generic #1 SMP Tue Oct 9 09:24:55 GMT 2007 x86_64 GNU/Linux

Tags: apport-crash
Revision history for this message
Brian Murray (brian-murray) wrote :
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Adding the ubiquity crash file that causes the apport crash.

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

Hm, apport-cli -c with that crash file works perfectly here, and I don't have similar bug reports. I'll keep this open for a while until I or someone else can reproduce this. I have no idea how a report object could have tuples as arguments when loading it from a file.

Changed in apport:
status: New → Incomplete
Revision history for this message
Daniel Hahler (blueyed) wrote :

I cannot reproduce it here using 0.107, too.

Some notes:
 1. See also bug 205163, which is similar. (but for the qt UI)
 2. The Traceback.txt (and title) submitted for this bug here are actually different from the bug description.

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

Will look at this while fixing bug 205163.

Changed in apport:
assignee: nobody → pitti
status: Incomplete → In Progress
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.