[Bug 901381] Re: excepthook in gtk_ui.py should write a crash report instead of calling ubuntu-bug
Martin Pitt
martin.pitt at ubuntu.com
Wed Dec 14 06:05:00 UTC 2011
Indeed this call happens in
def excepthook(self, exctype, excvalue, exctb):
which has the exact same signature as apport_excepthook() (well, unsurprisingly, as both are standard Python exception handlers). So it would just need to import apport_python_hook and call apport_excepthook(exctype, excvalue, exctb).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/901381
Title:
excepthook in gtk_ui.py should write a crash report instead of calling
ubuntu-bug
Status in “ubiquity” package in Ubuntu:
New
Bug description:
In ubiquity/frontend/gtk_ui.py apport-bug is called directly which
causes a couple of issues:
1) the bug is tagged apport-bug and not apport-crash
2) apport bug patterns are not checked
I discovered this when looking at bug 901330 which was reported after
I wrote the bug pattern for bug 850264. I tested the bug pattern and
it does in fact match bug 901330 and the pattern is live on
people.canonical.com.
I think instead that the excepthook should create a crash report file
in /var/crash which then be picked up by apport.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/901381/+subscriptions
More information about the foundations-bugs
mailing list