-
Notifications
You must be signed in to change notification settings - Fork 43
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
agama questions mode non-interactive
error: Unknown method SetInteractive
#709
Comments
in https://docs.rs/zbus/3.12.0/zbus/attr.dbus_proxy.html there is an example where you have to prefix #[dbus_proxy(...)]
trait SomeIface {
#[dbus_proxy(property)]
fn a_property(&self) -> fdo::Result<String>;
#[dbus_proxy(property)] // HERE!
fn set_a_property(&self, a_property: &str) -> fdo::Result<()>;
} our proxies.rs is missing those |
Bug is in xmlgen which does not add another property macro if property is rw https://github.com/dbus2/zbus/blob/main/zbus_xmlgen/src/lib.rs#L86 |
but also their tests contain same output, so we need to ensure what is proper output https://github.com/dbus2/zbus/blob/main/zbus_xmlgen/tests/data/sample_object0.rs#L24 |
…ractive` (#709) We want to access Interactive, a writable property. zbus-xmlgen generates a proxy for setting a writable property but forgets to mark it as a property, generating a method call instead
Fix Unknown method: SetInteractive for `agama questions mode non-interactive` (#709)
I assume this is fixed by #712. If not, please re-open. |
Our CLI calls a
org.opensuse.Agama.Questions1.SetInteractive
method on/org/opensuse/Agama/Questions1
but the actual API is anInteractive
property.It is declared so in the
proxies.rs
file.The text was updated successfully, but these errors were encountered: