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
** 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
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
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
** 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.
** 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
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.
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
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
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
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
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
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
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.
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
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
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
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
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:
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
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
--
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
** 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
23 matches
Mail list logo