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

_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to