From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Llu=C3=ADs?= Newsgroups: gmane.emacs.devel Subject: [dbus] type errors Date: Mon, 03 Dec 2012 12:59:02 -0500 Message-ID: <87pq2rkoex.fsf@fimbulvetr.bsc.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354557561 22656 80.91.229.3 (3 Dec 2012 17:59:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2012 17:59:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 18:59:33 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TfaIh-00050A-OB for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2012 18:59:27 +0100 Original-Received: from localhost ([::1]:40388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfaIV-0004Nv-Vl for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2012 12:59:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfaIO-0004Ml-Et for emacs-devel@gnu.org; Mon, 03 Dec 2012 12:59:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfaIN-0005YR-Ct for emacs-devel@gnu.org; Mon, 03 Dec 2012 12:59:08 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:54472) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TfaIN-0005YG-1u for emacs-devel@gnu.org; Mon, 03 Dec 2012 12:59:07 -0500 Original-Received: (qmail invoked by alias); 03 Dec 2012 17:59:04 -0000 Original-Received: from ool-43577409.dyn.optonline.net (EHLO localhost) [67.87.116.9] by mail.gmx.net (mp024) with SMTP; 03 Dec 2012 18:59:04 +0100 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX18I1ut6Z9kI8gdUyJQeSlseeu4WgSLrpmUYFztBNr 3BxuH388330Fh2 Mail-Followup-To: emacs-devel@gnu.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155197 Archived-At: 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