Opened 9 years ago
Last modified 9 years ago
#4739 new defect
Errors when _Account._connection is lost
Reported by: | tch | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | Unspecified |
Component: | Sugar | Version: | Unspecified |
Severity: | Unspecified | Keywords: | |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Unconfirmed |
Description
Every time connection with jabber is lost, the shell is spammed with these messages:
1394681564.371979 DEBUG root: FriendsTray._set_current_activity Traceback (most recent call last): File "/home/tch/Devel/sugar-build-no-broot/build/out/install/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 402, in __active_activity_changed_cb connection = self._connection[CONNECTION_INTERFACE_BUDDY_INFO] TypeError: 'NoneType' object has no attribute '__getitem__'
To reproduce the error:
- Make sure you are connected to jabber, ie., jabber.sugarlabs.org. You should see lots of buddy icons.
- Go to Network CP section, and remove jabber server. You should see an empty neighborhood view.
- Open two or more activities and switch between them.
- You should see the error messages I showed.
Change History (2)
comment:1 Changed 9 years ago by walter
- Priority changed from Unspecified by Maintainer to Normal
comment:2 Changed 9 years ago by godiard
Note: See
TracTickets for help on using
tickets.
I see a lot of:
1398349923.384039 DEBUG root: _Account.current_activity_changed_cb dbus.UInt32(68L) dbus.String(u) dbus.UInt32(0L)
1398349923.384172 DEBUG root: current_activity_updated_cb dbus.String(u'fce1fb5408db678bb06d135f74a2a5b70ef27c0f@…', variant_level=1) dbus.String(u)
My question is, why we need share what is the current activity (I suppose is the active activity) in the net at all?
Looks like a lot of traffic.