LEW21 / pydbus

Pythonic DBus library
GNU Lesser General Public License v2.1
327 stars 76 forks source link

Can I use pydbus to emit a signal on Ubuntu 14.04.5? #48

Closed SteveKier closed 6 years ago

SteveKier commented 7 years ago

I'm trying to send/emit a signal. I've tried to follow the example from here (referring to the syntax notes here), and so far can't get it to behave.

Things break when I call bus.publish(). I get this Exception:

Exception: GLib 2.46 is required to publish objects; it is impossible in older versions.

My environment:

Am I missing something obvious? For instance, am I mistaken to think I need to publish the class/interface? But if I don't publish it, how does it get associated with the right bus? (BTW, I need to be on the system bus.)

So, what does anyone think?

What advice does anyone have?

Thank you,

Steve