[Bugs] #1549 UNSP: Collaboration faults when resuming and then stopping a shared activity before connections are sucessfull

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Nov 11 22:26:17 EST 2009


#1549: Collaboration faults when resuming and then stopping a shared activity
before connections are sucessfull
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  tomeu      
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88       
   Component:  sugar                      |        Version:  0.86.x     
    Severity:  Critical                   |       Keywords:             
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
 When joining a shared activity, if you "Stop" before sharing is
 successfully established, the sharing process seems to carry on in the
 background and connect even though the activity is no longer running.
 Other users will now see you as sharing the activity in their
 neighbourhoods; other users already in the activity will see you 'join'
 and appear in their frames; and if you try to re-join that same activity
 again, it will generate the below traceback, and the activity will appear
 to never connect (an activity like chat will appear to have a frozen UI,
 except for the toolbar). If you now "Stop", it will correctly release the
 activity shared state, and you can subsequently re-join successfully on
 the 3rd attempt.

 {{{
 1257994907.658065 DEBUG sugar.presence.activity: <proxy for
 /org/laptop/Sugar/Presence/Activities/4 at b7236504>: Join failed because:
 org.freedesktop.DBus.Python.RuntimeError: Traceback (most recent call
 last):
   File "/home/garycmartin/sugar-jhbuild/install/share/sugar-presence-
 service/psutils.py", line 67, in throw_into_callback
     raise exc
 RuntimeError: Already joined activity
 8074fcb9170a77793abd6de4f410d4427f68a46c

 1257994907.659527 DEBUG root: Failed to join activity:
 org.freedesktop.DBus.Python.RuntimeError: Traceback (most recent call
 last):
   File "/home/garycmartin/sugar-jhbuild/install/share/sugar-presence-
 service/psutils.py", line 67, in throw_into_callback
     raise exc
 RuntimeError: Already joined activity
 8074fcb9170a77793abd6de4f410d4427f68a46c
 }}}

 For impatient kids on slow networks (even fast wired networks takes 10sec
 for a shared activity state to stabilise), this may be causing a number of
 reported collaboration difficulties.  I've not done any regression testing
 to see if this is also in 0.82, or 0.84.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1549>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list