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

D-feet can't call mowedline methods #21

Open
ryuslash opened this issue Nov 11, 2016 · 0 comments
Open

D-feet can't call mowedline methods #21

ryuslash opened this issue Nov 11, 2016 · 0 comments

Comments

@ryuslash
Copy link
Collaborator

D-feet can list the interfaces, paths and methods that mowedline exposes, but trying to call any of the methods results in the application freezing for a few moments and eventually saying a timeout was reached. This goes for all the methods mowedline exposes.

I't not the method implementations because mowedline itself works fine of course and also using dbus-send works fine. For example, having started mowedline as:

./mowedline -q -text-widget foo -window

And calling dbus-send as:

dbus-send --print-reply --session --dest=net.retroj.mowedline /net/retroj/mowedline net.retroj.mowedline.update string:foo string:bar

Will correctly show "bar" in the mowedline window.

Looking at dbus-monitor, when calling any method, the org.freedesktop.DBus.Properties.GetAll method is called before the method I'm trying to execute. Mowedline doesn't implement this interface, nor can it because the dbus egg only supports the int32, double, boolean, array and string types (according to the docs), and the GetAll method returns a dict<string,variant>. The dbus egg also doesn't seem to support raising a dbus error, which I see some other services do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants