Subject: | 'h' type not supported |
When trying to access systemd-logind over DBus, the module dies with
"unknown type sig 'h'".
$ perl -MNet::DBus -e '$fd = Net::DBus->system-
Show quoted text
>get_service("org.freedesktop.login1")-
>get_object("/org/freedesktop/login1")->Inhibit("idle", "test", "test",
"delay");'
unknown type sig 'h' at
/usr/lib/perl5/vendor_perl/Net/DBus/Binding/Introspector.pm line 810.
The API is documented at:
http://www.freedesktop.org/wiki/Software/systemd/inhibit
In the DBus specification, 'h' represents a file descriptor:
UNIX_FD – 104 (ASCII 'h') – Unix file descriptor
http://dbus.freedesktop.org/doc/dbus-specification.html#message-
protocol-signatures
- perl v5.16.0 x86_64-linux-thread-multi (Arch Linux)
- perl-net-dbus 1.0.0