[Tracker] Tracker.Keywords GetList
- From: Gary Bishop <gb cs unc edu>
- To: tracker-list gnome org
- Subject: [Tracker] Tracker.Keywords GetList
- Date: Fri, 31 Jul 2009 09:15:17 -0400
Hi,
I'm trying to figure out how to talk to Tracker using the Python Dbus
module. I've found some examples but I can't seem to make them work.
For example I have tried:
------------------------------------------------------
import dbus
bus = dbus.SessionBus()
obj = bus.get_object('org.freedesktop.Tracker', '/org/freedesktop/tracker')
keywords = dbus.Interface(obj, 'org.freedesktop.Tracker.Keywords')
keywords.GetList('Files')
DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method
"GetList" with signature "s" on interface
"org.freedesktop.Tracker.Keywords" doesn't exist
-------------------------------------------------------
I've tried the Async variant also with the same result.
I'm using Ubuntu Jaunty with Tracker from the Ubuntu repository.
Any help will be appreciated.
gb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]