apport-cli returns None when attempting to keep report file on Jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
New
|
Undecided
|
Unassigned |
Bug Description
When running apport-cli on Jaunty and attempting to keep the report file for sending later, the interface returns None. However, viewing the report works fine. I even checked in the /tmp directory for files starting with "apport", but I found nothing. Note that this feature works fine on Karmic.
Here is a sample session to illustrate the problem:
$ apport-cli -f -p xorg
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
..
*** Send problem report to the developers?
After the problem report has been sent, please fill out the form in the
automatically opened web browser.
What would you like to do? Your options are:
S: Send report (274.7 KiB)
V: View report
K: Keep report file for sending later or copying to somewhere else
C: Cancel
Please choose (S/V/K/C): K
Problem report file: None
In apport-cli file I just tried this fix and this is 100% not the correct one :)
if response == save: tmp/apport- cli.txt' , 'w')
fp. write(details)
fp. close()
print _('Problem report file:'), self.report_file
return 'cancel'
fp = open('/
if fp:
I need to file a bug against Ubuntu Karmic, unable to install it on this hardware. So generated a report with the above fix in Ubuntu 9.04.
Thanks