death / dbus

A D-BUS client library for Common Lisp
BSD 2-Clause "Simplified" License
44 stars 29 forks source link

Failure to load logind introspection document #11

Closed eadmund closed 8 years ago

eadmund commented 8 years ago

(let ((path (format nil "/org/freedesktop/login1/session/~a" (sb-ext:posix-getenv "XDG_SESSION_ID")))) (with-open-bus (bus (system-server-addresses)) (with-introspected-object (session bus path "org.freedesktop.login1"))))

Results in an error from XSPAM: expected one of {:|arg| }, got :end-document nil nil nil. This is caused by the fact that Lock and Unlock do not have any dbus arguments, but PARSE-INTROSPECTION-DOCUMENT requires them.

eadmund commented 8 years ago

12 fixes this.