Commit: 7d93368c3882063aa74812ff1b4b700deea74f57
Parent: bea034e821a6dd86a73a93830a25c74b8f73a7c5
Author: João Paulo Rechi Vita <jprvita@openbossa.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-18 01:22:26
Tree: 24e286ebc319467101600b24b6cdd12dab3818b7

test: Update simple-agent to new API The method org.bluez.Device.Pair() doesn't have arguments anymore. This commit fixes the following error: $ test/simple-agent hci0 4C:B1:99:F1:BC:E9 Agent registered ERROR:dbus.connection:Unable to set arguments (u'/test/agent', u'Keybo ardDisplay') according to signature '': <type 'exceptions.TypeError'>: Fewer items found in D-Bus signature than in Python arguments Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 586 , in msg_reply_handler reply_handler(*message.get_args_list(**get_args_opts)) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 391, i n _introspect_reply_handler self._introspect_execute_queue() File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 378, i n _introspect_execute_queue proxy_method(*args, **keywords) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 132, i n __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 566 , in call_async message.append(signature=signature, *args) TypeError: Fewer items found in D-Bus signature than in Python argumen ts

Diffstat

M test/simple-agent | 4 +- - -

1 files changed, 1 insertions(+), 3 deletions(-)

View Full Diff | Patch