The Ultimate Introduction to Modding | Starting out? Read this!

Currently viewing this thread:

Elfx

Recruit
Best answers
0
I've been having the same error message.
I believe my path variable is correct. Maybe there's an incorrect line there somewhere I'm not a programmer.

C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Python26\

Lastly I'm new to posting let me know if this is in the wrong place.


Initializing...
variables.txt not found. Creating new variables.txt file
Compiling all global variables...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Traceback (most recent call last):
  File "process_global_variables.py", line 106, in <module>
    save_variables(export_dir, variables,variable_uses)
  File "C:\Module_system 1.171\process_operations.py", line 171, in save_variabl
es
    file = open(export_dir + "variables.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/variables.txt'
Exporting strings...
Traceback (most recent call last):
  File "process_strings.py", line 26, in <module>
    save_strings(strings)
  File "process_strings.py", line 9, in save_strings
    ofile = open(export_dir + "strings.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/strings.txt'
Exporting skills...
Traceback (most recent call last):
  File "process_skills.py", line 32, in <module>
    save_skills()
  File "process_skills.py", line 15, in save_skills
    ofile = open(export_dir + "skills.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/skills.txt'
Exporting tracks...
Traceback (most recent call last):
  File "process_music.py", line 23, in <module>
    save_tracks()
  File "process_music.py", line 15, in save_tracks
    file = open(export_dir + "music.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/music.txt'
Exporting animations...
Traceback (most recent call last):
  File "process_animations.py", line 61, in <module>
    write_actions(animations,len(action_codes),action_codes,"actions.txt")
  File "process_animations.py", line 24, in write_actions
    file = open(export_dir + file_name,"w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/actions.txt'
Exporting meshes...
Traceback (most recent call last):
  File "process_meshes.py", line 25, in <module>
    save_meshes()
  File "process_meshes.py", line 9, in save_meshes
    ofile = open(export_dir + "meshes.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/meshes.txt'
Exporting sounds...
Traceback (most recent call last):
  File "process_sounds.py", line 51, in <module>
    write_sounds(sound_samples, sounds)
  File "process_sounds.py", line 13, in write_sounds
    ofile = open(export_dir + "sounds.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/sounds.txt'
Exporting skins...
Traceback (most recent call last):
  File "process_skins.py", line 105, in <module>
    export_skins(skins)
  File "process_skins.py", line 45, in export_skins
    ofile = open(export_dir + "skins.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/skins.txt'
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 9, in save_map_icons
    ofile = open(export_dir + "map_icons.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/map_icons.txt'
Exporting faction data...
Traceback (most recent call last):
  File "process_factions.py", line 70, in <module>
    save_factions(relations)
  File "process_factions.py", line 34, in save_factions
    file = open(export_dir + "factions.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/factions.txt'
Exporting item data...
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_items.py", line 72, in <module>
    write_items(variables,variable_uses,tag_uses,quick_strings)
  File "process_items.py", line 19, in write_items
    ofile = open(itemkinds_file_name,"w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/item_kinds1.txt'
Exporting scene data...
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_scenes.py", line 77, in <module>
    save_scenes(variables,variable_uses,tag_uses)
  File "process_scenes.py", line 46, in save_scenes
    ofile = open(export_dir + "scenes.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/scenes.txt'
Exporting troops data
Traceback (most recent call last):
  File "process_troops.py", line 107, in <module>
    save_troops()
  File "process_troops.py", line 13, in save_troops
    file = open(export_dir + "troops.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/troops.txt'
Exporting particle data...
Traceback (most recent call last):
  File "process_particle_sys.py", line 61, in <module>
    save_particle_systems()
  File "process_particle_sys.py", line 29, in save_particle_systems
    ofile = open(export_dir + "particle_systems.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/particle_systems.txt'
Exporting scene props...
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_scene_props.py", line 32, in <module>
    save_scene_props(variables,variable_uses,tag_uses,quick_strings)
  File "process_scene_props.py", line 10, in save_scene_props
    ofile = open(export_dir + "scene_props.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/scene_props.txt'
Exporting tableau materials data...
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_tableau_materials.py", line 31, in <module>
    save_tableau_materials(variables,variable_uses,tag_uses,quick_strings)
  File "process_tableau_materials.py", line 11, in save_tableau_materials
    ofile = open(export_dir + "tableau_materials.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/tableau_materials.txt'
Exporting presentations...
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_presentations.py", line 33, in <module>
    save_presentations(variables,variable_uses,tag_uses,quick_strings)
  File "process_presentations.py", line 11, in save_presentations
    ofile = open(export_dir + "presentations.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/presentations.txt'
Exporting party_template data...
Traceback (most recent call last):
  File "process_party_tmps.py", line 46, in <module>
    save_party_templates()
  File "process_party_tmps.py", line 20, in save_party_templates
    file = open(export_dir + "party_templates.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/party_templates.txt'
Exporting parties
Creating new tag_uses.txt file...
Traceback (most recent call last):
  File "process_parties.py", line 69, in <module>
    save_parties(parties)
  File "process_parties.py", line 12, in save_parties
    file = open(export_dir + "parties.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/parties.txt'
Exporting quest data...
Traceback (most recent call last):
  File "process_quests.py", line 30, in <module>
    save_quests()
  File "process_quests.py", line 9, in save_quests
    ofile = open(export_dir + "quests.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/quests.txt'
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 9, in save_info_pages
    ofile = open(export_dir + "info_pages.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/info_pages.txt'
Exporting scripts...
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_scripts.py", line 40, in <module>
    save_scripts(variables,variable_uses,scripts,tag_uses,quick_strings)
  File "process_scripts.py", line 10, in save_scripts
    file = open(export_dir + "scripts.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/scripts.txt'
Exporting mission_template data...
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_mission_tmps.py", line 64, in <module>
    save_mission_templates(variables,variable_uses,tag_uses,quick_strings)
  File "process_mission_tmps.py", line 38, in save_mission_templates
    file = open(export_dir + "mission_templates.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/mission_templates.txt'
Exporting game menus data...
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_game_menus.py", line 47, in <module>
    save_game_menus(variables,variable_uses,tag_uses,quick_strings)
  File "process_game_menus.py", line 22, in save_game_menus
    ofile = open(export_dir + "menus.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/menus.txt'
exporting simple triggers...
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_simple_triggers.py", line 24, in <module>
    save_simple_triggers(variables,variable_uses,simple_triggers,tag_uses,quick_
strings)
  File "process_simple_triggers.py", line 8, in save_simple_triggers
    file = open(export_dir + "simple_triggers.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/simple_triggers.txt'
exporting triggers...
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_dialogs.py", line 199, in <module>
    save_triggers(variables,variable_uses,triggers,tag_uses,quick_strings)
  File "process_dialogs.py", line 47, in save_triggers
    file = open(export_dir + "triggers.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/triggers.txt'
Checking global variable usages...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Exporting postfx_params...
Traceback (most recent call last):
  File "process_postfx.py", line 27, in <module>
    write_postfx_params(postfx_params)
  File "process_postfx.py", line 13, in write_postfx_params
    ofile = open(export_dir + "postfx.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/postfx.txt'

______________________________

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

Namakan

Grandmaster Knight
M&BWBWF&SNWVC
Best answers
6
Elfx said:
I've been having the same error message.
I believe my path variable is correct. Maybe there's an incorrect line there somewhere I'm not a programmer.

C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Python26\

Lastly I'm new to posting let me know if this is in the wrong place.
Initializing...
variables.txt not found. Creating new variables.txt file
Compiling all global variables...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Traceback (most recent call last):
  File "process_global_variables.py", line 106, in <module>
    save_variables(export_dir, variables,variable_uses)
  File "C:\Module_system 1.171\process_operations.py", line 171, in save_variabl
es
    file = open(export_dir + "variables.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/variables.txt'
Exporting strings...
Traceback (most recent call last):
  File "process_strings.py", line 26, in <module>
    save_strings(strings)
  File "process_strings.py", line 9, in save_strings
    ofile = open(export_dir + "strings.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/strings.txt'
Exporting skills...
Traceback (most recent call last):
  File "process_skills.py", line 32, in <module>
    save_skills()
  File "process_skills.py", line 15, in save_skills
    ofile = open(export_dir + "skills.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/skills.txt'
Exporting tracks...
Traceback (most recent call last):
  File "process_music.py", line 23, in <module>
    save_tracks()
  File "process_music.py", line 15, in save_tracks
    file = open(export_dir + "music.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/music.txt'
Exporting animations...
Traceback (most recent call last):
  File "process_animations.py", line 61, in <module>
    write_actions(animations,len(action_codes),action_codes,"actions.txt")
  File "process_animations.py", line 24, in write_actions
    file = open(export_dir + file_name,"w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/actions.txt'
Exporting meshes...
Traceback (most recent call last):
  File "process_meshes.py", line 25, in <module>
    save_meshes()
  File "process_meshes.py", line 9, in save_meshes
    ofile = open(export_dir + "meshes.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/meshes.txt'
Exporting sounds...
Traceback (most recent call last):
  File "process_sounds.py", line 51, in <module>
    write_sounds(sound_samples, sounds)
  File "process_sounds.py", line 13, in write_sounds
    ofile = open(export_dir + "sounds.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/sounds.txt'
Exporting skins...
Traceback (most recent call last):
  File "process_skins.py", line 105, in <module>
    export_skins(skins)
  File "process_skins.py", line 45, in export_skins
    ofile = open(export_dir + "skins.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/skins.txt'
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 9, in save_map_icons
    ofile = open(export_dir + "map_icons.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/map_icons.txt'
Exporting faction data...
Traceback (most recent call last):
  File "process_factions.py", line 70, in <module>
    save_factions(relations)
  File "process_factions.py", line 34, in save_factions
    file = open(export_dir + "factions.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/factions.txt'
Exporting item data...
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_items.py", line 72, in <module>
    write_items(variables,variable_uses,tag_uses,quick_strings)
  File "process_items.py", line 19, in write_items
    ofile = open(itemkinds_file_name,"w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/item_kinds1.txt'
Exporting scene data...
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_scenes.py", line 77, in <module>
    save_scenes(variables,variable_uses,tag_uses)
  File "process_scenes.py", line 46, in save_scenes
    ofile = open(export_dir + "scenes.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/scenes.txt'
Exporting troops data
Traceback (most recent call last):
  File "process_troops.py", line 107, in <module>
    save_troops()
  File "process_troops.py", line 13, in save_troops
    file = open(export_dir + "troops.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/troops.txt'
Exporting particle data...
Traceback (most recent call last):
  File "process_particle_sys.py", line 61, in <module>
    save_particle_systems()
  File "process_particle_sys.py", line 29, in save_particle_systems
    ofile = open(export_dir + "particle_systems.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/particle_systems.txt'
Exporting scene props...
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_scene_props.py", line 32, in <module>
    save_scene_props(variables,variable_uses,tag_uses,quick_strings)
  File "process_scene_props.py", line 10, in save_scene_props
    ofile = open(export_dir + "scene_props.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/scene_props.txt'
Exporting tableau materials data...
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_tableau_materials.py", line 31, in <module>
    save_tableau_materials(variables,variable_uses,tag_uses,quick_strings)
  File "process_tableau_materials.py", line 11, in save_tableau_materials
    ofile = open(export_dir + "tableau_materials.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/tableau_materials.txt'
Exporting presentations...
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_presentations.py", line 33, in <module>
    save_presentations(variables,variable_uses,tag_uses,quick_strings)
  File "process_presentations.py", line 11, in save_presentations
    ofile = open(export_dir + "presentations.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/presentations.txt'
Exporting party_template data...
Traceback (most recent call last):
  File "process_party_tmps.py", line 46, in <module>
    save_party_templates()
  File "process_party_tmps.py", line 20, in save_party_templates
    file = open(export_dir + "party_templates.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/party_templates.txt'
Exporting parties
Creating new tag_uses.txt file...
Traceback (most recent call last):
  File "process_parties.py", line 69, in <module>
    save_parties(parties)
  File "process_parties.py", line 12, in save_parties
    file = open(export_dir + "parties.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/parties.txt'
Exporting quest data...
Traceback (most recent call last):
  File "process_quests.py", line 30, in <module>
    save_quests()
  File "process_quests.py", line 9, in save_quests
    ofile = open(export_dir + "quests.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/quests.txt'
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 9, in save_info_pages
    ofile = open(export_dir + "info_pages.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/info_pages.txt'
Exporting scripts...
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_scripts.py", line 40, in <module>
    save_scripts(variables,variable_uses,scripts,tag_uses,quick_strings)
  File "process_scripts.py", line 10, in save_scripts
    file = open(export_dir + "scripts.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/scripts.txt'
Exporting mission_template data...
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_mission_tmps.py", line 64, in <module>
    save_mission_templates(variables,variable_uses,tag_uses,quick_strings)
  File "process_mission_tmps.py", line 38, in save_mission_templates
    file = open(export_dir + "mission_templates.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/mission_templates.txt'
Exporting game menus data...
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_game_menus.py", line 47, in <module>
    save_game_menus(variables,variable_uses,tag_uses,quick_strings)
  File "process_game_menus.py", line 22, in save_game_menus
    ofile = open(export_dir + "menus.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/menus.txt'
exporting simple triggers...
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_simple_triggers.py", line 24, in <module>
    save_simple_triggers(variables,variable_uses,simple_triggers,tag_uses,quick_
strings)
  File "process_simple_triggers.py", line 8, in save_simple_triggers
    file = open(export_dir + "simple_triggers.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/simple_triggers.txt'
exporting triggers...
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_dialogs.py", line 199, in <module>
    save_triggers(variables,variable_uses,triggers,tag_uses,quick_strings)
  File "process_dialogs.py", line 47, in save_triggers
    file = open(export_dir + "triggers.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/triggers.txt'
Checking global variable usages...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Exporting postfx_params...
Traceback (most recent call last):
  File "process_postfx.py", line 27, in <module>
    write_postfx_params(postfx_params)
  File "process_postfx.py", line 13, in write_postfx_params
    ofile = open(export_dir + "postfx.txt","w")
IOError: [Errno 22] invalid mode ('w') or filename: '..C:/Mount&Blade Warband/Mo
dules/map editor/postfx.txt'

______________________________

Script processing has ended.
Press any key to exit. . .
Welcome!
Please use the spoiler-tag for longer parts of text in the future, like this:
Code:
[spoiler]hidden content goes here[/spoiler]
As for your error, can you show us the export_dir you have set in module_info.py? Looks like you might have '..' infront of your path which makes it invalid.
 

Elfx

Recruit
Best answers
0
Here is my export_dir, I assure you I tried it in at least 5 other ways, including C:/Program Files (x86)/Mount&Blade Warband/Modules/map editor/, and I believe this export_dir is correct. While troubleshooting I moved these files to several locations, starting with moving module, python and notepad to desktop, then finally to C:.

[/spoiler] export_dir = "..C:/Mount&Blade Warband/Modules/map editor/"]
 

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
Best answers
91
Elfx said:
Here is my export_dir, I assure you I tried it in at least 5 other ways, including C:/Program Files (x86)/Mount&Blade Warband/Modules/map editor/, and I believe this export_dir is correct. While troubleshooting I moved these files to several locations, starting with moving module, python and notepad to desktop, then finally to C:.

[/spoiler] export_dir = "..C:/Mount&Blade Warband/Modules/map editor/"]
Is your mod called 'map editor'?
And I am pretty sure you have M&B installed in some subfolder and not directly on your drive C like you have written above in your try^^
Try
Code:
export_dir = "C:/Program Files (x86)/Mount&Blade Warband/Modules/YOUR MOD NAME HERE/"
 

Elfx

Recruit
Best answers
0
yes the mod folder is currently called map editor(I tried native folder as well in troubleshooting, same error,) and yes my mount and blade folder was originally in program files (x86) but I moved it to desktop when that was suggested on another forum, didn't work, wound up moving it to C.
I also tried several versions of both the module system and of Python, Im currently using module system version 1.171 and python version 2.6.4 I don't think they conflict could be wrong.
 

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
Best answers
91
Try it again, and do everything step by step and read it carefully. The devil is always hidding in some detail you have not seen the first time. Make sure first that your normal game is still running. Both versions, of the module system and Phyton, are fine.
 

Elfx

Recruit
Best answers
0
Please let us know if it works when removing the two dots I marked in red.
[/quote]

Hey it worked. I literally checked the export_dir about a hundred times, now i feel stupid. Thanks.
 

Hasztag

Recruit
Best answers
0
Hi guys! I have problem with modsys, it pops out every time:
Could Not Find C:\Users\Bartek\Desktop\Viking_Conquest_Source_2044\.pyc
 

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
Best answers
91
Hasztag said:
Hi guys! I have problem with modsys, it pops out every time:
Could Not Find C:\Users\Bartek\Desktop\Viking_Conquest_Source_2044\.pyc
Compare again with the following lines and fine the error :wink:
Code:
export_dir = "../WOTS/Modules/Native/"
#export_dir = "C:/Program Files/Mount&Blade/Modules/Native/"
 

Hasztag

Recruit
Best answers
0
[Bcw]Btm_Earendil said:
Hasztag said:
Hi guys! I have problem with modsys, it pops out every time:
Could Not Find C:\Users\Bartek\Desktop\Viking_Conquest_Source_2044\.pyc
Compare again with the following lines and fine the error :wink:
Code:
export_dir = "../WOTS/Modules/Native/"
#export_dir = "C:/Program Files/Mount&Blade/Modules/Native/"
You have got some right here *facepalm*, but the same problem still pops out :sad:
 

Hasztag

Recruit
Best answers
0
[Bcw]Btm_Earendil said:
How does your line now look like?
Like this(or do you mean in modsys ?, also I couldn't figure out how adding images on this forum works sorry:c)
https://imgur.com/a/cb6YKJ4
 

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
Best answers
91
Your codeline. But from what I see at the picture you are still making some other misstake, more crucial. Look always if you need a / or a \
 

Hasztag

Recruit
Best answers
0
[Bcw]Btm_Earendil said:
Your codeline. But from what I see at the picture you are still making some other misstake, more crucial. Look always if you need a / or a \
https://imgur.com/a/418Iiec like that
 

Hasztag

Recruit
Best answers
0
[Bcw]Btm_Earendil said:
Yes. And you know, you can simply copy paste the code line here. Just use the code environment (#-Symbol) and put it inside there :wink:
Could you make it more clear please ?
 

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
Best answers
91
Hasztag said:
[Bcw]Btm_Earendil said:
Yes. And you know, you can simply copy paste the code line here. Just use the code environment (#-Symbol) and put it inside there :wink:
Could you make it more clear please ?
Code:
[code]Codelines here between[/ code]
Without the space after the / at code. But you basically just click on the #-button here and click to write inside of it.
 

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
Best answers
91
You need to give more details if something is not working. Always provide the codelines which you are using and always tell what the error message is. I cannot look into your brain and I also won't ask anymore the next time.