[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-05-20 Thread Brian Murray
On Hardy with apport package version 0.108.1 I caused a python application to crash and observed an apport crash notification. After installing python-apport and apport version 0.108.2 I no longer observed an apport crash notification. Additionally, after enabling crash reports in /etc/default/ap

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-05-20 Thread Steve Langasek
Accepted into -proposed, please test and give feedback here ** Changed in: apport (Ubuntu Hardy) Status: In Progress => Fix Committed ** Tags added: verification-needed -- apport_python_hook.py doesn't check to see if apport is enabled https://bugs.launchpad.net/bugs/60 You received

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-05-17 Thread Martin Pitt
** Description changed: Binary package hint: apport 1) Hardy Heron 2) Installed: 0.108 3) python crashes not to show up in Launchpad for Hardy Heron any more 4) I found bug 17 The changelog for apport 0.108 states: * debian/apport.default: Disable Apport for the final Har

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-05-17 Thread Martin Pitt
I backported above two changes to the hardy branch: https://code.launchpad.net/~ubuntu-core-dev/apport/hardy . Apart from those, I changed debian/control to have Vcs-Bzr: point to the hardy branch. I uploaded the package to hardy-proposed, awaiting ack from Steve now. -- apport_python_hook.py doe

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-05-17 Thread Martin Pitt
For Hardy we need to cherrypick those two revisions from trunk: http://bazaar.launchpad.net/~ubuntu-core-dev/apport/ubuntu/revision/1110 provide the infrastructure for reading /etc/default/apport in a reaonable upstream-compatible manner http://bazaar.launchpad.net/~ubuntu-core-dev/appo

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-05-17 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 0.110 --- apport (0.110) intrepid; urgency=low * apport/chroot.py: In the test suite, copy some system binaries/libraries into a fakechroot and exercise a lot of standard shell commands (cp, ln -s, rm, rm -r, mkdir, echo, chmod, cho

Re: [Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-04-26 Thread Kees Cook
On Sat, Apr 26, 2008 at 08:08:15AM -, Martin Pitt wrote: > Note to self: Kees' patch clobbers the global namespace, it should use > and pass a local/global dictionary. Owch, really? I thought it defaulted to only messing with the local namespace? Anyway, yes, mostly it serves as an example.

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-04-26 Thread Martin Pitt
Note 2: use a regular expression match instead of execfile(). This is both technically more correct, and probably also much cheaper. ** Changed in: apport (Ubuntu Hardy) Status: Triaged => In Progress -- apport_python_hook.py doesn't check to see if apport is enabled https://bugs.launchpa

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-04-26 Thread Martin Pitt
Note to self: Kees' patch clobbers the global namespace, it should use and pass a local/global dictionary. -- apport_python_hook.py doesn't check to see if apport is enabled https://bugs.launchpad.net/bugs/60 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-04-25 Thread Brian Murray
** Changed in: apport (Ubuntu) Importance: Undecided => Medium Assignee: (unassigned) => Martin Pitt (pitti) Status: New => Triaged -- apport_python_hook.py doesn't check to see if apport is enabled https://bugs.launchpad.net/bugs/60 You received this bug notification because y

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-04-25 Thread Kees Cook
LP really doesn't like whitespace, does it? :) -- apport_python_hook.py doesn't check to see if apport is enabled https://bugs.launchpad.net/bugs/60 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu

[Bug 222260] Re: apport_python_hook.py doesn't check to see if apport is enabled

2008-04-25 Thread Kees Cook
Attaching a branch that fixes this. I note, however, that this is not a very distro-agnostic way to handle it. Perhaps a /var/lib/apport file that /etc/init.d/apport modifies would be "better"? === modified file 'apport_python_hook.py' --- apport_python_hook.py 2008-04-11 21:04:30 + ++