Ticket #1549 (new defect)
Collaboration faults when resuming and then stopping a shared activity before connections are sucessfull
|Reported by:||garycmartin||Owned by:||tomeu|
|Priority:||Unspecified by Maintainer||Milestone:||0.88|
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.