Closed zeenix closed 1 year ago
In GitLab by @jakobrs on Apr 16, 2022, 21:18
The object server is created because the service calls request_name
, which calls self.object_server()
on line 525 in connection.rs
.
This function call was introduced by https://gitlab.freedesktop.org/dbus/zbus/commit/47c084212fb7157f9a5a5595862f9769fa5f4cdd.
Right, thanks so much for investigating. I'll look into fixing it soon.
mentioned in commit 7e1788d219882b40b9d75c9f9f2c02007041988a
In GitLab by @jakobrs on Apr 16, 2022, 15:28
The issue
The documentation gives this as an example of how a basic dbus-based server might be implemented:
However, the attempting to make method calls to the dbus interface defined above results in an error, which will look something like this:
The issue is present with both the async and blocking versions of zbus's API, and has been reproduced using both
busctl --user call
andzbus::blocking::Connection::call_method
.