[Telepathy] tp_account_manager_dup() returns null
sanjay.ankur at gmail.com
Thu Sep 1 12:09:42 PDT 2011
I'm a newbie at telepathy-glib. I'm trying to write a program that sends
mpd song status to Empathy. The current source can be found here
I'm having some trouble with the "setting presence in Empathy" bit.
The related source files are and .
The tp_account_manager_dup method returns null causing the prepare_async
etc methods to fail. Can someone please have a peek and suggest
corrections to my code?
I get the following when I run my code:
> [ankur at ankur mpdE]$ ./src/mpde
> Damn! it's null
> (process:3368): tp-glib-CRITICAL **: tp_proxy_prepare_async: assertion `TP_IS_PROXY (self)' failed
> (process:3368): tp-glib-CRITICAL **: tp_account_manager_set_all_requested_presences: assertion `TP_IS_ACCOUNT_MANAGER (manager)' failed
To try the code out, please clone the git repo (it's really tiny), and
run ./configure && make
The executable will be ./src/mpde
More information about the telepathy