[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

[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-10 Thread Launchpad Bug Tracker
** Branch linked: lp:apport -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016380 Title: apport-gtk crashed with TypeError in _check_bug_pattern(): can't use a string pattern on a bytes-like

[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-10 Thread Martin Pitt
Fixed upstream in http://bazaar.launchpad.net/~apport- hackers/apport/trunk/revision/2482. Thanks Brian for your original patch! ** Changed in: apport (Ubuntu) Status: In Progress = Fix Committed ** Changed in: apport (Ubuntu) Assignee: Brian Murray (brian-murray) = Martin Pitt

[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-07 Thread Brian Murray
Edward with regards to the repeatability of this issue apport modifies the .crash file during the collection process. In ui.py we can see that collect_info is only called if the crash file is missing Dependencies and that bug patterns are checked as a part of collect_info. So only the first run

[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-07 Thread Brian Murray
** Changed in: apport (Ubuntu) Status: Triaged = In Progress ** Changed in: apport (Ubuntu) Assignee: (unassigned) = Brian Murray (brian-murray) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[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-07 Thread Launchpad Bug Tracker
** Branch linked: lp:~brian-murray/apport/bug-1016380 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016380 Title: apport-gtk crashed with TypeError in _check_bug_pattern(): can't use a string

[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-07 Thread Edward Donovan
Thanks, Brian! Looking back, I sure was scratching my head a lot. I never knew this important fact: apport modifies the .crash file during the collection process. Aha. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[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

[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

[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-12 Thread col reilly
me too...chromium opened (even though it isn't my default browser) and crash happened. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016380 Title: apport-gtk crashed with TypeError in

[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-12 Thread dino99
Got that crash on Lubuntu i386 after having selected an other crash to report. ** Tags added: i386 lubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016380 Title: apport-gtk crashed with

[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-12 Thread Edward Donovan
Once again, I can't make this happen consistently with the same crashfile. Guessing from the names and times, the last two commenters, like me, probably had apport crash while reporting bug 1024016. A second attempt on that crashfile ran without problem. So I guess there's probably not much use

[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-12 Thread Edward Donovan
So, this looks like a python3 porting issue. According to comments like this: http://stackoverflow.com/questions/5184483/python-typeerror-on-regex what's needed is to call 're.compile' with a 'b' flag, for bytes. I'm not familiar with the code enough, to know whether we just can sprinkle

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

2012-06-29 Thread josa
Got this as apport was reporting an install problem for package compiz- gnome 1:0.9.8-bzr3249-0ubuntu1 during this mornings update using synaptic in Ubuntu Quantal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

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

2012-06-29 Thread josa
In case it can be of any use the install problem mentioned in #6 above is now reported in bug 1019145 - package compiz-gnome 1:0.9.7.8-0ubuntu3 failed to install/upgrade: trying to overwrite '/usr/share/gconf/schemas /compiz-ccp.schemas', which is also in package libcompizconfig0

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

2012-06-29 Thread Edward Donovan
I tested apport today with the crashfile I uploaded here, that originally triggered this bug for me. There was no problem, with apport-bug or apport-cli. The version of apport hasn't changed in the meantime. So I've gotten lost in the weeds. Does anyone else have a crashfile that will

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

2012-06-29 Thread Steve Langasek
Seen here as well. ** Changed in: apport (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016380 Title: apport-gtk crashed with TypeError in

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

2012-06-27 Thread Linuxexperte
Can confirm the same thing here in Ubunt u12.10 Gnome-Shell 3.5. This came with the current update at about 20:53 CET. And in addition to this problem with apport, a second error occured referring to evince. I just reported this error referring to evince. And perhaps, these two things have to do

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

2012-06-24 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016380 Title:

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

2012-06-24 Thread Edward Donovan
Here is a crash file that triggered this apport problem. It was a dpkg run where conflicting packages provided the same file. Offhand, the crash file has a terminal log of the dpkg session, a lot of text with control characters embedded in it. I suppose these ^M's could be causing a problem of

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

2012-06-24 Thread Edward Donovan
Well, in addition to the speculation in my last comment being a pretty weak idea, anyway, other people managed to report that crash, bug 1017289, with apport. And I see that my crash file has lots of older bits of log in it, too. So I'll retreat to a firmer I don't know. -- You received this

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

2012-06-22 Thread crf
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016380 Title: apport-gtk crashed with TypeError in _check_bug_pattern(): can't use a string pattern on a bytes-like object To manage notifications

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

2012-06-22 Thread Apport retracing service
** Tags removed: need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016380 Title: apport-gtk crashed with TypeError in _check_bug_pattern(): can't use a string pattern on a