dbus-python: Doesn't work with integers?

Martin Vidner mvidner at suse.cz
Mon Jun 22 02:13:52 PDT 2009


On Sat, Jun 20, 2009 at 10:11:02PM +0200, Lukas Hetzenecker wrote:
> The method HelloWorld works, but Contacts does not. I always get this error 
> message if I use qdbusviewer to test this demo:
> 
> Unable to find method Contacts on path /Series60Remote in interface 
> net.sourceforge.series60remote

That looks like a problem of qdbusviewer. dbus-send and kdbus call
the method just fine.

$ dbus-send --session --type=method_call --print-reply --dest=net.sourceforge.series60remote /Series60Remote net.sourceforge.series60remote.Contacts
method return sender=:1.114 -> dest=:1.120 reply_serial=2
   array [
      int32 1
      int32 2
      int32 3
      int32 4
   ]

Also:
$ qdbus net.sourceforge.series60remote /Series60Remote net.sourceforge.series60remote.Contacts
qdbus: I don't know how to display an argument of type 'ai'

-- 
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu


More information about the dbus mailing list