Bug 29544

Summary: Can't request tube with tp_account_channel_request_create_and_handle_channel_async
Product: Telepathy Reporter: Danielle Madeley <danielle>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTOURBUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: guillaume.desmottes
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Danielle Madeley 2010-08-12 20:57:01 UTC
Get this when requesting a DBusTube with create_and_handle:

** ERROR **: ERROR: We are supposed to handle only one channel

It looks like I'm also getting passed the legacy tube too:

method call sender=:1.20 -> dest=org.freedesktop.Telepathy.Client.TpGLibRequestAndHandle._3a1_2e347.n0 serial=4513 path=/org/freedesktop/Telepathy/Client/TpGLibRequestAndHandle/_3a1_2e347/n0; interface=org.freedesktop.Telepathy.Client.Handler; member=HandleChannels
   object path "/org/freedesktop/Telepathy/Account/gabble/jabber/danielle_2emadeley_40collabora_2eco_2euk0"
   object path "/org/freedesktop/Telepathy/Connection/gabble/jabber/danielle_2emadeley_40collabora_2eco_2euk_2fe850acef"
   array [
      struct {
         object path "/org/freedesktop/Telepathy/Connection/gabble/jabber/danielle_2emadeley_40collabora_2eco_2euk_2fe850acef/DBusTubeChannel_1_2070170982"
         array [
            dict entry(
               string "org.freedesktop.Telepathy.Channel.InitiatorID"
               variant                   string "test@conference.collabora.co.uk/Danielle Madeley"
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.TargetHandleType"
               variant                   uint32 2
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.TargetHandle"
               variant                   uint32 1
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.TargetID"
               variant                   string "test@conference.collabora.co.uk"
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.Type.DBusTube.SupportedAccessControls"
               variant                   array [
                     uint32 3
                     uint32 0
                  ]
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.Requested"
               variant                   boolean true
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.Type.DBusTube.ServiceName"
               variant                   string "com.example.Telepathy.DbusTube"
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.ChannelType"
               variant                   string "org.freedesktop.Telepathy.Channel.Type.DBusTube"
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.InitiatorHandle"
               variant                   uint32 83
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.Interfaces"
               variant                   array [
                     string "org.freedesktop.Telepathy.Channel.Interface.Group"
                     string "org.freedesktop.Telepathy.Channel.Interface.Tube"
                  ]
            )
         ]
      }
      struct {
         object path "/org/freedesktop/Telepathy/Connection/gabble/jabber/danielle_2emadeley_40collabora_2eco_2euk_2fe850acef/MucTubesChannel1"
         array [
            dict entry(
               string "org.freedesktop.Telepathy.Channel.InitiatorID"
               variant                   string "danielle.madeley@collabora.co.uk"
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.TargetHandleType"
               variant                   uint32 2
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.TargetHandle"
               variant                   uint32 1
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.TargetID"
               variant                   string "test@conference.collabora.co.uk"
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.Requested"
               variant                   boolean false
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.ChannelType"
               variant                   string "org.freedesktop.Telepathy.Channel.Type.Tubes"
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.InitiatorHandle"
               variant                   uint32 1
            )
            dict entry(
               string "org.freedesktop.Telepathy.Channel.Interfaces"
               variant                   array [
                     string "org.freedesktop.Telepathy.Channel.Interface.Group"
                  ]
            )
         ]
      }
   ]
   array [
      object path "/com/nokia/MissionControl/requests/r13"
   ]
   uint64 9223372036854775807
   array [
   ]
Comment 1 Simon McVittie 2010-08-13 03:01:35 UTC
(In reply to comment #0)
> Get this when requesting a DBusTube with create_and_handle:
> 
> ** ERROR **: ERROR: We are supposed to handle only one channel

That's bug #25533 in Gabble, which is fixed in git but not in a release (we should release 0.9.16 soon). It shouldn't g_error(), though.
Comment 2 Simon McVittie 2010-09-13 03:25:35 UTC
(In reply to comment #1)
> That's bug #25533 in Gabble, which is fixed in git but not in a release

Fixed in Gabble 0.9.16, NOTOURBUG for telepathy-glib.

> It shouldn't g_error(), though.

account-channel-request.c doesn't; presumably your client code did? Also NOTOURBUG.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.