Cjkjvfnby
Regular

Does same as build_module_check_tags.bat
Features:
Stop on first error.
Tip for error.
Count time of execution.
Does not modify module system.
upd. Open file in editor on error line (Notepad++, Sublime Text supported)
Installation:
Copy acrchive content to you module folder.
Settings:
Change path to you editor executable and uncomment line with it in ../script_compiler/settings.py
Usage:
Run compiler.bat
or start python script in IDE.
Traceback:
Traceback is information about error.
Usually you need third sting from end:
File ".../module_scripts.py", line 351,
Common error has tip.
Missed coma between (...) and (....)
Known issues:
If launched via IDLE does not show text output.
========== Starting module process_init ==========
Initializing...
Module process_init compiled in 0.0199999809265 sec
========== Starting module process_global_variables ==========
Error trace back:
Traceback (most recent call last):
File "f:\projects\ScriptConvertor\source\main.py", line 43, in get_time
mod = __import__(module)
File "f:\projects\ScriptConvertor\source\process_global_variables.py", line 11
, in <module>
from process_operations import *
File "f:\projects\ScriptConvertor\source\process_operations.py", line 20, in <
module>
from module_scripts import *
File "f:\projects\ScriptConvertor\source\module_scripts.py", line 351, in <mod
ule>
(call_script, "script_set_trade_route_between_centers", "p_town_3", "p_town_
18"),
TypeError: 'tuple' object is not callable
Finished with error:
Missed coma between (...) and (....)
Press any key to exit. . .
project page:
https://github.com/Cjkjvfnby/mab_compiler
download page:
https://github.com/Cjkjvfnby/mab_compiler/zipball/master
update:
To add other error hanglers I need example of error and help message.
Features:
Stop on first error.
Tip for error.
Count time of execution.
Does not modify module system.
upd. Open file in editor on error line (Notepad++, Sublime Text supported)
Installation:
Copy acrchive content to you module folder.
Settings:
Change path to you editor executable and uncomment line with it in ../script_compiler/settings.py
Usage:
Run compiler.bat
or start python script in IDE.
Traceback:
Traceback is information about error.
Usually you need third sting from end:
File ".../module_scripts.py", line 351,
Common error has tip.
Missed coma between (...) and (....)
Known issues:
If launched via IDLE does not show text output.
插入代码块:
350: (call_script, "script_set_trade_route_between_centers", "p_town_3", "p_town_15")
351: (call_script, "script_set_trade_route_between_centers", "p_town_3", "p_town_18"),
========== Starting module process_init ==========
Initializing...
Module process_init compiled in 0.0199999809265 sec
========== Starting module process_global_variables ==========
Error trace back:
Traceback (most recent call last):
File "f:\projects\ScriptConvertor\source\main.py", line 43, in get_time
mod = __import__(module)
File "f:\projects\ScriptConvertor\source\process_global_variables.py", line 11
, in <module>
from process_operations import *
File "f:\projects\ScriptConvertor\source\process_operations.py", line 20, in <
module>
from module_scripts import *
File "f:\projects\ScriptConvertor\source\module_scripts.py", line 351, in <mod
ule>
(call_script, "script_set_trade_route_between_centers", "p_town_3", "p_town_
18"),
TypeError: 'tuple' object is not callable
Finished with error:
Missed coma between (...) and (....)
Press any key to exit. . .
project page:
https://github.com/Cjkjvfnby/mab_compiler
download page:
https://github.com/Cjkjvfnby/mab_compiler/zipball/master
update:
To add other error hanglers I need example of error and help message.



