This bug was fixed in the package apport - 2.6.2-0ubuntu5

---------------
apport (2.6.2-0ubuntu5) raring; urgency=low

  * data/general-hooks/ubuntu.py: Deal with dpkg_log file being a string
    instead of bytes (LP: #1080915)
 -- Brian Murray <[email protected]>   Mon, 19 Nov 2012 17:03:54 -0800

** 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/1080915

Title:
  trim_dpkg_log can crash with a TypeError

Status in “apport” package in Ubuntu:
  Fix Released
Status in “apport” source package in Quantal:
  Triaged

Bug description:
  Some apport-package bug reports don't have a DuplicateSignature when
  they should.  I was able to obtain a problematic crash file and
  running ubuntu-bug with I received the following traceback:

  ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in 
_run_hook
      symb['add_info'](report, ui)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 62, in add_info
      check_attachment_for_errors(report, attachment)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 171, in 
check_attachment_for_errors
      trim_dpkg_log(report)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 428, in trim_dpkg_log
      if start_re.match(line) or trim_re.match(line):
  TypeError: can't use a bytes pattern on a string-like object

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1080915/+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

Reply via email to