Skip to content

InvalidAddressError upon MessageBus().connect()? #124

Open

Description

@tigerinus
from dbus_next.aio import MessageBus

import asyncio

loop = asyncio.get_event_loop()

async def main():
    bus = await MessageBus().connect()

loop.run_until_complete(main())

First time using this library. Tried the example code above and got

Exception has occurred: InvalidAddressError
address option did not contain a value

I double checked dbus daemon is running:

$ service --status-all
 [ + ]  acpid
 [ - ]  anacron
 [ + ]  avahi-daemon
 [ - ]  console-setup.sh
 [ + ]  cron
 [ + ]  dbus
 [ + ]  docker
 [ - ]  grub-common
 [ - ]  hwclock.sh
 [ + ]  irqbalance
 [ + ]  kerneloops
 [ - ]  keyboard-setup.sh
 [ + ]  kmod
 [ + ]  procps
 [ - ]  rsync
 [ + ]  smartmontools
 [ + ]  ssh
 [ + ]  udev
 [ - ]  uuidd

Any clue what's going on here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions