[Telepathy] Problems with text channel and Empathy

Krzysztof Klinikowski kkszysiu at gmail.com
Sun Jul 12 03:09:32 PDT 2009


Hello again. Now im implementing text channel into my telepathy-oxygen
(renamed from telepathy-tlen) CM but I have some problems with that. Im
creating new channel correctly I think but even with that conversation
window in Empathy doesnt appear. I dont know what Im doing wrong. Just
look:

Thats my debug backtrace:

2009-07-12 11:54:47+0200 [-] Connection - RequestChannel IN channel_type
- org.freedesktop.Telepathy.Channel.Type.Text, handle_type - 1
2009-07-12 11:54:47+0200 [-] Connection - _channel_get_or_create
2009-07-12 11:54:47+0200 [-] ConnectionManager - channel_new
2009-07-12 11:54:47+0200 [-] Connection - get_handle_obj - init
2009-07-12 11:54:47+0200 [-] Connection - get_handle_obj IN type - 1 id
- 3
2009-07-12 11:54:47+0200 [-] ConnectionManager - _channel_new_text
2009-07-12 11:54:47+0200 [-] Connection - get_handle_obj - init
2009-07-12 11:54:47+0200 [-] Connection - get_handle_obj IN type - 1 id
- 3
2009-07-12 11:54:47+0200 [-] Yes.. we have a contact there
2009-07-12 11:54:47+0200 [-] Connection - get_account_id  tlentestacc
2009-07-12 11:54:47+0200 [-] TextChannel - init
2009-07-12 11:54:47+0200 [-] GetContactAttributes
2009-07-12 11:54:47+0200 [-] 3
2009-07-12 11:54:47+0200 [-] GetContactAttributes
2009-07-12 11:54:47+0200 [-] 1
2009-07-12 11:54:47+0200 [-] Connection.check_handle 1 1 [(3, 2), (1,
3), (1, 4), (3, 8), (3, 9), (3, 6), (3, 7), (3, 5)]
2009-07-12 11:54:47+0200 [-] [<telepathy.server.handle.Handle object at
0x90c924c>, <tlen.server.HandleContact object at 0x90d15ac>,
<tlen.server.HandleContact object at 0x90d176c>,
<telepathy.server.handle.Handle object at 0x90d872c>,
<telepathy.server.handle.Handle object at 0x90d8e4c>,
<telepathy.server.handle.Handle object at 0x90d18ac>,
<telepathy.server.handle.Handle object at 0x90d1fec>,
<telepathy.server.handle.Handle object at 0x90b596c>]
2009-07-12 11:54:47+0200 [-] GetContactAttributes
2009-07-12 11:54:47+0200 [-] 3


Thats from dbus monitor (im getting that when Im opening new
conversation in Empathy):

method call sender=:1.155 -> dest=:1.190 serial=1302
path=/org/freedesktop/Telepathy/Connection/oxygen/tlen/tlentestacc;
interface=org.freedesktop.Telepathy.Connection; member=RequestChannel
   string "org.freedesktop.Telepathy.Channel.Type.Text"
   uint32 1
   uint32 3
   boolean true
signal sender=:1.190 -> dest=(null destination) serial=666
path=/org/freedesktop/Telepathy/Connection/oxygen/tlen/tlentestacc;
interface=org.freedesktop.Telepathy.Connection; member=NewChannel
   object path
"/org/freedesktop/Telepathy/Connection/oxygen/tlen/tlentestacc/channel20"
   string "org.freedesktop.Telepathy.Channel.Type.Text"
   uint32 1
   uint32 3
   boolean true
method call sender=:1.155 -> dest=:1.190 serial=1306
path=/org/freedesktop/Telepathy/Connection/oxygen/tlen/tlentestacc;
interface=org.freedesktop.Telepathy.Connection.Interface.Contacts;
member=GetContactAttributes
   array [
      uint32 3
   ]
   array [
      string "org.freedesktop.Telepathy.Connection.Interface.Aliasing"
      string
"org.freedesktop.Telepathy.Connection.Interface.SimplePresence"
   ]
   boolean true
method call sender=:1.155 -> dest=:1.190 serial=1307
path=/org/freedesktop/Telepathy/Connection/oxygen/tlen/tlentestacc;
interface=org.freedesktop.Telepathy.Connection; member=InspectHandles
   uint32 1
   array [
      uint32 3
   ]
method call sender=:1.155 -> dest=:1.190 serial=1309
path=/org/freedesktop/Telepathy/Connection/oxygen/tlen/tlentestacc;
interface=org.freedesktop.Telepathy.Connection.Interface.Contacts;
member=GetContactAttributes
   array [
      uint32 1
   ]
   array [
      string "org.freedesktop.Telepathy.Connection.Interface.Aliasing"
      string
"org.freedesktop.Telepathy.Connection.Interface.SimplePresence"
   ]
   boolean true
method call sender=:1.155 -> dest=:1.190 serial=1310
path=/org/freedesktop/Telepathy/Connection/oxygen/tlen/tlentestacc;
interface=org.freedesktop.Telepathy.Connection.Interface.Contacts;
member=GetContactAttributes
   array [
      uint32 3
   ]
   array [
      string "org.freedesktop.Telepathy.Connection.Interface.Aliasing"
      string
"org.freedesktop.Telepathy.Connection.Interface.SimplePresence"
   ]
   boolean true

and thats from Empathy when Im opening conversation:

(empathy:1190): GLib-CRITICAL **: g_hash_table_size: assertion
`hash_table != NULL' failed

(empathy:1190): GLib-GObject-WARNING **: instance of invalid
non-instantiatable type `(null)'

(empathy:1190): GLib-GObject-CRITICAL **: g_signal_handler_disconnect:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

Theres code of my CM:
http://github.com/kkszysiu/telepathy-oxygen/tree/master

Can anyone look at it, please?



More information about the telepathy mailing list