I_am_a_Spoon
Regular
Hi guys.
I'm pretty new to all this stuff, and I keep getting the following errors when I try to compile my mod using the "build_module.bat" app.
I can't figure out why line 1248 of module_items.py is invalid, and I don't understand why the coding regarding spices is messed up.
Thanks in advance for any help.
I'm pretty new to all this stuff, and I keep getting the following errors when I try to compile my mod using the "build_module.bat" app.
Traceback (most recent call last):
File "process_init.py", line 2, in <module>
from process_operations import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\process_
operations.py", line 13, in <module>
from module_items import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_i
tems.py", line 1248
]
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_global_variables.py", line 5, in <module>
from module_triggers import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_t
riggers.py", line 9, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
File "process_map_icons.py", line 3, in <module>
from module_map_icons import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_m
ap_icons.py", line 2, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting faction data...
Traceback (most recent call last):
File "process_items.py", line 4, in <module>
from module_items import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_i
tems.py", line 1248
]
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_scenes.py", line 2, in <module>
from module_scenes import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_s
cenes.py", line 5, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_troops.py", line 4, in <module>
from module_troops import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_t
roops.py", line 259, in <module>
[itm_leather_jerkin, itm_leather_boots],
NameError: name 'itm_leather_jerkin' is not defined
Exporting particle data...
Traceback (most recent call last):
File "process_scene_props.py", line 4, in <module>
from module_scene_props import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_s
cene_props.py", line 7, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_tableau_materials.py", line 5, in <module>
from module_tableau_materials import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_t
ableau_materials.py", line 6, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_presentations.py", line 4, in <module>
from module_presentations import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_p
resentations.py", line 7, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting party_template data...
Traceback (most recent call last):
File "process_parties.py", line 4, in <module>
from module_game_menus import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_g
ame_menus.py", line 8, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
File "process_scripts.py", line 4, in <module>
from module_scripts import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_s
cripts.py", line 4, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_mission_tmps.py", line 5, in <module>
from module_mission_templates import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_m
ission_templates.py", line 8, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_game_menus.py", line 5, in <module>
from module_game_menus import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_g
ame_menus.py", line 8, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_simple_triggers.py", line 2, in <module>
from module_simple_triggers import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_s
imple_triggers.py", line 10, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_dialogs.py", line 5, in <module>
from module_triggers import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_t
riggers.py", line 9, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_global_variables_unused.py", line 3, in <module>
from process_operations import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\process_
operations.py", line 13, in <module>
from module_items import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_i
tems.py", line 1248
]
^
SyntaxError: invalid syntax
Exporting postfx_params...
______________________________
Script processing has ended.
Press any key to exit. . .
File "process_init.py", line 2, in <module>
from process_operations import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\process_
operations.py", line 13, in <module>
from module_items import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_i
tems.py", line 1248
]
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_global_variables.py", line 5, in <module>
from module_triggers import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_t
riggers.py", line 9, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
File "process_map_icons.py", line 3, in <module>
from module_map_icons import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_m
ap_icons.py", line 2, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting faction data...
Traceback (most recent call last):
File "process_items.py", line 4, in <module>
from module_items import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_i
tems.py", line 1248
]
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_scenes.py", line 2, in <module>
from module_scenes import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_s
cenes.py", line 5, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_troops.py", line 4, in <module>
from module_troops import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_t
roops.py", line 259, in <module>
[itm_leather_jerkin, itm_leather_boots],
NameError: name 'itm_leather_jerkin' is not defined
Exporting particle data...
Traceback (most recent call last):
File "process_scene_props.py", line 4, in <module>
from module_scene_props import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_s
cene_props.py", line 7, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_tableau_materials.py", line 5, in <module>
from module_tableau_materials import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_t
ableau_materials.py", line 6, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_presentations.py", line 4, in <module>
from module_presentations import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_p
resentations.py", line 7, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting party_template data...
Traceback (most recent call last):
File "process_parties.py", line 4, in <module>
from module_game_menus import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_g
ame_menus.py", line 8, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
File "process_scripts.py", line 4, in <module>
from module_scripts import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_s
cripts.py", line 4, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_mission_tmps.py", line 5, in <module>
from module_mission_templates import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_m
ission_templates.py", line 8, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_game_menus.py", line 5, in <module>
from module_game_menus import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_g
ame_menus.py", line 8, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_simple_triggers.py", line 2, in <module>
from module_simple_triggers import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_s
imple_triggers.py", line 10, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_dialogs.py", line 5, in <module>
from module_triggers import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_t
riggers.py", line 9, in <module>
from module_constants import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_c
onstants.py", line 467, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Traceback (most recent call last):
File "process_global_variables_unused.py", line 3, in <module>
from process_operations import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\process_
operations.py", line 13, in <module>
from module_items import *
File "C:\Users\Alex\Desktop\Modding\M&B - Warband\Module System 1.127\module_i
tems.py", line 1248
]
^
SyntaxError: invalid syntax
Exporting postfx_params...
______________________________
Script processing has ended.
Press any key to exit. . .
I can't figure out why line 1248 of module_items.py is invalid, and I don't understand why the coding regarding spices is messed up.
Thanks in advance for any help.