Re: libseed-list dbus method calls do not return any values




On Tue, 2011-01-04 at 22:35 +0800, Alan Knowles wrote:
> I ran those two here
> 
> python dbus_test.py 
> Hello from Sender :1.127 over DBUS
> Calling the values over DBUS
> Calling the values over DBUS

this indicates that the calls from the seed script are received by the
remote dbus object 
> 
> seed dbus_test.js 
> Message from Test >> TEST
> Message from Test >> TEST
> Message from Test >> TEST
> 
this indicates that the seed script is correctly listening to the signal
sent by the remote dbus object and receives the message.

> Is there something else I'm supposed to get?

yes you are supposed to get the return values according to the
outSignature 'as', in this case the simple array of strings:
["abcdef", "this is a test", "calling over dbus"] which the seed script
does not receive





> 
> Regards
> Alan
>  
> 
>  --- On 03/Jan/2011, tomw wrote: 
> > Hi, I've been working with seed and dbus recently and after some initial
> > hickups with the GIR-files [1] I managed to get it up and running. So
> > far connecting to signals works fine, including the proper delivery of
> > return values. Calling remote methods works as well - however no return
> > values are provided and the seed function calls do not return. For test
> > purposes see the seed test [2] and the remote python object [3].
> > 
> > Any idea, how to get the return values working?
> > 
> > [1]
> > http://mail.gnome.org/archives/libseed-list/2010-December/msg00029.html
> > 
> > [2] http://pastebin.com/MXQwj4aF
> > [3] http://pastebin.com/eGHKT1jT     
> > 
> > best, tomw
> > 
> > _______________________________________________
> > libseed-list mailing list
> > libseed-list gnome org
> > http://mail.gnome.org/mailman/listinfo/libseed-list
> 
> _______________________________________________
> libseed-list mailing list
> libseed-list gnome org
> http://mail.gnome.org/mailman/listinfo/libseed-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]