-
Notifications
You must be signed in to change notification settings - Fork 59
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
Does dbus-next work in Windows? #157
Comments
https://docs.python.org/3/library/os.html#os.getuid : Availability: Unix. Hence NO, indeed. |
I have dbus-next working on Windows. I needed to override the default asyncio loop policy, create an external authenticator, and then ensure that the first address in DBUS_SESSION_BUS_ADDRESS was a tcp loopback. That's not nothing but it works fine once set up. The policy is set thusly:
This works as an authenticator:
Which you pass into dbus-next thusly: |
Fortunately that method is only accessed from the AuthExternal class which you have to replace for Windows anyway. |
I have installed Python 3.8 on my Windows 10 computer. I installed successfully dbus-next with pip, but I wasn't able to run a working application.
After launching dbus-daemon.exe and setting a suitable bus address for windows ("tcp:host=localhost,port=124342"), now I receive this error:
I suspect dbus-next is not compatible with Windows.
The text was updated successfully, but these errors were encountered: