• Please note that we've updated the Mount & Blade II: Bannerlord save file system which requires you to take certain steps in order for your save files to be compatible with e1.7.1 and any later updates. You can find the instructions here.

Error about the process_.py's when running build batch, can anyone help solve?

Users who are viewing this thread

Malik Faris

Squire
M&BWBWF&SNW
I get the following when I try to run my build_module.bat, but I didnt make any changes to the process files. I should mention i'm trying to transfer a 1.131 mod to 1.158

  File "process_init.py", line 5
    print "Initializing..."
                          ^
SyntaxError: invalid syntax
  File "process_global_variables.py", line 23
    add_variable(varb, variable_list, variable_uses)
                                                  ^
TabError: inconsistent use of tabs and spaces in indentation
  File "process_strings.py", line 24
    print "Exporting strings..."
                              ^
SyntaxError: invalid syntax
  File "process_skills.py", line 30
    print "Exporting skills..."
                              ^
SyntaxError: invalid syntax
  File "process_music.py", line 21
    print "Exporting tracks..."
                              ^
SyntaxError: invalid syntax
  File "process_animations.py", line 58
    print "Exporting animations..."
                                  ^
SyntaxError: invalid syntax
  File "process_meshes.py", line 23
    print "Exporting meshes..."
                              ^
SyntaxError: invalid syntax
  File "process_sounds.py", line 49
    print "Exporting sounds..."
                              ^
SyntaxError: invalid syntax
  File "process_skins.py", line 104
    print "Exporting skins..."
                            ^
SyntaxError: invalid syntax
  File "process_map_icons.py", line 32
    print "Exporting map icons..."
                                ^
SyntaxError: invalid syntax
  File "process_factions.py", line 27
    print "ERROR faction not found: "+ rel_name
                                    ^
SyntaxError: invalid syntax
  File "process_items.py", line 60
    print "Exporting item data..."
                                ^
SyntaxError: invalid syntax
  File "process_scenes.py", line 12
    print "Exporting scene data..."
                                  ^
SyntaxError: invalid syntax
  File "process_troops.py", line 104
    print "Exporting troops data"
                                ^
SyntaxError: invalid syntax
  File "process_particle_sys.py", line 60
    print "Exporting particle data..."
                                    ^
SyntaxError: invalid syntax
  File "process_scene_props.py", line 26
    print "Exporting scene props..."
                                  ^
SyntaxError: invalid syntax
  File "process_tableau_materials.py", line 25
    print "Exporting tableau materials data..."
                                              ^
SyntaxError: invalid syntax
  File "process_presentations.py", line 27
    print "Exporting presentations..."
                                    ^
SyntaxError: invalid syntax
  File "process_party_tmps.py", line 28
    print "Error! NUMBER OF TEMPLATE MEMBERS EXCEEDS 6 " + party_template[0]
                                                      ^
SyntaxError: invalid syntax
  File "process_parties.py", line 28
    print "Error: Unable to find menu-id :" + menu_param
                                          ^
SyntaxError: invalid syntax
  File "process_quests.py", line 29
    print "Exporting quest data..."
                                  ^
SyntaxError: invalid syntax
  File "process_info_pages.py", line 25
    print "Exporting info_page data..."
                                      ^
SyntaxError: invalid syntax
  File "process_scripts.py", line 34
    print "Exporting scripts..."
                              ^
SyntaxError: invalid syntax
  File "process_mission_tmps.py", line 29
    print "ERROR: Too many item_overrides!"
                                          ^
SyntaxError: invalid syntax
  File "process_game_menus.py", line 41
    print "Exporting game menus data..."
                                      ^
SyntaxError: invalid syntax
  File "process_simple_triggers.py", line 19
    print "exporting simple triggers..."
                                      ^
SyntaxError: invalid syntax
  File "process_dialogs.py", line 95
    print sentence[ipt_token_pos]
                ^
SyntaxError: invalid syntax
  File "process_global_variables_unused.py", line 6
    print "Checking global variable usages..."
                                            ^
SyntaxError: invalid syntax
  File "process_postfx.py", line 26
    print "Exporting postfx_params..."
                                    ^
SyntaxError: invalid syntax
Could Not Find E:\M&B Wardband Moding\Module_system 1.158\*.pyc

______________________________

Script processing has ended.
Press any key to exit. . .
 

Lav

Sergeant Knight at Arms
M&BWB
It seems you're using Python 3.x. Download and install the latest of the 2.7.x branch, version 3.x has slightly different syntax making it incompatible with the older versions.
 
Top Bottom