-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
The sc2AI bot replays seems to not have indications of region data, which breaks the parser.
Traceback (most recent call last):
File "...\tester\test.py", line 4, in <module>
replay = sc2.load_replay('701042_VeTerran_Ketroc_BlackburnAIE.SC2Replay', load_map=False)
File "...\Python\Python39\lib\site-packages\sc2reader\factories\sc2factory.py", line 88, in load_replay
return self.load(Replay, source, options, **new_options)
File "...\Python\Python39\lib\site-packages\sc2reader\factories\sc2factory.py", line 166, in load
return self._load(cls, resource, filename=filename, options=options)
File "...\Python\Python39\lib\site-packages\sc2reader\factories\sc2factory.py", line 175, in _load
obj = cls(resource, filename=filename, factory=self, **options)
File "...\Python\Python39\lib\site-packages\sc2reader\resources.py", line 302, in __init__
self.load_all_details()
File "...\Python\Python39\lib\site-packages\sc2reader\resources.py", line 444, in load_all_details
self.load_details()
File "...\Python\Python39\lib\site-packages\sc2reader\resources.py", line 389, in load_details
self.region = details["cache_handles"][0].server.lower()
IndexError: list index out of range
Metadata
Metadata
Assignees
Labels
No labels