Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

MC-Client error "No Requests Interface", when Conn.I.Requests is implemented

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


scifi1947 at gmail

Jul 25, 2010, 3:38 PM

Post #1 of 6 (348 views)
Permalink
MC-Client error "No Requests Interface", when Conn.I.Requests is implemented

Hi,

I am working on a connection manager for N900 using Telepathy-Qt4 bindings. This
is for tel protocol (based on telepathy-ring).

The Connection manager is registered as service on session bus and the
connection is available. When I try to initiate a new call (channel), I get the
error "No Requests Interface" in the Dbus log. But my connection object did
implement org.freedesktop.Telepathy.Connection.Interface.Requests interface. I
verified this by running introspect command on Connection object and it includes
requests interface. I have attached the dbus monitor log [1] and introspect
output [2].

What am I doing wrong here? Do I need to implement any other interfaces for
Maemo? Let me know if you need me to post the code.

[1] - Dbus Monitor Log - http://pastebin.com/VTgKWqdP
[2] - Introspect Command Ouput - http://pastebin.com/cKGzGgrw

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


felipe at crochik

Jul 25, 2010, 7:26 PM

Post #2 of 6 (324 views)
Permalink
Re: MC-Client error "No Requests Interface", when Conn.I.Requests is implemented [In reply to]

Sudheer,
Check my last posts on the tor thread and maemo.crochik.com... I think you will find what you need to get you going... The basics to place calls and/or send text messages with telepathy are there.
Felipe

----- Original message -----
> Hi,
>
> I am working on a connection manager for N900 using Telepathy-Qt4
> bindings. This is for tel protocol (based on telepathy-ring).
>
> The Connection manager is registered as service on session bus and the
> connection is available. When I try to initiate a new call (channel), I
> get the error "No Requests Interface" in the Dbus log. But my connectionp
> object did implement
> org.freedesktop.Telepathy.Connection.Interface.Requests interface. I
> verified this by running introspect command on Connection object and it
> includes requests interface. I have attached the dbus monitor log [1]
> and introspect output [2].
>
> What am I doing wrong here? Do I need to implement any other interfaces
> for Maemo? Let me know if you need me to post the code.
>
> [1] - Dbus Monitor Log - http://pastebin.com/VTgKWqdP
> [2] - Introspect Command Ouput - http://pastebin.com/cKGzGgrw
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers


scifi1947 at gmail

Jul 25, 2010, 8:44 PM

Post #3 of 6 (330 views)
Permalink
Re: MC-Client error " No Requests Interface" , when Conn.I.Requests is implemented [In reply to]

Felipe Crochik <felipe <at> crochik.com> writes:

>
>
> Sudheer,
> Check my last posts on the tor thread and maemo.crochik.com... I think you
>will find what you need to get you going... The basics to place calls and/or
>send text messages with telepathy are there.
> Felipe

Hey Felipe,

In your case you are initiating calls through the account manager using your
code. But I created a new connection manager similar to spirit and ring (but lot
simple though). Users will be initiating calls from the address book. Internally
mission control would send the channel request to the connection object. This is
where I get the error.

~Sudheer

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


mardy at users

Jul 25, 2010, 11:48 PM

Post #4 of 6 (323 views)
Permalink
Re: MC-Client error "No Requests Interface", when Conn.I.Requests is implemented [In reply to]

Sudheer K wrote:
> Hi,
>
> I am working on a connection manager for N900 using Telepathy-Qt4 bindings. This
> is for tel protocol (based on telepathy-ring).
>
> The Connection manager is registered as service on session bus and the
> connection is available. When I try to initiate a new call (channel), I get the
> error "No Requests Interface" in the Dbus log. But my connection object did
> implement org.freedesktop.Telepathy.Connection.Interface.Requests interface. I
> verified this by running introspect command on Connection object and it includes
> requests interface. I have attached the dbus monitor log [1] and introspect
> output [2].
>
> What am I doing wrong here? Do I need to implement any other interfaces for
> Maemo? Let me know if you need me to post the code.
>
> [1] - Dbus Monitor Log - http://pastebin.com/VTgKWqdP
> [2] - Introspect Command Ouput - http://pastebin.com/cKGzGgrw

Implementing the interface is not enough; you also need to declare your
interface in the org.freedesktop.Telepathy.Connection.Interfaces property:

http://telepathy.freedesktop.org/spec/Connection.html#org.freedesktop.Telepathy.Connection.Interfaces

Ciao,
Alberto

--
http://blog.mardy.it <-- geek in un lingua international!
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


scifi1947 at gmail

Jul 26, 2010, 10:05 AM

Post #5 of 6 (319 views)
Permalink
Re: MC-Client error &quot; No Requests Interface&quot; , when Conn.I.Requests is implemented [In reply to]

Alberto Mardegan <mardy <at> users.sourceforge.net> writes:

> Implementing the interface is not enough; you also need to declare your
> interface in the org.freedesktop.Telepathy.Connection.Interfaces property:
>
>
http://telepathy.freedesktop.org/spec/Connection.html#org.freedesktop.Telepathy.Connection.Interfaces
>
> Ciao,
> Alberto
>

Hi Alberto,

I was just implementing GetInterfaces() method not the Interfaces property. Will
try that today. Thanks for the info.

~Sudheer

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


scifi1947 at gmail

Jul 26, 2010, 10:44 PM

Post #6 of 6 (309 views)
Permalink
Re: MC-Client error &amp; quot; No Requests Interface&amp;quot; , when Conn.I.Requests is implemented [In reply to]

> Alberto Mardegan <mardy <at> users.sourceforge.net> writes:
>
> > Implementing the interface is not enough; you also need to declare your
> > interface in the org.freedesktop.Telepathy.Connection.Interfaces property:
> >
> >
>
http://telepathy.freedesktop.org/spec/Connection.html#org.freedesktop.Telepathy.Connection.Interfaces
> >
> > Ciao,
> > Alberto
> >
>


Declaring org.freedesktop.Telepathy.Connection.Interfaces property and assigning
the value "org.freedesktop.Telepathy.Connection.Interface.Requests" to it fixed
the error. Thanks Alberto!

~Sudheer

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.