Closed bearxu83 closed 6 years ago
Good find! Can you submit a PR to fix it?
It seems that now the sc2reader can't parse the official replay packs released by sc2 official machine learning api because these replay packs hide much basic information. I will try to use sc2protocol first then I will try to see how to fix them.
I don't know why sc2reader don't use sc2protocol to parse the replay files.
@bearxu83 it's because sc2reader was written long before s2protocol existed
The issue is still not solved. Installed sc2reader today and got the following error:
RESTART: C:/Users/John/Desktop/Chalmers/year3/LP3=DATX02_Bachelor_Thesis/DATX02/sc2reader_python/prettyPrinter.py
Traceback (most recent call last):
File "C:/Users/John/Desktop/Chalmers/year3/LP3=DATX02_Bachelor_Thesis/DATX02/sc2reader_python/prettyPrinter.py", line 31, in
And if I check the resources.py file, expansion is still misspelled.
Which line number in resources.py?
@JohnSegerstedt it appears that you're using an outdated version of sc2reader. The path in your stack trace says 0.7.0rc0
whereas we're currently on version 1.3.1
How did you install sc2reader? It's possible that you may have followed outdated installation instructions, in which case we can provide new ones
https://github.com/ggtracker/sc2reader/blob/5f189ae405af066f0beb99793ab70668979084b7/sc2reader/resources.py#L184
I think here it is a typo that misspells "expansion".