• 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.

WB Coding Module System Error

Users who are viewing this thread

caganbeg

Recruit
I am trying to set up module system but when i double click the build_module.bat the command console gives error and says
python: can't open file 'process_init.py': [Errno 2] No such file or directory
python: can't open file 'process_global_variables.py': [Errno 2] No such file or directory
python: can't open file 'process_strings.py': [Errno 2] No such file or directory
python: can't open file 'process_skills.py': [Errno 2] No such file or directory
python: can't open file 'process_music.py': [Errno 2] No such file or directory
python: can't open file 'process_animations.py': [Errno 2] No such file or directory
python: can't open file 'process_meshes.py': [Errno 2] No such file or directory
python: can't open file 'process_sounds.py': [Errno 2] No such file or directory
python: can't open file 'process_skins.py': [Errno 2] No such file or directory
python: can't open file 'process_map_icons.py': [Errno 2] No such file or directory
python: can't open file 'process_factions.py': [Errno 2] No such file or directory
python: can't open file 'process_items.py': [Errno 2] No such file or directory
python: can't open file 'process_scenes.py': [Errno 2] No such file or directory
python: can't open file 'process_troops.py': [Errno 2] No such file or directory
python: can't open file 'process_particle_sys.py': [Errno 2] No such file or directory
python: can't open file 'process_scene_props.py': [Errno 2] No such file or directory
python: can't open file 'process_tableau_materials.py': [Errno 2] No such file or directory
python: can't open file 'process_presentations.py': [Errno 2] No such file or directory
python: can't open file 'process_party_tmps.py': [Errno 2] No such file or directory
python: can't open file 'process_parties.py': [Errno 2] No such file or directory
python: can't open file 'process_quests.py': [Errno 2] No such file or directory
python: can't open file 'process_info_pages.py': [Errno 2] No such file or directory
python: can't open file 'process_scripts.py': [Errno 2] No such file or directory
python: can't open file 'process_mission_tmps.py': [Errno 2] No such file or directory
python: can't open file 'process_game_menus.py': [Errno 2] No such file or directory
python: can't open file 'process_simple_triggers.py': [Errno 2] No such file or directory
python: can't open file 'process_dialogs.py': [Errno 2] No such file or directory
python: can't open file 'process_global_variables_unused.py': [Errno 2] No such file or directory
python: can't open file 'process_postfx.py': [Errno 2] No such file or directory
Could Not Find C:\WINDOWS\system32\*.pyc
______________________________

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

I did most of the things The Ultimate Modding Guide wanted. I might have missed something, but i dont think so. I would be very pleased if someone helped soon.
 
Last edited:
Solution
I deleted the folder (not the .rar file i have downloaded) and re extractred the rar and when i retried it just randomly worked.

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
At the guide there is this passage here about the path variable:
------------------------
In order for your compiler to work without any hacks or fixes, you must have your Python folder in your Path variable. For an example, if you did install your Python in
Code:
C:\Python27
, then you should add
Code:
;C:\Python27
at the end of the Path. Do NOT alter the Path in any other way! As it contains important system stuff, it's definitely NOT recommended. Just add that
Code:
;C:\Python27
if it's not there. I think it won't be there, since I had to enter it manually. I think.
Anyways, notice the semicolon (;) that is before the C:\Python27. Entries for different applications are separated with semicolons in the Path variable string, so you should add that semicolon so your OS knows what you're talking about.
And that's about it for setting Python up.
-----------------------
At Windows 10 you don't need the semicolon (;) at the beginning though. Do you have added such one there one or not?
 
Upvote 0

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
Then I have also spent all my shots for now. I will write again if I get another idea. Until then you can only try to restart again at 0 and do it step by step again. For some people it has then worked suddenly.
 
Upvote 0

caganbeg

Recruit
I deleted the folder (not the .rar file i have downloaded) and re extractred the rar and when i retried it just randomly worked.
 
Upvote 0
Solution
Top Bottom