help Python

Users who are viewing this thread

Status
Not open for further replies.

ZozZx

Recruit
i keep getting this error when i try to run compile_floris_expanded_to_custom_dir

Compiling Floris Expanded Mod Pack to a custom directory
Start Processing...
python: can't open file 'info.py': [Errno 2] No such file or directory
______________________________

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 director
y
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 direc
tory
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 direct
ory
python: can't open file 'process_factions.py': [Errno 2] No such file or directo
ry
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 dir
ectory
python: can't open file 'process_scene_props.py': [Errno 2] No such file or dire
ctory
python: can't open file 'process_tableau_materials.py': [Errno 2] No such file o
r directory
python: can't open file 'process_presentations.py': [Errno 2] No such file or di
rectory
python: can't open file 'process_party_tmps.py': [Errno 2] No such file or direc
tory
python: can't open file 'process_parties.py': [Errno 2] No such file or director
y
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 direc
tory
python: can't open file 'process_scripts.py': [Errno 2] No such file or director
y
python: can't open file 'process_mission_tmps.py': [Errno 2] No such file or dir
ectory
python: can't open file 'process_game_menus.py': [Errno 2] No such file or direc
tory
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 director
y
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

python: can't open file 'Flora_kinds.py': [Errno 2] No such file or directory
python: can't open file 'Ground_specs.py': [Errno 2] No such file or directory
python: can't open file 'Skyboxes.py': [Errno 2] No such file or directory
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
python: can't open file 'other_files_custom.py': [Errno 2] No such file or direc
tory
The system cannot find the path specified.
        0 file(s) moved.
Could Not Find C:\Windows\system32\*.pyc
Could Not Find C:\Windows\system32\*.py
Could Not Find C:\Windows\system32\ground_spec_codes.h

______________________________

All Finished ...
Cleaning up...
______________________________

Script processing has ended.
Press any key to exit. . .
 
I had this. Theres two ways about this.
One. your running as an administrator when you dont have too. just double click it.
Two. Your path in Envirmental Variables are wrong.
Three. A path in your Module_info.py is wrong (that was my problem!)
C:/Program Files (x86)/Steam/SteamApps/common/MountBlade Warband/Modules/(name)

Obviously, your's might look different from mine. All you have to do is go to your Mount and blade Warband folder, modules, and the mod your making. copy your path (click the the top bar where it says where you are).  and copy and paste it here.
http://i.imgur.com/L0sTFI0.png

Now, make sure your doing it in Export_dir, not the #export_dir, thats just a comment to tell you what to do, it wont actually work.
Remember, your path will probally look like this C:\program Files\Steam....etc. When you copy and paste it, you must change all the back slashes, to foward slashes, like mine. C:/Program Files (x86)/Steam/SteamApps/common/MountBlade Warband/Modules/(name) Notice the foward slashes.

And thats it. Report back for result!
 
the forward slashes thing fixed the first problem but now i get this

Compiling Floris Expanded Mod Pack to a custom directory
Start Processing...
______________________________

Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_global_variables.py", line 12, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
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 6, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
  File "process_items.py", line 66, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_troops.py", line 4, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_presentations.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_game_menus.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_dialogs.py", line 9, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\process_operat
ions.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Azoz\Desktop\custom floris\Floris Dev Suite 2.55\module_troops.
py", line 5112
    component_name = "troops"
                ^
IndentationError: expected an indented block
Exporting postfx_params...
Exporting flora data...
Exporting ground_spec data...
Exporting skyboxes...

______________________________

Copying source files to internal directory...
Traceback (most recent call last):
  File "other_files_custom.py", line 12, in <module>
    shutil.copy("./conversation.txt",intern_dir_expanded_custom + "./conversatio
n.txt")
  File "C:\Python27\lib\shutil.py", line 119, in copy
    copyfile(src, dst)
  File "C:\Python27\lib\shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: './conversation.txt'
        1 file(s) moved.

______________________________

All Finished ...
Cleaning up...
______________________________

Script processing has ended.
Press any key to exit. . .
 
You've done something. Again, check Envirmental variables, check to see if thats at C:/Python27
IT HAS TO BE PYTHON 27. not python 34, or anything with a 3. PYTHON 27.
 
2sajdps.png
 
yes this is my first time, what i am trying to do is change some lords faces and maybe personalities in floris mod pack and yes i edited the files then started the compiler i think this is my problem i have to run the compiler first and edit (with morphs) i am going to try to run the compiler first and edit
 
Status
Not open for further replies.
Back
Top Bottom