Ticket #10302 (closed defect: fixed)
Game not transfered when loading a created game
| Reported by: | erikos | Owned by: | erikos |
|---|---|---|---|
| Priority: | normal | Milestone: | 10.1.3 |
| Component: | memorize | Version: | Development build as of this date |
| Keywords: | Cc: | godiard, greenfeld | |
| Action Needed: | no action | Verified: | no |
| Deployments affected: | Blocked By: | ||
| Blocking: |
Description
Version: 850, Memorize 34
Steps to reproduce: Machine A: - Create a game in Memorize - share the activity - load the new game Machine B: - Join shared activity
---> the presence information is transferred, the game not.
Log:
1281706854.822899 DEBUG memorize-activity: buddy joined: erich
1281706854.823570 DEBUG memorize-activity: Buddy 'erich' was added to game
1281706854.889342 DEBUG root: <Buddy object at 0x9acd39c (sugar+presence+buddy+Buddy at 0x9a95e20)>
1281706855.531542 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 214, in maybe_handle_message
self._handler(*args, **kwargs)
File "/home/olpc/Activities/Memorize.activity/messenger.py", line 88, in _hello_receiver
path)
File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/home/olpc/Activities/Memorize.activity/messenger.py", line 96, in load_game
self._change_game_receiver(data['mode'], grid, data, path)
File "/home/olpc/Activities/Memorize.activity/messenger.py", line 140, in _change_game_receiver
self.game.model.read(self.files[path])
KeyError: dbus.String(u'/home/olpc/.sugar/default/data/fed147b8-d3b8-4282-bef3-84397e5f64f3_2')
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


