Re: [PATCH BlueZ] test: Update simple-agent to new API

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

 



Hi Joao Paulo,

> 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
> ---
>  test/simple-agent | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

patch has been applied.

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux