Initializing...
variables.txt not found. Creating new variables.txt file
File "process_global_variables.py", line 23
add_variable(varb, variable_list, variable_uses)
^
TabError: inconsistent use of tabs and spaces in indentation
Exporting strings...
Traceback (most recent call last):
File "process_strings.py", line 25, in <module>
save_python_header()
File "process_strings.py", line 20, in save_python_header
ofile.write("str_%s = %d\n"%(convert_to_identifier(strings[i_string][0]),i_string))
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_common.py", line 5, in convert_to_identifier
s1 = string.replace(s0," ","_")
AttributeError: 'module' object has no attribute 'replace'
Exporting skills...
Traceback (most recent call last):
File "process_skills.py", line 32, in <module>
save_skills()
File "process_skills.py", line 19, in save_skills
ofile.write("skl_%s %s "%(skill[0], replace_spaces(skill[1])))
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_common.py", line 30, in replace_spaces
return string.replace(string.replace(s0,"\t","_")," ","_")
AttributeError: 'module' object has no attribute 'replace'
Exporting tracks...
Exporting animations...
Exporting meshes...
Traceback (most recent call last):
File "process_meshes.py", line 25, in <module>
save_meshes()
File "process_meshes.py", line 13, in save_meshes
ofile.write("mesh_%s %d %s %f %f %f %f %f %f %f %f %f\n"%(mesh[0],mesh[1],replace_spaces(mesh[2]),mesh[3],mesh[4],mesh[5],mesh[6],mesh[7],mesh[8],mesh[9],mesh[10],mesh[11]))
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_common.py", line 30, in replace_spaces
return string.replace(string.replace(s0,"\t","_")," ","_")
AttributeError: 'module' object has no attribute 'replace'
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
File "process_skins.py", line 105, in <module>
export_skins(skins)
File "process_skins.py", line 81, in export_skins
ofile.write("skinkey_%s %d %d %f %f %s "%(convert_to_identifier(face_key[4]), face_key[0],face_key[1],face_key[2],face_key[3],replace_spaces(face_key[4])))
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_common.py", line 5, in convert_to_identifier
s1 = string.replace(s0," ","_")
AttributeError: 'module' object has no attribute 'replace'
Exporting map icons...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Traceback (most recent call last):
File "process_map_icons.py", line 38, in <module>
save_map_icons(variables,variable_uses,tag_uses,quick_strings)
File "process_map_icons.py", line 22, in save_map_icons
save_simple_triggers(ofile,triggers, variable_list,variable_uses,tag_uses,quick_strings)
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_operations.py", line 471, in save_simple_triggers
save_statement_block(ofile,0,1,trigger[1] , variable_list, variable_uses,tag_uses,quick_strings)
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_operations.py", line 449, in save_statement_block
save_statement(ofile,opcode,no_variables,statement,variable_list,variable_uses,local_vars, local_var_uses,tag_uses,quick_strings)
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_operations.py", line 401, in save_statement
ofile.write("%d "%operand)
TypeError: %d format: a number is required, not str
Exporting faction data...
Traceback (most recent call last):
File "process_factions.py", line 70, in <module>
save_factions(relations)
File "process_factions.py", line 42, in save_factions
file.write("fac_%s %s %d %d \n"%(convert_to_identifier(faction[0]), replace_spaces(faction[1]), faction[2], fac_color))
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_common.py", line 5, in convert_to_identifier
s1 = string.replace(s0," ","_")
AttributeError: 'module' object has no attribute 'replace'
Exporting item data...
Traceback (most recent call last):
File "process_items.py", line 61, in <module>
save_python_header()
File "process_items.py", line 14, in save_python_header
file.write("itm_%s = %d\n"%(convert_to_identifier(items[i_item][0]),i_item))
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_common.py", line 5, in convert_to_identifier
s1 = string.replace(s0," ","_")
AttributeError: 'module' object has no attribute 'replace'
Traceback (most recent call last):
File "process_scenes.py", line 2, in <module>
from module_scenes import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_scenes.py", line 5, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_troops.py", line 248, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_scene_props.py", line 7, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_tableau_materials.py", line 6, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_presentations.py", line 7, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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_party_tmps.py", line 45, in <module>
save_python_header()
File "process_party_tmps.py", line 40, in save_python_header
file.write("pt_%s = %d\n"%(convert_to_identifier(party_templates[i_party_template][0]),i_party_template))
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_common.py", line 5, in convert_to_identifier
s1 = string.replace(s0," ","_")
AttributeError: 'module' object has no attribute 'replace'
Traceback (most recent call last):
File "process_parties.py", line 4, in <module>
from module_game_menus import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_game_menus.py", line 8, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting quest data...
Traceback (most recent call last):
File "process_quests.py", line 30, in <module>
save_quests()
File "process_quests.py", line 14, in save_quests
ofile.write("qst_%s %s %d "%(quest[0],(string.replace(quest[1]," ","_")),quest[2]))
AttributeError: 'module' object has no attribute 'replace'
Exporting info_page data...
Traceback (most recent call last):
File "process_info_pages.py", line 26, in <module>
save_info_pages()
File "process_info_pages.py", line 14, in save_info_pages
ofile.write("ip_%s %s %s"%(info_page[0],string.replace(info_page[1]," ","_"), string.replace(info_page[2]," ","_")))
AttributeError: 'module' object has no attribute 'replace'
Traceback (most recent call last):
File "process_scripts.py", line 4, in <module>
from module_scripts import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_scripts.py", line 4, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_mission_templates.py", line 8, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_simple_triggers.py", line 10, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_game_menus.py", line 8, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_triggers.py", line 9, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, 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 "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/process_operations.py", line 13, in <module>
from module_items import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_items.py", line 1, in <module>
from module_constants import *
File "/home/thisuser/mb_native/mb_warband_module_system_1158_edits/Module_system 1.158/module_constants.py", line 468, in <module>
num_trade_goods = itm_siege_supply - itm_spice
NameError: name 'itm_siege_supply' is not defined
Exporting postfx_params...
rm: cannot remove ‘*.pyc’: No such file or directory
.
______________________________
.
Script processing done.