-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hello, dear.
Thank you for providing good program.
I am testing this package demo for meshcli.
But I got a unsolvable problem.
Your bluetooth_mesh/interfaces.py:373 a has caller as "call_attach_unix" in NetworkInterface class.
However, according to offitial bluez mesh-api, attach_unix or attach_fd is not implemented.
How can you call this api method?
The error messages as follows:
$ meshcli HelpCommand
2022-07-18 05:33:17 MeshCommandLine INFO application.py:313 Connecting to org.bluez.mesh
2022-07-18 05:33:17 MeshCommandLine INFO application.py:585 Registering application
2022-07-18 05:33:17 MeshCommandLine INFO application.py:842 Attach 0 (socket_pair=False, socket_path=/home/ubuntu/.config/meshcli/e32275f5-e32f-54ce-b22b-cc4aa5b83cfd.socket)
2022-07-18 05:33:17 MeshCommandLine INFO application.py:600 Unregistering application
Traceback (most recent call last):
File "/home/ubuntu/test/bin/meshcli", line 33, in <module>
sys.exit(load_entry_point('bluetooth-mesh', 'console_scripts', 'meshcli')())
File "/home/ubuntu/python-bluetooth-mesh/bluetooth_mesh/apps/meshcli.py", line 1723, in main
loop.run_until_complete(mesh_cli.run(arguments.get("<command>")))
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/ubuntu/python-bluetooth-mesh/bluetooth_mesh/apps/meshcli.py", line 1624, in run
await self._run(commands)
File "/home/ubuntu/python-bluetooth-mesh/bluetooth_mesh/apps/meshcli.py", line 1627, in _run
await self.connect(socket_path=f"{self.config_dir}/{self.uuid}.socket")
File "/home/ubuntu/python-bluetooth-mesh/bluetooth_mesh/application.py", line 630, in connect
configuration = await self.attach(self.token_ring.token, **kwargs)
File "/home/ubuntu/python-bluetooth-mesh/bluetooth_mesh/application.py", line 858, in attach
path, configuration, sock = await self.network_interface.attach_unix(
File "/home/ubuntu/python-bluetooth-mesh/bluetooth_mesh/interfaces.py", line 373, in attach_unix
path, configuration = await self._interface.call_attach_unix(
AttributeError: 'ProxyInterface' object has no attribute 'call_attach_unix'. Did you mean: 'call_attach'?
Metadata
Metadata
Assignees
Labels
No labels