Page 1 of 1
Mod portal upload error!
Posted: Tue Sep 11, 2018 2:09 am
by unhott
I can't figure out what's wrong!
Here is the error I'm getting:
Error: Failed to parse info.json: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0) (code: 500)
Any thoughts?
Re: Mod portal upload error!
Posted: Tue Sep 11, 2018 2:36 am
by DaleStan
I'd guess you have an unexpected UTF-8 BOM at the start of your info.json. Open it in a hex editor. (I use
frhed, though it doesn't really want to let you edit files.) If the first three bytes are "EF BB BF", delete them, save, and update the ZIP file.
I'm of the opinion that the mod portal should accept that, especially if Factorio itself does, but this'll probably do the trick until/unless the portal is updated.
Re: Mod portal upload error!
Posted: Tue Sep 11, 2018 3:05 am
by unhott
DaleStan wrote:I'd guess you have an unexpected UTF-8 BOM at the start of your info.json. Open it in a hex editor. (I use
frhed, though it doesn't really want to let you edit files.) If the first three bytes are "EF BB BF", delete them, save, and update the ZIP file.
I'm of the opinion that the mod portal should accept that, especially if Factorio itself does, but this'll probably do the trick until/unless the portal is updated.
Spot on, you're awesome, thank you!