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
Python 3.7, Windows 10. Just ran pip install zephyrus_sc2_parser and my opening script looks like this:
from zephyrus_sc2_parser import parse_replay
filepath = "0000e057beefc9b1e9da959ed921b24b9f0a31c63fedb8d94a1db78b58cf92c5.SC2Replay"
# data can be accessed with dot notation
# replay.players, replay.timeline, replay.engagements, replay.summary, replay.metadata
replay = parse_replay(filepath, local=False, tick=112, network=True)
The replay file is in the same directory as the script.
Traceback (most recent call last):
File "main.py", line 7, in <module>
replay = parse_replay(filepath, local=False, tick=112, network=True)
TypeError: parse_replay() got an unexpected keyword argument 'tick'
I also tried changing the import to from zephyrus_sc2_parser.parser import parse_replay but same issue.
And when I take out both the tick parameter, and the network parameter, as that also gives an error, I get:
ERROR:root:An error occurred while decoding: buffer(00/0,[0]=--)
ERROR:root:An error occurred while decoding: buffer(00/0,[0]=--)
ERROR:root:An error occurred while decoding: buffer(00/0,[0]=--)
ERROR:root:An error occurred while decoding: buffer(00/0,[0]=--)
ERROR:root:An error occurred while decoding: buffer(00/0,[0]=--)
CRITICAL:root:Replay could not be decoded
CRITICAL:root:Aborting replay due to bad decode...
ideas?
The text was updated successfully, but these errors were encountered:
Python 3.7, Windows 10. Just ran
pip install zephyrus_sc2_parser
and my opening script looks like this:The replay file is in the same directory as the script.
I also tried changing the import to
from zephyrus_sc2_parser.parser import parse_replay
but same issue.And when I take out both the tick parameter, and the network parameter, as that also gives an error, I get:
ideas?
The text was updated successfully, but these errors were encountered: