This bug was fixed in the package apport - 2.5.1-0ubuntu7
---------------
apport (2.5.1-0ubuntu7) quantal-proposed; urgency=low
* bin/apport-bug: Explicitly set the PATH to that of ENV_SUPATH in
/etc/login.defs and unset ENV and CDPATH. We need do this so that confined
applications using ubuntu-browsers.d/ubuntu-integration cannot abuse the
environment to escape AppArmor confinement via this script (LP: #1045986).
This can be removed once AppArmor supports environment filtering
(LP: 1045985)
apport (2.5.1-0ubuntu6) quantal; urgency=low
* data/general/ubuntu.py: handle the case where a log file is compressed
when reviewing package installation failures (LP: #917903)
apport (2.5.1-0ubuntu5) quantal; urgency=low
* Use Python string rather than QString, LP: #1028984
-- Jamie Strandboge <[email protected]> Wed, 05 Sep 2012 08:38:23 -0500
** Changed in: apport (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/917903
Title:
ubuntu general hook doesn't know how to read .gz files
Status in “apport” package in Ubuntu:
Fix Released
Bug description:
I received the following crash on precise:
..................................ERROR: hook
/usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/apport/report.py", line 703, in
add_hooks_info
symb['add_info'](self, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 41, in add_info
check_attachment_for_errors(report, log)
File "/usr/share/apport/general-hooks/ubuntu.py", line 141, in
check_attachment_for_errors
if attachment in report and re.search(grub_error, report[attachment],
re.MULTILINE):
File "/usr/lib/python2.7/re.py", line 142, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or buffer
This happened because the general hook was trying to check
'VarLogDistupgradeApttermlog' for errors and the attachment is a .gz
file. .gz files also become an issue when a duplicate-signature is
created for package install failures.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/917903/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp