unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [dbus] type errors
@ 2012-12-03 17:59 Lluís
  2012-12-03 18:51 ` Michael Albinus
  0 siblings, 1 reply; 11+ messages in thread
From: Lluís @ 2012-12-03 17:59 UTC (permalink / raw)
  To: emacs-devel

Hi there,

I've been trying to register a dbus method which is supposed to return a list of
elements with the following dbus signature: sssbxxa{sv} (method "GetEvents" in
"org.gnome.Shell.CalendarServer").

When returning the results, a backtrace pops up with the following error for
the "b" argument):

    Debugger entered--Lisp error: (wrong-type-argument D-Bus 63490176000)
      dbus-message-internal(2 :session ":1.15" 18130 ...)
      apply(dbus-message-internal 2 :session ":1.15" 18130 (...))
      dbus-method-return-internal(:session ":1.15" 18130 ...)
      apply(dbus-method-return-internal :session ":1.15" 18130 (...))

And for the "x" argument:

     (wrong-type-argument D-Bus 63490176000)

According to the docs in `dbus', these objects should be automatically
translated to their dbus counterparts (at least on `dbus-call-method').

Any ideas?

Thanks,
  Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-12-05 11:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-03 17:59 [dbus] type errors Lluís
2012-12-03 18:51 ` Michael Albinus
2012-12-03 21:18   ` Lluís
2012-12-03 21:38     ` Michael Albinus
2012-12-04 11:21     ` Michael Albinus
2012-12-04 13:09       ` Broken build with --with-x-toolkit=no? Dmitry Antipov
2012-12-04 17:47         ` Eli Zaretskii
2012-12-04 20:43         ` Paul Eggert
2012-12-04 21:41       ` [dbus] type errors Lluís
2012-12-05  7:25         ` Michael Albinus
2012-12-05 11:55           ` Lluís

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).