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

This looks like the python3 porting issues that are collected at bug
1013171.  I'm doing to dupe this bug to that, and try to post a patch in
a little while.


** This bug has been marked a duplicate of bug 1013171
   Many package hooks not ported to python3

-- 
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/1018537

Title:
  broken package hook: gnome-control-center

Status in “apport” package in Ubuntu:
  New

Bug description:
  On Quantal up to date
  TEST CASE:
  1. From a terminal run:
    $ ubuntu-bug gnome-control-center

  RESULT:
  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 x86_64
  ApportLog:
   
  ApportVersion: 2.2.5-0ubuntu1
  Architecture: amd64
  Date: Wed Jun 27 20:54:28 2012
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: Upgraded to quantal on 2012-01-31 (147 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1018537/+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