*** This bug is a duplicate of bug 933199 ***
    https://bugs.launchpad.net/bugs/933199

** This bug is no longer a duplicate of bug 1017851
   apport-retrace crashed with IOError in _search_contents(): [Errno 2] No such 
file or directory: u'/home/username/.cache/apport/retrace/Ubuntu 
12.10/Contents-i386.gz'
** This bug has been marked a duplicate of bug 933199
   apport-retrace crashed with IOError in _search_contents(): [Errno 2] No such 
file or directory: u'~/.cache/apport/retrace/Ubuntu 12.04/Contents-i386.gz'

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1017895

Title:
  AttributeError: 'Report' object has no attribute 'has_key

Status in GNOME Control Center:
  New
Status in “apport” package in Ubuntu:
  Confirmed

Bug description:
  Apport show this traceback reporting a bug for other package:

  $ ubuntu-bug gnome-control-center
  ERROR: hook /usr/share/apport/package-hooks//source_gnome-control-center.py 
crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 799, in 
add_hooks_info
      symb['add_info'](self, ui)
  TypeError: add_info() takes exactly 1 positional argument (2 given)

  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'

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: apport 2.2.5-0ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-1.1-generic 3.5.0-rc3
  Uname: Linux 3.5.0-1-generic i686
  ApportVersion: 2.2.5-0ubuntu1
  Architecture: i386
  Date: Tue Jun 26 12:51:23 2012
  InstallationMedia:
   
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: Upgraded to quantal on 2012-06-05 (21 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/1017895/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to