Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tigerinus opened this issue Jul 13, 2022 · 0 comments
Open

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

tigerinus opened this issue Jul 13, 2022 · 0 comments

Comments

@tigerinus
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant