BlueZ icon indicating copy to clipboard operation
BlueZ copied to clipboard

Unable to make test/test-mesh app work

Open ptrivedi2610 opened this issue 3 years ago • 0 comments

Hi All,

I am new to using the dbus-python and test-mesh app in bluez Whenever I invoke the test-mesh app and try to execute it, I get the below error in Join() command. Note that test/test-discovery app works fine

Error Log ######### token - set node ID (token) join - join mesh network attach - attach mesh node remove - delete node dest - set destination address uuid - set remote uuid app-index - set AppKey index vendor-send - send raw vendor message client-menu - On/Off client menu quit - exit the test join Joining with UUID cbe21cc5637f4582b2b7701d23187d75 ERROR:dbus.connection:Unable to set arguments (dbus.ObjectPath('/example'), b'\xcb\xe2\x1c\xc5c\x7fE\x82\xb2\xb7p\x1d#\x18}u') according to signature None: <class 'UnicodeError'>: String parameters to be sent over D-Bus must be valid UTF-8 with no noncharacter code points Traceback (most recent call last): File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 754, in func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data) File "./test-mesh", line 794, in input_callback self.cb(buffer) File "./test-mesh", line 805, in process_input current_menu.process_cmd(str_value) File "./test-mesh", line 956, in process_cmd Menu.process_cmd(self, str_value) File "./test-mesh", line 777, in process_cmd self.menu.get(cmds[0]).func() File "./test-mesh", line 896, in __cmd_join error_handler=join_error_cb) File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 137, in call **keywords) File "/usr/lib/python3/dist-packages/dbus/connection.py", line 584, in call_async message.append(signature=signature, *args) UnicodeError: String parameters to be sent over D-Bus must be valid UTF-8 with no noncharacter code points

Kindly help me to proceed further

ptrivedi2610 avatar Nov 18 '21 11:11 ptrivedi2610