[packagekit] Packagekit Python API has problems with Dbus in F14

rotru at br.ibm.com rotru at br.ibm.com
Mon Nov 22 11:27:29 PST 2010


Hi, 

I think this is a bug. I am trying to run this simple script in Python in 
a Fedora 14:


from packagekit import client
cli = client.PackageKitClient()
cli.resolve('test')

got this error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/packagekit/client.py", line 233, 
in resolve
    exit_handler)
  File "/usr/lib/python2.7/site-packages/packagekit/client.py", line 441, 
in _run_transaction
    trans.set_locale(self._locale)
  File "/usr/lib/python2.7/site-packages/packagekit/client.py", line 171, 
in set_locale
    return self._iface.SetLocale(code)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in 
__call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in 
call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: 
Method "SetLocale" with signature "s" on interface 
"org.freedesktop.PackageKit.Transaction" doesn't exist


Versions:
dbus-python-0.83.0-7.fc14.x86_64
PackageKit-0.6.9-4.fc14.x86_64



Regards

Rodrigo Trujillo
Software Engineer
Linux Technology Center - Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20101122/b8a0c066/attachment-0004.htm>


More information about the PackageKit mailing list