PackageKitGlib fail to do asynchronous search for package
This code generate a core dump also the equivalent on cjs. My error? The synchronous version works well. Occurs the same on ubuntu 13.10 and 14.04. I install packagekit on 13.10 and the same things...
#! /usr/bin/python3
# -*- coding: utf-8 -*-
from gi.repository import GObject
from gi.repository import PackageKitGlib as packagekit
def main():
"""Run a test application"""
loop = GObject.MainLoop()
pk = packagekit.Client()
pk.
print("exec")
loop.run()
def progress_cb(status, typ, data=None):
if status.
print(str(typ))
def out_data(p):
print("ready")
loop.quit()
if __name__ == "__main__":
main()
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: