gatt-python icon indicating copy to clipboard operation
gatt-python copied to clipboard

Unexpected keyword argument error when enabling notifications

Open harshshah88 opened this issue 7 years ago • 2 comments

I am getting the following error in characteristic_enable_notifications_succeeded():

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/dbus/connection.py", line 604, in msg_reply_handler reply_handler(*message.get_args_list(**get_args_opts)) File "/usr/local/lib/python3.5/dist-packages/gatt/gatt_linux.py", line 618, in _enable_notifications_succeeded self.service.device.characteristic_enable_notifications_succeeded(characteristic=self) TypeError: characteristic_enable_notifications_succeeded() got an unexpected keyword argument 'characteristic'

I am not sure what is causing this issue.

harshshah88 avatar Feb 24 '18 06:02 harshshah88

Which BlueZ version are you using? Did you try a system restart?

larsblumberg avatar Feb 25 '18 14:02 larsblumberg

I am using BlueZ version 5.48 and have tried restarting the system but had no luck with that.

harshshah88 avatar Feb 27 '18 04:02 harshshah88