[Desktop-packages] [Bug 1016380] Re: apport-gtk crashed with TypeError in _check_bug_pattern(): can't use a string pattern on a bytes-like object

2012-09-17 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.5.2-0ubuntu1 --- apport (2.5.2-0ubuntu1) quantal; urgency=low * New upstream release: - Fix crash on broken .desktop files. (LP: #1039889) - apport-gtk: For console program crashes, say stopped instead of closed. Add a

[Desktop-packages] [Bug 1016380] Re: apport-gtk crashed with TypeError in _check_bug_pattern(): can't use a string pattern on a bytes-like object

2012-07-23 Thread Brian Murray
While this may fix it for DpkgTerminalLog, the fix is not generic so if another attachment were to be a bytes object and a bug pattern were written for that attachment we would get the same crash. I think this code in apport/report.py needs to modified: if c.hasChildNodes() and

[Desktop-packages] [Bug 1016380] Re: apport-gtk crashed with TypeError in _check_bug_pattern(): can't use a string pattern on a bytes-like object

2012-07-18 Thread Edward Donovan
Version 2.4-0ubuntu1 sounds like it fixes this: [ Brian Murray ] * data/general/ubuntu.py: in trim_log deal with the fact that DpkgTerminalLog is a bytes object and convert it to a string object Since I can't reproduce the crash, I couldn't exactly test that this bug is gone, but the