Closed 98luobo closed 2 years ago
Traceback (most recent call last):
File "main.py", line 73, in
Hi, I think your map file is corrupted, try redownloading I had a similar problem downloading melee maps from https://github.com/Blizzard/s2client-proto#downloads: my problem was i unzipped the file with a wrong password
Either corrupt data, or it's a new map that doesn't work with an old version of the game.
I had the same and was puzzled for a bit, but I realized that a previous run using a different map had somehow crashed and although the script I was running was stopped, the game window was still open with that other map, so once I closed it I could run my script again as usual.
I popped out an error at runtime.
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseCreateGame.Error.InvalidMapData: 'temporary map 'C:\Users\xx\AppData\Local\Temp\StarCraft II\TempLaunchMap.SC2Map' has invalid data.'