Re: [Tracker] Tracker.Keywords GetList
- From: Gary Bishop <gb cs unc edu>
- To: tracker-list gnome org
- Subject: Re: [Tracker] Tracker.Keywords GetList
- Date: Fri, 31 Jul 2009 10:03:15 -0400
Oh, now I see. Case matters! It should have been:
obj = bus.get_object('org.freedesktop.Tracker',
'/org/freedesktop/Tracker/Keywords')
note the capital T and K.
Thanks
gb
Gary Bishop wrote:
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:
python GetTagsSync.py
Traceback (most recent call last):
File "GetTagsSync.py", line 7, in <module>
print keywords.GetList('Files')
File "/var/lib/python-support/python2.6/dbus/proxies.py", line 68, in
__call__
return self._proxy_method(*args, **keywords)
File "/var/lib/python-support/python2.6/dbus/proxies.py", line 140, in
__call__
**keywords)
File "/var/lib/python-support/python2.6/dbus/connection.py", 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.
gb
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]