I fixed up a few remaining 'apport' prefix changes in the hook, gave it a
better name, tested everything and committed:
http://codebrowse.launchpad.net/~ubuntu-core-dev/apport/ubuntu/revision/martin.pitt%40ubuntu.com-20070412093504-06tyq5ntm7atqzil?start_revid=martin.pitt%40ubuntu.com-20070412095150-ujnli0m8e1uv2vid
The necessary /etc/python2.5/site.py diff now looks like this:
--- site.py.orig 2007-04-12 11:18:21.000000000 +0200
+++ site.py 2007-04-12 11:18:24.000000000 +0200
@@ -418,11 +418,11 @@
del sys.setdefaultencoding
# install the apport exception handler if available
try:
- from apport import python_hook
+ import apport_python_hook
except ImportError:
pass
else:
- python_hook.install()
+ apport_python_hook.install()
main()
** Changed in: apport (Ubuntu)
Assignee: (unassigned) => Martin Pitt
Status: Confirmed => Fix Committed
--
apport exception hook negatively impacts startup of python
https://bugs.launchpad.net/bugs/105764
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs