You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last): File "/env/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2897, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'boost' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 346, in run_http_function result = _function_handler.invoke_user_function(flask.request) File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 217, in invoke_user_function return call_user_function(request_or_event) File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 210, in call_user_function return self._user_function(request_or_event) File "/user_code/main.py", line 109, in parse_replay raise e File "/user_code/main.py", line 105, in parse_replay game_manager, proto_location, pandas_location = decompile_replay(replay_location) File "/user_code/main.py", line 41, in decompile_replay proto_manager = analyze_replay_file(filename, rattletrap_path=dir_path) File "/env/local/lib/python3.7/site-packages/carball/decompile_replays.py", line 53, in analyze_replay_file analysis.create_analysis() File "/env/local/lib/python3.7/site-packages/carball/analysis/analysis_manager.py", line 59, in create_analysis data_frame, kickoff_frames, first_touch_frames) File "/env/local/lib/python3.7/site-packages/carball/analysis/analysis_manager.py", line 83, in perform_full_analysis self.events_creator.create_events(game, proto_game, player_map, data_frame, kickoff_frames, first_touch_frames) File "/env/local/lib/python3.7/site-packages/carball/analysis/events/event_creator.py", line 33, in create_events self.calculate_kickoff_stats(game, proto_game, player_map, data_frame, kickoff_frames, first_touch_frames) File "/env/local/lib/python3.7/site-packages/carball/analysis/events/event_creator.py", line 40, in calculate_kickoff_stats kickoffs = BaseKickoff.get_kickoffs_from_game(game, proto_game, self.id_creator, player_map, data_frame, kickoff_frames, first_touch_frames) File "/env/local/lib/python3.7/site-packages/carball/analysis/events/kickoff_detection/kickoff_analysis.py", line 44, in get_kickoffs_from_game kickoff_player = BaseKickoff.get_player_stats(cur_kickoff, player, data_frame, frame, end_frame) File "/env/local/lib/python3.7/site-packages/carball/analysis/events/kickoff_detection/kickoff_analysis.py", line 63, in get_player_stats kickoff_player.boost = data_frame[player.name]['boost'][end_frame] File "/env/local/lib/python3.7/site-packages/pandas/core/frame.py", line 2980, in __getitem__ indexer = self.columns.get_loc(key) File "/env/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2899, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'boost'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last): File "/env/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2897, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'boost' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 346, in run_http_function result = _function_handler.invoke_user_function(flask.request) File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 217, in invoke_user_function return call_user_function(request_or_event) File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 210, in call_user_function return self._user_function(request_or_event) File "/user_code/main.py", line 109, in parse_replay raise e File "/user_code/main.py", line 105, in parse_replay game_manager, proto_location, pandas_location = decompile_replay(replay_location) File "/user_code/main.py", line 41, in decompile_replay proto_manager = analyze_replay_file(filename, rattletrap_path=dir_path) File "/env/local/lib/python3.7/site-packages/carball/decompile_replays.py", line 53, in analyze_replay_file analysis.create_analysis() File "/env/local/lib/python3.7/site-packages/carball/analysis/analysis_manager.py", line 59, in create_analysis data_frame, kickoff_frames, first_touch_frames) File "/env/local/lib/python3.7/site-packages/carball/analysis/analysis_manager.py", line 83, in perform_full_analysis self.events_creator.create_events(game, proto_game, player_map, data_frame, kickoff_frames, first_touch_frames) File "/env/local/lib/python3.7/site-packages/carball/analysis/events/event_creator.py", line 33, in create_events self.calculate_kickoff_stats(game, proto_game, player_map, data_frame, kickoff_frames, first_touch_frames) File "/env/local/lib/python3.7/site-packages/carball/analysis/events/event_creator.py", line 40, in calculate_kickoff_stats kickoffs = BaseKickoff.get_kickoffs_from_game(game, proto_game, self.id_creator, player_map, data_frame, kickoff_frames, first_touch_frames) File "/env/local/lib/python3.7/site-packages/carball/analysis/events/kickoff_detection/kickoff_analysis.py", line 44, in get_kickoffs_from_game kickoff_player = BaseKickoff.get_player_stats(cur_kickoff, player, data_frame, frame, end_frame) File "/env/local/lib/python3.7/site-packages/carball/analysis/events/kickoff_detection/kickoff_analysis.py", line 63, in get_player_stats kickoff_player.boost = data_frame[player.name]['boost'][end_frame] File "/env/local/lib/python3.7/site-packages/pandas/core/frame.py", line 2980, in __getitem__ indexer = self.columns.get_loc(key) File "/env/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2899, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'boost'
The text was updated successfully, but these errors were encountered: