Skip to content

Trying to run monitor_record on Wayland #235

@korken89

Description

@korken89

Hi, thanks for making this library!

I've been trying to get screen recording working on Wayland, and if I run the monitor_record example I get the following error:

thread 'main' panicked at examples/monitor_record.rs:7:57:
called `Result::unwrap()` on an `Err` value: ZbusError(Variant(Message("Can only decode Option<T> from D-Bus format if `option-as-array` feature is enabled")))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Enabling that option in Cargo.toml gives the following error instead:

thread 'main' panicked at examples/monitor_record.rs:7:57:
called `Result::unwrap()` on an `Err` value: ZbusError(Variant(SignatureMismatch(Variant, "an array or dict")))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

How would I help in debug this issue here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions