You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./main.py", line 12, in <module>
print(proxy.ListInhibitions())
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
return self._get_method_reply(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
return self._handle_method_error(error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 518, in _handle_method_error
raise error
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 480, in _get_method_reply
result = call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 57, in sync_call
return connection.call_sync(
^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-io-error-quark: Method “ListInhibitions” returned type “(a(ss))”, but expected “(a{ss})” (13)
The text was updated successfully, but these errors were encountered:
I'm sure I'm doing something wrong but I can't figure it out. Is there some way for me to override the "expected" return type that I'm overlooking?
I'm on Arch Linux with dasbus installed through pacman.
This is my script
I'm expecting to get a printout something like what dbus-send returns (my KDE dbus command is in the python file)
Instead I'm getting this error:
The text was updated successfully, but these errors were encountered: