Closed gundalf closed 11 years ago
If you are getting IOErrors I don't think it is sc2reader's fault. I would recommend checking to make sure that the file actually exists at that location and is readable. Make sure that something simple like this works:
with open('C:\Users\Michael\Downloads\test.SC2Replay', 'rb') as file:
contents = file.read()
If you are getting error output I'll need a copy of the replay to replicate/debug and fix. Please post them somewhere and link them or email them to me privately at
Closing this for now. Feel free to re-open if you can post a script and replays I can use to replicate.
Hey,
the reader is a really great thing and you can do really crazy stuff with it. But unfortunatelly I got several issues... :(
Well I want to integrate this parser in a website which is written in php. So i wrote a file which sends the parser the path for the replay and it is listen to the repsond of the python file. Normally the python file repsonds a dictionary with all the information inside through json.
But now I tested some replays and i get some strange errors which I have no idea how to handle:
For the map Daybreak and many others it works fine btw
Looking forward to the answer :)