Opened 10 years ago

Last modified 10 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


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/", 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:

  1. Make sure you are connected to jabber, ie., You should see lots of buddy icons.
  2. Go to Network CP section, and remove jabber server. You should see an empty neighborhood view.
  3. Open two or more activities and switch between them.
  4. You should see the error messages I showed.

Change History (2)

comment:1 Changed 10 years ago by walter

  • Priority changed from Unspecified by Maintainer to Normal

comment:2 Changed 10 years ago by godiard

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.

Note: See TracTickets for help on using tickets.