Re: [Tracker] Tracker.Keywords GetList

Thanks for the quick reply. Now I've got:

import dbus
bus = dbus.SessionBus()
obj = bus.get_object('org.freedesktop.Tracker', '/org/freedesktop/tracker/Keywords')
keywords = dbus.Interface(obj, 'org.freedesktop.Tracker.Keywords')
print keywords.GetList('Files')

but I get the same error:

Traceback (most recent call last):
  File "", line 7, in <module>
    print keywords.GetList('Files')
File "/var/lib/python-support/python2.6/dbus/", line 68, in __call__
    return self._proxy_method(*args, **keywords)
File "/var/lib/python-support/python2.6/dbus/", line 140, in __call__
File "/var/lib/python-support/python2.6/dbus/", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetList" with signature "s" on interface "org.freedesktop.Tracker.Keywords" doesn't exist

I must be missing something simple.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]