Anonymous     Text only     05 Apr 2012    
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] Received from 8995492: '{'args': {'goal_id': 14}, 'call': u'goal_tasks'}'
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] search handler for goal_tasks
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] write_task_progress: {'type': 'collect_coins'}
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] Task get_building_income: {'count': 1, 'id': 1, 'task_id': 36}
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] executing get_building_income handler
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] Task get_collection_item: {'count': 2, 'id': 5, 'task_id': 66}
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] executing get_collection_item handler
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] write_task_progress: {'type': 'get_collection_item'}
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] Task get_building_income: {'count': 1, 'id': 1, 'task_id': 36}
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] executing get_building_income handler
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] Task get_collection_item: {'count': 2, 'id': 5, 'task_id': 66}
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] executing get_collection_item handler
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] Unhandled error in Deferred:
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/notify/signal.py", line 625, in __call__
return self.emit (*arguments, **keywords)
File "/usr/lib/python2.7/site-packages/notify/signal.py", line 1170, in emit
handler (*arguments, **keywords)
File "/srv/test.jivigame.com/python/jivi/goals.py", line 25, in decorated
return handler(config, user, attrs, obj_data, gid, gdata)
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 1187, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
result = g.send(result)
File "/srv/test.jivigame.com/python/jivi/goals.py", line 89, in handle_get_collection_item
kit_id = int(task_attrs['kit_id'])
exceptions.KeyError: 'kit_id'
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] ('178.79.141.200', 41339) ==> ('178.95.174.137', 34064) 8995492, goal_tasks, {'tasks': [{'progress': [0, 2], 'task_id': 66}], 'goal_id': 14}
2012-04-05 15:49:47+0300 [JiviProtocol,4,178.95.174.137] Writing => 8995492 {'status': 1, 'data': {'tasks': [{'progress': [0, 2], 'task_id': 66}], 'goal_id': 14}, 'call': u'goal_tasks'} location: 3