Skip to content

Can't find adaptor #1

@ajlennon

Description

@ajlennon

Hi there,

Looks like a great tool! I'm just having a play trying to get it installed up on Ubuntu 24.04

I built the Debian package and it installed the service but when I try to run up the service I am getting an error about not finding the bluetooth adaptor. hci0 is present and available though

Any thoughts? Thanks! :)

Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core systemd[1]: Started r3onboard.service - Remote.it Onboard Tool.
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]: 2024-09-12 18:50:41,777 - INFO - Starting Onboard Server...
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]: Traceback (most recent call last):
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "<frozen runpy>", line 198, in _run_module_as_main
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "<frozen runpy>", line 88, in _run_code
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/r3onboard/__main__.py", line 9, in <module>
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     main()
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/r3onboard/__main__.py", line 5, in main
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     app()
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/r3onboard/ble_server.py", line 483, in app
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     asyncio.run(main())
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     return runner.run(main)
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:            ^^^^^^^^^^^^^^^^
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     return self._loop.run_until_complete(task)
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     return future.result()
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:            ^^^^^^^^^^^^^^^
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/r3onboard/ble_server.py", line 460, in main
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     await server.start()
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/r3onboard/ble_server.py", line 326, in start
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     await self.setup_gatt_server()
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/r3onboard/ble_server.py", line 323, in setup_gatt_server
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     await self.server.add_gatt(gatt)
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/bless/backends/server.py", line 222, in add_gatt
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     await self.add_new_service(service_uuid)
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/bless/backends/bluezdbus/server.py", line 146, in add_new_service
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     await self.setup_task
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/bless/backends/bluezdbus/server.py", line 65, in setup
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     potential_adapter: Optional[ProxyObject] = await get_adapter(
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:                                                ^^^^^^^^^^^^^^^^^^
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/bless/backends/bluezdbus/dbus/utils.py", line 79, in get_adapter
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     adapter_path: str = await find_adapter(
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:                         ^^^^^^^^^^^^^^^^^^^
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:   File "/opt/r3onboard/venv/lib/python3.12/site-packages/bless/backends/bluezdbus/dbus/utils.py", line 59, in find_adapter
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]:     raise Exception(f"No adapter named {adapter} found")
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core python3[2467814]: Exception: No adapter named hci0 found
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core systemd[1]: r3onboard.service: Main process exited, code=exited, status=1/FAILURE
Sep 12 18:50:41 ajlennon-Laptop-12th-Gen-Intel-Core systemd[1]: r3onboard.service: Failed with result 'exit-code'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions