What happen? got weird error with my mod

develop-2820 (x64)
c++ exception: Error reading file Ace_mod/jobs/weaver/recipes.json: Missing } Source: { “craftable_recipes” : { “building_parts” : { “ordinal” : 4, “name” : “i18n(Spacestuff Outfit)”, “recipes” : { “Jedi_outfit” : { “recipe” : “file(Jedi_outfit_recipe.json)” }, “Jedi_coif” : { “recipe” : “file(Jedi_coif_recipe.json)” }, “trooper_mail” : { “recipe” : “file(trooper_mail_recipe.json)” }, “trooper_helmet” : { “recipe” : “file(trooper_helmet_recipe.json)” }, “cheif_helmet” : { “recipe” : “file(cheif_helmet_recipe.json)” }, “cheif_suit” : { “recipe” : “file(cheif_suit_recipe.json)” } } }, “building_parts” : { “ordinal” : 4, “name” : “i18n(Spacestuff Deco)”, “recipes” : { “banner_order” : { “recipe” : “file(banner_order_recipe.json)” }, “banner_empire” : { “recipe” : “file(banner_empire_recipe.json)” } } } }
stack traceback:
[C]: in function ‘load_json’
radiant/modules/resources.lua:33: in function ‘load_json’
…nehearth/services/server/job/job_info_controller.lua:88: in function ‘_build_craftable_recipe_list’
…nehearth/services/server/job/job_info_controller.lua:68: in function <…nehearth/services/server/job/job_info_controller.lua:38>

after a few modificationsAce_mod.zip (130.8 KB)

I’d attach your mod here if I were you.

Just looking at it, maybe the filepath is wrong in your json file, or the json file is not syntactically correct?

1 Like

its definitely something wrong with the weavers recipes.json, i dont have a lot of time to check it right now, but from a quick check that file did look off…

For the file that 8BitCrab mentioned, you could post its entire contents up at jsonlint to see where you get the error. It’s easier than to scan the file manually.

yea dumb mistake i got fix like 5 min ago i found theres like a…em…this" } " missing at the end so crisis solved.

1 Like