This probably has something to do with the plugins installed and apport
being unable to find the package version for one of them.  We can see
the following in the hook:

    # collect informations on the /usr/lib/control-center-1 components 
    plugin_packages = set()
    for paneldir in (['/usr/lib/control-center-1'] + 
glob.glob('/usr/lib/*/control-center-1')):
        for dirpath, dirnames, filenames in os.walk(paneldir):
            for filename in filenames:
                path = os.path.join(dirpath, filename)
                package = apport.packaging.get_file_package(path)
                if package == 'gnome-control-center':
                    continue

                plugin_packages.add(package)

        report["usr_lib_gnome-control-center"] =
package_versions(*sorted(plugin_packages))

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

Title:
  ERROR: hook /usr/share/apport/package-hooks/source_gnome-control-
  center.py crashed: TypeError: add_info() takes 1 positional argument
  but 2 were given

Status in “gnome-control-center” package in Ubuntu:
  Confirmed

Bug description:
  % ubuntu-bug gnome-control-center-data
  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 197, in 
_run_hook
      symb['add_info'](report, ui)
  TypeError: add_info() takes 1 positional argument but 2 were 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 202, in 
_run_hook
      symb['add_info'](report)
    File "/usr/share/apport/package-hooks/source_gnome-control-center.py", line 
30, in add_info
      report["usr_lib_gnome-control-center"] = 
package_versions(*sorted(plugin_packages))
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 790, in 
package_versions
      map(max, [map(len, t) for t in zip(*versions)])
  ValueError: need more than 0 values to unpack
  ubuntu-bug gnome-control-center-data  27,10s user 16,70s system 81% cpu 
53,692 total
                                                                                
                                         
  (process:6725): GLib-CRITICAL **: g_slice_set_config: assertion 
'sys_page_size == 0' failed

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-control-center-data 1:3.6.3-0ubuntu43
  ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
  Uname: Linux 3.11.0-11-generic x86_64
  ApportVersion: 2.12.5-0ubuntu1
  Architecture: amd64
  Date: Wed Oct  9 00:48:54 2013
  InstallationDate: Installed on 2012-05-28 (498 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: gnome-control-center
  UpgradeStatus: Upgraded to saucy on 2013-10-08 (0 days ago)

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