#4663 BLOC Never A: Connect: doesn't get into a consistent state on joining

Zarro Boogs per Child bugtracker at laptop.org
Mon Nov 5 14:02:38 EST 2007


#4663: Connect: doesn't get into a consistent state on joining
------------------------------+---------------------------------------------
 Reporter:  smcv              |       Owner:  morgs         
     Type:  defect            |      Status:  new           
 Priority:  blocker           |   Milestone:  Never Assigned
Component:  connect-activity  |     Version:                
 Keywords:  collaboration     |    Verified:  0             
------------------------------+---------------------------------------------
 When jhbuild instance 1 shares a Connect game and instance 2 joins, the
 status line in 2 is correctly "Joined a game, waiting for my turn" but in
 1 it's "Waiting for another player".

 This traceback is seen in the Connect log:

 {{{
 1194289639.426181 DEBUG connect-activity.buddiespanel: add player
 /org/laptop/Sugar/Presence/Buddies/keyid/d4a2e234698124054073b713bcc751af304338d4
 1194289639.426802 DEBUG connect-activity.game: Bus names are now:
 [':2.MGY4YjBlMjk3ZmY0NGYzMGJiMGFmZmNlYmNiMzI5YTA2MDQxOTJhZQAA',
 ':2.ZDRhMmUyMzQ2OTgxMjQwNTQwNzNiNzEzYmNjNzUxYWYzMDQzMzhkNAAA']
 1194289639.426958 DEBUG connect-activity.game: Welcoming newcomer and
 sending them the game state
 1194289641.590069 ERROR dbus.connection: Exception in handler for D-Bus
 signal:
 Traceback (most recent call last):
   File "/home/smcv/Collabora/olpc/sugar-jhbuild/build/lib/python2.5/site-
 packages/dbus/connection.py", line 214, in maybe_handle_message
     self._handler(*args, **kwargs)
   File "/home/smcv/Collabora/olpc/sugar-
 jhbuild/build/share/activities/Connect.activity/game.py", line 159, in
 hello_cb
     dbus_interface=IFACE)
   File "/home/smcv/Collabora/olpc/sugar-jhbuild/build/lib/python2.5/site-
 packages/dbus/proxies.py", line 64, in __call__
     return self._proxy_method(*args, **keywords)
   File "/home/smcv/Collabora/olpc/sugar-jhbuild/build/lib/python2.5/site-
 packages/dbus/proxies.py", line 136, in __call__
     **keywords)
   File "/home/smcv/Collabora/olpc/sugar-jhbuild/build/lib/python2.5/site-
 packages/dbus/connection.py", line 607, in call_blocking
     message, timeout)
 DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most
 recent call last):
   File "/home/smcv/Collabora/olpc/sugar-jhbuild/build/lib/python2.5/site-
 packages/dbus/service.py", line 692, in _message_cb
     retval = candidate_method(self, *args, **keywords)
   File "/home/smcv/Collabora/olpc/sugar-
 jhbuild/build/share/activities/Connect.activity/game.py", line 126, in
 Welcome
     self.buddies_panel.add_player(buddy)
   File "/home/smcv/Collabora/olpc/sugar-
 jhbuild/build/share/activities/Connect.activity/buddiespanel.py", line 64,
 in add_player
     op = buddy.object_path()
 AttributeError: 'NoneType' object has no attribute 'object_path'

 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/4663>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list