-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
Description
running the following code:
from dbus_next.aio import MessageBus
from dbus_next import BusType, Message
import asyncio
loop = asyncio.get_event_loop()
async def main():
bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
introspection = await bus.introspect('org.bluez', '/org/bluez')
db = bus.get_proxy_object('org.bluez', '/org/freedesktop/DBus', introspection.default())
object_manager = db.get_interface('org.freedesktop.DBus.ObjectManager')
objects = await object_manager.call_get_managed_objects()
await loop.create_future()
loop.run_until_complete(main())
generates a signature error: dbus_next.errors.DBusError: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist
Am I calling this incorrectly?