Re: [Tracker] Tracker.Keywords GetList
- From: Philip Van Hoof <spam pvanhoof be>
- To: Gary Bishop <gb cs unc edu>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Tracker.Keywords GetList
- Date: Fri, 31 Jul 2009 15:36:00 +0200
On Fri, 2009-07-31 at 09:15 -0400, Gary Bishop wrote:
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')
The path is not going to be .../tracker but .../tracker/Keywords
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.
--
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
http://pvanhoof.be/blog
http://codeminded.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]