Tuesday, 15 April 2014

sublimetext2 - Sublime text 2 build tools - nothing happens -



sublimetext2 - Sublime text 2 build tools - nothing happens -

i've tried utilize sublime text 2 write lua\corona program, i've faced problem.

when add together build tool such text:

{ "cmd": ["c:/program files/corona labs/corona sdk/corona simulator.exe", "main.lua"] }

after f7 or ctrl+b or build button in menu - blank little window shows , "building" text appears on bottom of window - nil else happen (even when seek check other available build tools).

i seek set other commands in "cmd" - blank field on bottom of sublime still blank , simulator doesn't appear (if write in command line "c:/program files/corona labs/corona sdk/corona simulator.exe" simulator starts).

update

i've opened console , there log:

running c:/program files/corona labs/corona sdk/corona simulator.exe main.lua traceback (most recent phone call last): file ".\sublime_plugin.py", line 337, in run_ file ".\exec.py", line 154, in run file ".\exec.py", line 45, in __init__ unicodedecodeerror: 'ascii' codec can't decode byte 0xc4 in position 7: ordinal not in range(128)

try : http://www.sublimetext.com/forum/viewtopic.php?f=3&t=8512

in packages/default/exec.py @ line 45

replace :

proc_env[k] = os.path.expandvars(v).encode(sys.getfilesystemencoding())

with :

os.path.expandvars(v.decode(sys.getfilesystemencoding())).encode(sys.getfilesystemencoding())

build sublimetext2 build-tools

No comments:

Post a Comment