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

Example accessing exported objects doesn't work #99

Open
Paippi opened this issue Nov 30, 2021 · 0 comments
Open

Example accessing exported objects doesn't work #99

Paippi opened this issue Nov 30, 2021 · 0 comments

Comments

@Paippi
Copy link

Paippi commented Nov 30, 2021

Hey,

I'm getting error trying to follow the accessing exported object guide.

I get an KeyError: 'object does not export any interfaces; you might need to pass object path as the 2nd argument for get()'

python verson: 3.9.9

Content of pip freeze

dbus-python==1.2.18
pgi==0.0.11.2
pycairo==1.20.1
pydbus==0.6.0
PyGObject==3.42.0

I'm using kernel 5.15.3-arch1-1 if that helps.

Steps to produce:

from pydbus import SystemBus
bus = SystemBus()
proxy = bus.get('org.freedesktop.NetworkManager',
                       '/org/freedesktop/NetworkManager/Devices/0')
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