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

2014-02-27 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-control-center -
1:3.6.3-0ubuntu52

---
gnome-control-center (1:3.6.3-0ubuntu52) trusty; urgency=low

  * debian/patches/gcc_not_in_unity.patch:
- don't list Unity in OnlyShowIn, other g-c-c and u-c-c entries get
  duplicated in the Unity dash, when they both installed (lp: #1280872)
  * debian/libgnome-control-center1.symbols,
debian/patches/10_keyboard_layout_on_unity.patch,
debian/patches/input-sources-text-entry.patch,
debian/patches/sound_nua_panel.patch,
debian/patches/unity_menus.patch,
debian/patches/unity_notice_info.patch:
- dropped some unity specific changes

  [ Brian Murray ]
  * debian/source_gnome-control-center.py: Do not pass an empty list
of plugin packages to apport. (LP: #1237119)
 -- Sebastien Bacher seb...@ubuntu.com   Wed, 26 Feb 2014 19:21:03 +0100

** Changed in: gnome-control-center (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-01-13 Thread Brian Murray
Tobiasz - Thanks for letting me know about the incomplete fix.

** Changed in: gnome-control-center (Ubuntu)
   Status: Fix Released = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-01-11 Thread Tobiasz Jarczyk
Hi,
After upgrading gnome-control-center to version 1:3.6.3-0ubuntu50 I am still 
getting exceptions when running ubuntu-bug gnome-control-center:

$ 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 
32, 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

$ sudo apt-cache policy gnome-control-center
gnome-control-center:
  Zainstalowana: 1:3.6.3-0ubuntu50
  KandydujÄ…ca:   1:3.6.3-0ubuntu50
  Tabela wersji:
 *** 1:3.6.3-0ubuntu50 0
500 http://pl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2014-01-08 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/gnome-control-center

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-01-08 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-control-center -
1:3.6.3-0ubuntu50

---
gnome-control-center (1:3.6.3-0ubuntu50) trusty; urgency=low

  [ Sebastien Bacher ]
  * debian/gnome-control-center.links: drop old symlink that was used
to add a system-settings entry to indicator-session, that's deprecated

  [ Brian Murray ]
  * debian/source_gnome-control-center.py: Do not attempt to find the version
of a package for a plugin not from a package. (LP: #1237119)

  [ Robert Ancell ]
  * debian/gnome-control-center.sh:
  * debian/rules:
- Add a wrapper to run unity-control-center in Unity
  * debian/patches/10_keyboard_layout_on_unity.patch:
  * debian/patches/ubuntu_update_translations_template.patch:
- Rename unity-region-panel to gnome-unity-region-panel so it doesn't
  conflict with the one in unity-control-center
 -- Robert Ancell robert.anc...@canonical.com   Thu, 09 Jan 2014 11:47:33 
+1300

** Changed in: gnome-control-center (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-01-06 Thread Sebastien Bacher
Thanks for the fix Brian!

** Changed in: gnome-control-center (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-01-03 Thread Brian Murray
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 Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-01-03 Thread Brian Murray
Actually, get_file_package can return None (Return None if the file is
not shipped by any package.), which would cause the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-01-03 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/gnome-control-center/ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-01-03 Thread Brian Murray
** Changed in: gnome-control-center (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: gnome-control-center (Ubuntu)
 Assignee: (unassigned) = Brian Murray (brian-murray)

** Changed in: gnome-control-center (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-12-26 Thread Tobiasz Jarczyk
I can confirm this bug happening in trusty.

** Tags added: trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-11-03 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gnome-control-center (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs