Opened 11 years ago

Last modified 10 years ago

#4454 new defect

Error at exit activity after participate in collaboration

Reported by: godiard Owned by: erikos
Priority: Normal Milestone: Unspecified
Component: Sugar Version: 0.98.x
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed



  • Share one activity, join from other xo.
  • Close the activity in both xos.
  • Restart the shared instance.
  • Close the activity.

In the log appear the following error:

1362056835.459781 WARNING root: No Gtk.AccelGroup in the top level window.
1362056835.461814 WARNING root: No Gtk.AccelGroup in the top level window.
1362056835.476242 WARNING root: No Gtk.AccelGroup in the top level window.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/", line 604, in msg_reply_handler
  File "/usr/lib/python2.7/site-packages/sugar3/activity/", line 614, in __save_cb
  File "/usr/lib/python2.7/site-packages/sugar3/activity/", line 920, in _complete_close
  File "/usr/lib/python2.7/site-packages/sugar3/presence/", line 471, in leave
AttributeError: 'NoneType' object has no attribute 'Close'

Does not happen every time, but is easy to reproduce.

Tested in os32, 13.1.0

Change History (3)

comment:1 Changed 11 years ago by godiard

I see this again, now with Read activity. The activity icon is no longer present in the top frame, then to sugar the activity is no longer running, but if you do a "ps" in the terminal, can see the process continues.

This is a problem to collaboration in the case of Read, because use a port to transfer the files, and if another instance is already running, when try to open the port get a error and the collaboration is not possible. The user don't know what is happening. You can kill the old process from terminal, but is not a easy solution.

I don't know why is happening the error (may be a race condition?) but looks like the code can check if self.telepathy_text_chan is None before trying to close it.

comment:2 Changed 11 years ago by dnarvaez

  • Component changed from sugar-toolkit-gtk3 to Sugar

comment:3 Changed 10 years ago by walter

  • Priority changed from Unspecified by Maintainer to Normal
Note: See TracTickets for help on using tickets.