[Bugs] #4739 Sugar UNSP: Errors when _Account._connection is lost

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Mar 12 23:37:48 EDT 2014


#4739: Errors when _Account._connection is lost
---------------------------------------------+--------------------------
       Reporter:  tch                        |       Owner:
           Type:  defect                     |      Status:  new
       Priority:  Unspecified by Maintainer  |   Milestone:  Unspecified
      Component:  Sugar                      |     Version:  Unspecified
       Severity:  Unspecified                |    Keywords:
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/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:

 1. Make sure you are connected to jabber, ie., jabber.sugarlabs.org. 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.
\
\
\

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


More information about the Bugs mailing list