[packagekit] Using the python GI

Alex Eftimie alex at rosedu.org
Fri Jun 3 03:03:36 PDT 2011


Beginner here, trying to write some basic python code, using pk 0.6.14
with gir from here[1], I'm stuck here:

from gi.repository import PackageKitGlib as pk
client = pk.Client()
def cb(status, type, data):

client.get_details("hal;0.0.1;i386;ubuntu", None, cb, None)

Segmentation fault (core dumped)

Any hints?

[1] https://launchpad.net/~ximion/+archive/packagekit

More information about the PackageKit mailing list