Fix FTBFS of aptdaemon 1.1.1 for Saucy

Bug #1226100 reported by Till Kamppeter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Fix Released
Critical
Sebastian Heinlein

Bug Description

The functionality to automatically download and install printer drivers in system-config-printer does not work any more in current Saucy. The problem is with PackageKit. After a hint from xnox on IRC I have installed aptdaemon 1.1.1 from

https://launchpad.net/ubuntu/+source/aptdaemon/1.1.1-0ubuntu1

(adding "DEB_BUILD_OPTIONS=nocheck" to debian/rules to override the failing tests) and with this version the driver package installation of system-config-printer works.

Can you fix the aptdaemon 1.1.1 package so that it makes it into Saucy? I am very grateful if automatic printer driver download will work in Saucy.

The problem seems to be an API compatibility failure when trying to add the GPG key:

till@till-twist:/usr/share/system-config-printer$ python
Python 2.7.5+ (default, Jun 5 2013, 10:40:07)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import GLib, PackageKitGlib
>>> import sys
>>> def progress(progress, type, user_data): pass
...
>>> pk = PackageKitGlib.Client()
>>> res = pk.install_signature(PackageKitGlib.SigTypeEnum.GPG, "E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56", "", None, progress, None)
__main__:1: Warning: g_variant_get_uint64: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_UINT64)' failed
__main__:1: Warning: g_variant_get_uint32: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_UINT32)' failed
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
gi._glib.GError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 654, in _message_cb
    (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 246, in _method_lookup
    raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: CreateTransaction is not a valid method of interface org.freedesktop.PackageKit

>>>

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Has perhaps to do with bug 1094616.

Changed in aptdaemon (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Sebastian Heinlein (glatzor)
milestone: none → ubuntu-13.10
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Sorry. I only tested against pep8 (1.4.5). The latest version is more strict.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aptdaemon - 1.1.1-0ubuntu2

---------------
aptdaemon (1.1.1-0ubuntu2) saucy; urgency=low

  * debian/patches:
    - fix_ftbs.patch: Fix FTBS (LP: #1226100) with latest pep8 version
 -- Sebastian Heinlein <email address hidden> Tue, 17 Sep 2013 07:02:02 +0200

Changed in aptdaemon (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.