#10738 NORM 11.2.0-: Salut: when joining a shared activity an invitation palette is added

Zarro Boogs per Child bugtracker at laptop.org
Wed Mar 30 14:48:26 EDT 2011


#10738: Salut: when joining a shared activity an invitation palette is added
--------------------------------+-------------------------------------------
           Reporter:  erikos    |       Owner:  erikos                           
               Type:  defect    |      Status:  new                              
           Priority:  normal    |   Milestone:  11.2.0-M4                        
          Component:  sugar     |     Version:  Development build as of this date
         Resolution:            |    Keywords:  collaboration                    
        Next_action:  diagnose  |    Verified:  0                                
Deployment_affected:            |   Blockedby:                                   
           Blocking:            |  
--------------------------------+-------------------------------------------

Comment(by erikos):

 Here is the steps to split this up, two XOs connected to Ad-hoc network,
 machine A inviter, machine B the receiver:

 - A,B: connect to Ad-hoc network 1

 - A: open Memorize

 - A: invite B to the Memorize activity

 The log on B will be:
 {{{
 1301412603.016325 DEBUG root: AddDispatchOperation
 dbus.Array([dbus.Struct((dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/salut/local_xmpp/erikos_2db/MucChannel/1'),
 dbus.Dictionary({dbus.String(u'org.freedesktop.Telepathy.Channel.TargetID'):
 dbus.String(u'a92bb71d30440510dc9f1b09eb9cc2043073364c', variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Interfaces'):
 dbus.Array([dbus.String(u'org.freedesktop.Telepathy.Channel.Interface.Group'),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Interface.Messages')],
 signature=dbus.Signature('s'), variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.ChannelType'):
 dbus.String(u'org.freedesktop.Telepathy.Channel.Type.Text',
 variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.TargetHandleType'):
 dbus.UInt32(2L, variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.InitiatorHandle'):
 dbus.UInt32(4L, variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.TargetHandle'):
 dbus.UInt32(1L, variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.InitiatorID'):
 dbus.String(u'erikos-o at xo-3b-35-8a', variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Requested'):
 dbus.Boolean(False, variant_level=1)}, signature=dbus.Signature('sv'))),
 signature=None)], signature=dbus.Signature('(oa{sv})'))
 dbus.ObjectPath('/org/freedesktop/Telepathy/DispatchOperation/do3')
 dbus.Dictionary({dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation.PossibleHandlers'):
 dbus.Array([dbus.String(u'org.freedesktop.Telepathy.Client.Empathy'),
 dbus.String(u'org.freedesktop.Telepathy.Client.Sugar')],
 signature=dbus.Signature('s'), variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation.Interfaces'):
 dbus.Array([dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation')],
 signature=dbus.Signature('s'), variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation.Connection'):
 dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/salut/local_xmpp/erikos_2db',
 variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation.Account'):
 dbus.ObjectPath('/org/freedesktop/Telepathy/Account/salut/local_xmpp/account0',
 variant_level=1)}, signature=dbus.Signature('sv'))
 1301412603.019675 DEBUG root: __got_dispatch_operation_cb
 1301412603.020246 DEBUG root: May be an activity, checking its properties
 1301412603.041582 DEBUG root: _Account._update_buddy_activities
 1301412603.042617 DEBUG root: __activity_added_cb dbus.UInt32(1L)
 dbus.String(u'a92bb71d30440510dc9f1b09eb9cc2043073364c')
 1301412603.050410 DEBUG root: _Account.__got_activities_cb dbus.UInt32(1L,
 variant_level=1) dbus.Array([], signature=dbus.Signature('(su)'))
 1301412603.051067 DEBUG root: _Account._update_buddy_activities
 1301412603.079614 DEBUG root: _Account.__get_properties_cb dbus.UInt32(1L)
 dbus.Dictionary({dbus.String(u'color'): dbus.String(u'#FF8F00,#00588C',
 variant_level=1), dbus.String(u'type'):
 dbus.String(u'org.laptop.Memorize', variant_level=1),
 dbus.String(u'name'): dbus.String(u'Memorize Activity', variant_level=1),
 dbus.String(u'private'): dbus.Boolean(True, variant_level=1)},
 signature=dbus.Signature('sv'))
 1301412603.085834 DEBUG root: __activity_updated_cb
 dbus.String(u'a92bb71d30440510dc9f1b09eb9cc2043073364c')
 dbus.Dictionary({dbus.String(u'color'): dbus.String(u'#FF8F00,#00588C',
 variant_level=1), dbus.String(u'type'):
 dbus.String(u'org.laptop.Memorize', variant_level=1),
 dbus.String(u'name'): dbus.String(u'Memorize Activity', variant_level=1),
 dbus.String(u'private'): dbus.Boolean(True, variant_level=1)},
 signature=dbus.Signature('sv'))
 1301412603.155330 DEBUG root: FriendsTray.__neighborhood_activity_added_cb
 1301412603.256118 DEBUG root: FriendsTray._set_current_activity
 1301412603.312604 DEBUG root: _Account.__get_current_activity_cb
 dbus.UInt32(4L) dbus.String(u'') dbus.UInt32(0L)
 1301412603.313638 DEBUG root: __current_activity_updated_cb
 dbus.String(u'erikos-o at xo-3b-35-8a', variant_level=1) dbus.String(u'')
 1301412603.314560 DEBUG root: MeshBox.__buddy_notify_current_activity_cb
 None
 1301412603.317319 DEBUG root: __get_properties_cb
 dbus.Dictionary({dbus.String(u'color'): dbus.String(u'#FF8F00,#00588C',
 variant_level=1), dbus.String(u'type'):
 dbus.String(u'org.laptop.Memorize', variant_level=1),
 dbus.String(u'name'): dbus.String(u'Memorize Activity', variant_level=1),
 dbus.String(u'private'): dbus.Boolean(True, variant_level=1)},
 signature=dbus.Signature('sv'))
 1301412603.318157 DEBUG root: _add_invite
 dbus.ObjectPath('/org/freedesktop/Telepathy/DispatchOperation/do3')
 dbus.UInt32(1L, variant_level=1)
 u'org.freedesktop.Telepathy.Client.org.laptop.Memorize'
 }}}

 - on B click in the icon in the activity frame

 The log on B will be:
 {{{
 1301413197.656145 DEBUG root: AddDispatchOperation
 dbus.Array([dbus.Struct((dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/salut/local_xmpp/erikos_2db/DBusTubeChannel_1_799121980'),
 dbus.Dictionary({dbus.String(u'org.freedesktop.Telepathy.Channel.ChannelType'):
 dbus.String(u'org.freedesktop.Telepathy.Channel.Type.DBusTube',
 variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Type.DBusTube.ServiceName'):
 dbus.String(u'org.laptop.Memorize', variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Interfaces'):
 dbus.Array([dbus.String(u'org.freedesktop.Telepathy.Channel.Interface.Group'),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Interface.Tube')],
 signature=dbus.Signature('s'), variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Interface.Tube.Parameters'):
 dbus.Dictionary({}, signature=dbus.Signature('sv'), variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.TargetID'):
 dbus.String(u'a92bb71d30440510dc9f1b09eb9cc2043073364c', variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.TargetHandleType'):
 dbus.UInt32(2L, variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.InitiatorHandle'):
 dbus.UInt32(4L, variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.TargetHandle'):
 dbus.UInt32(1L, variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.InitiatorID'):
 dbus.String(u'erikos-o at xo-3b-35-8a', variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Requested'):
 dbus.Boolean(False, variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.Channel.Type.DBusTube.SupportedAccessControls'):
 dbus.Array([dbus.UInt32(3L), dbus.UInt32(0L)],
 signature=dbus.Signature('u'), variant_level=1)},
 signature=dbus.Signature('sv'))), signature=None)],
 signature=dbus.Signature('(oa{sv})'))
 dbus.ObjectPath('/org/freedesktop/Telepathy/DispatchOperation/do5')
 dbus.Dictionary({dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation.PossibleHandlers'):
 dbus.Array([dbus.String(u'org.freedesktop.Telepathy.Client.Sugar')],
 signature=dbus.Signature('s'), variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation.Interfaces'):
 dbus.Array([dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation')],
 signature=dbus.Signature('s'), variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation.Connection'):
 dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/salut/local_xmpp/erikos_2db',
 variant_level=1),
 dbus.String(u'org.freedesktop.Telepathy.ChannelDispatchOperation.Account'):
 dbus.ObjectPath('/org/freedesktop/Telepathy/Account/salut/local_xmpp/account0',
 variant_level=1)}, signature=dbus.Signature('sv'))
 1301413197.672114 DEBUG root: __got_dispatch_operation_cb
 1301413197.672761 DEBUG root: Adding an invite from a non-Sugar client
 1301413197.673204 DEBUG root: _add_invite
 dbus.ObjectPath('/org/freedesktop/Telepathy/DispatchOperation/do5')
 dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/salut/local_xmpp/erikos_2db/DBusTubeChannel_1_799121980')
 dbus.String(u'org.laptop.Memorize', variant_level=1)
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/10738#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list