- 
                Notifications
    You must be signed in to change notification settings 
- Fork 60
Open
Description
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:
File "C:\Users\.....py", line 37, in main
    bus = await MessageBus(bus_type=BusType.SYSTEM, bus_address=BUS_ADDRESS).connect()
  File "C:\python38\lib\site-packages\dbus_next\aio\message_bus.py", line 149, in connect
    await self._authenticate()
  File "C:\python38\lib\site-packages\dbus_next\aio\message_bus.py", line 382, in _authenticate
    first_line = self._auth._authentication_start(negotiate_unix_fd=self._negotiate_unix_fd)
  File "C:\python38\lib\site-packages\dbus_next\auth.py", line 62, in _authentication_start
    hex_uid = str(os.getuid()).encode().hex()
AttributeError: module 'os' has no attribute 'getuid'
I suspect dbus-next is not compatible with Windows.
Metadata
Metadata
Assignees
Labels
No labels