gnome-control-center's apport hook breaks under python 3, as reported in bug 1018357, now duped here. Here is a one-line patch that fixes this error. And here's the original report pasted in from that bug:
On Quantal up to date
TEST CASE:
1. From a terminal run:
$ ubuntu-bug gnome-control-center
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 804, in add_hooks_info
symb['add_info'](self)
File "/usr/share/apport/package-hooks//source_gnome-control-center.py", line 6, in add_info
if report.has_key("Stacktrace") and "/usr/lib/control-center-1" in report["Stacktrace"]:
AttributeError: 'Report' object has no attribute 'has_key'
gnome-control- center' s apport hook breaks under python 3, as reported in bug 1018357, now duped here. Here is a one-line patch that fixes this error. And here's the original report pasted in from that bug:
On Quantal up to date center
TEST CASE:
1. From a terminal run:
$ ubuntu-bug gnome-control-
RESULT: apport/ package- hooks// source_ gnome-control- center. py crashed: python3/ dist-packages/ apport/ report. py", line 799, in add_hooks_info 'add_info' ](self, ui)
ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
TypeError: add_info() takes exactly 1 positional argument (2 given)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): python3/ dist-packages/ apport/ report. py", line 804, in add_hooks_info 'add_info' ](self) apport/ package- hooks// source_ gnome-control- center. py", line 6, in add_info has_key( "Stacktrace" ) and "/usr/lib/ control- center- 1" in report[ "Stacktrace" ]:
File "/usr/lib/
symb[
File "/usr/share/
if report.
AttributeError: 'Report' object has no attribute 'has_key'