How do I fix these bugs

[15:17:28][dlc.cpp:1888]: Incorrect MOD descriptor: "mod/descriptor.mod"

[15:17:36][countrydatabase.cpp:148]: Duplicate Country Tag - FRA

[15:17:36][gameitemdatabasehelper.h:111]: Error: "Unexpected token: }, near line: 3

" in file: "common/ideas/offensive-idea.txt" near line: 3

[15:17:37][portraitdatabase.cpp:24]: Missing portrait texture in group ITA > Army > Male:  "gfx/leaders/ITA/Portrait_Italy_Generic_land_4.dds".

[15:17:37][effect.cpp:391]: Invalid effect 'has_army_manpower' in common/national_focus/213.txt line : 24

[15:17:37][effect.cpp:292]: Error: "Unknown effect-type: has_army_manpower, near line: 24

" in file: "common/national_focus/213.txt" near line: 26

[15:17:37][trigger.cpp:620]: Invalid trigger 'focus' in common/national_focus/213.txt line : 66

[15:17:37][trigger.cpp:620]: Invalid trigger 'focus' in common/national_focus/213.txt line : 92

[15:17:37][trigger.cpp:620]: Invalid trigger 'focus' in common/national_focus/213.txt line : 120

[15:17:37][trigger.cpp:620]: Invalid trigger 'focus' in common/national_focus/213.txt line : 144

[15:17:37][trigger.cpp:620]: Invalid trigger 'focus' in common/national_focus/213.txt line : 167

[15:17:37][trigger.cpp:620]: Invalid trigger 'focus' in common/national_focus/213.txt line : 192

[15:17:37][trigger.cpp:620]: Invalid trigger 'focus' in common/national_focus/213.txt line : 220

[15:17:37][trigger.cpp:620]: Invalid trigger 'focus' in common/national_focus/213.txt line : 248

[15:17:37][trigger.cpp:480]: Error: "Unknown trigger-type: focus, near line: 66

Unknown trigger-type: focus, near line: 92

Unknown trigger-type: focus, near line: 120

Unknown trigger-type: focus, near line: 144

Unknown trigger-type: focus, near line: 167

Unknown trigger-type: focus, near line: 192

Unknown trigger-type: focus, near line: 220

Unknown trigger-type: focus, near line: 248" in file: "common/national_focus/213.txt" near line: 261

[15:17:38][effect.cpp:292]: Error: "Malformed token: 4000, near line: 90

" in file: "history/countries/FRA - France.txt" near line: 96


I have the same errors too! And I don't know how to solve them either.

[15:17:38][effect.cpp:292]: Error: "Malformed token: 4000, near line: 90

" in file: "history/countries/FRA - France.txt" near line: 96

 This is one of your military leaders having skill level set to 4000. The max level the game accepts by default is 10. 

Fixing this should also resolve the first error about two nations with the tag FRA, as it should overwrite France properly.



[15:17:36][gameitemdatabasehelper.h:111]: Error: "Unexpected token: }, near line: 3

" in file: "common/ideas/offensive-idea.txt" near line: 3

 This issue was due to the "Offensive ideas" file having no ideas in it. I've made sure the exporter won't export empty ideas files, so this error should be gone.


The national focus one, I'm unable to check as your mod no longer appears to have a focus tree, but I would assume you had "has_army_manpower" in a reward, or somewhere else it wasn't valid.