I get an error that i cannot upload my savegame… not on the client or the website
"could not parse uploaded file! "
I get an error that i cannot upload my savegame… not on the client or the website
"could not parse uploaded file! "
Could you let me know which game you’re in? I need to write something to log that when this error happens.
It’s the game “Team Decepticons2”
I’m stumped - I deployed a build with some better logging info, can you try it again?
Still the same error…
I don’t see any file being uploaded, I’m not sure what’s happening, I’ve added even more debugging info if you want to try again.
What browser are you using to upload the turn?
I use the client… if that fails, microsoft edge …
I do try to upload the game every time
I get the same error when i upload with chrome…
Could it be that the savegame is corrupt?
OK, I see the save file now, not sure why I was missing it before, thanks! It’s definitely an error reading the file, I’ll try and figure out a fix today and I’ll submit your turn when I’m done.
Something definitely seems corrupt in the file. If I diff the current save and the previous save, the current save structure just doesn’t make sense. Can you validate that you can reload the save? Is there anything that changed recently on your machine (I don’t have the Quick UI mod to be able to load the save)
Nope, nothing changed… weird…
Are you able to reload the save file after you save it?
Yes, and it seems fine when i reload it… i get no loading errors…
We took an earlier savegame… now i can upload again… hope it doesn’t break
The savegame breaks at the same turn… same error :S
we found a way to proceed with the game, victorious ended his turn immediately after loading the save, and then he was able to save and upload it without parsing errors. However, the next turn presented the same problem. If he actually plays his turn the savegame cannot be parsed again
I took a look at it with fresh eyes this morning, and finally found the issue, there was a string in the file that overflowed 2 bytes for it’s length, and the parser was only looking at 2 bytes. I increased it to 3 and it seems to be working again. I submitted Victor_Ious’s turn, and it seems to be working again. Let me know if you run into anything else!
awesome! I’ll check asap
since the bug was fixed, it should be okay to revert turns right? That way Victorious can play his turn after all
Yeah, that should be fine!