Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoneType not iterable in GameServerID #193

Open
dtracers opened this issue Oct 15, 2019 · 0 comments
Open

NoneType not iterable in GameServerID #193

dtracers opened this issue Oct 15, 2019 · 0 comments
Labels
parse error The replay fails to parse

Comments

@dtracers
Copy link
Member

Traceback (most recent call last):
  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 45, in analyze_replay_file
    game.initialize(loaded_json=_json)
  File "/env/local/lib/python3.7/site-packages/carball/json_parser/game.py", line 99, in initialize
    self.parse_all_data(self.all_data, clean_player_names)
  File "/env/local/lib/python3.7/site-packages/carball/json_parser/game.py", line 173, in parse_all_data
    self.replay['content']['body']['objects'])
  File "/env/local/lib/python3.7/site-packages/carball/json_parser/game_info.py", line 26, in parse_game_info_actor
    if 'ProjectX.GRI_X:GameServerID' in actor_data:
TypeError: argument of type 'NoneType' is not iterable

Missing server id
https://cdn.discordapp.com/attachments/493849514680254468/633506022912294932/none_type_in_game_server_id.replay

@dtracers dtracers added the parse error The replay fails to parse label Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parse error The replay fails to parse
Projects
None yet
Development

No branches or pull requests

1 participant