[Tex/LaTex] Sublime text 2 with LaTeXTools fails to compile (Windows)

sublime-textwindows

I work on Windows 7 X64 and since the latest update of LaTeXTools plugin for sublime text 2, the build (Ctrl+B) is failing with the following:

[Compiling E:\Users\Seif\Desktop\1tsss\first.tex]

TraditionalBuilder: Invoking texify...

And nothing is compiled!

I have followed the instructions to issue the command from the command palette "Reconfigure and migrate settings".

I'm using the default generated LaTeXTools.sublime-settings with the following:

"windows": {
    // Path to tex & friends. "" is fine for MiKTeX
    // For TeXlive 2013 (or other years) use
    // "texpath" : "C:\\texlive\\2013\\bin\\win32;$PATH",
    "texpath" : "",
    // TeX distro: "miktex" or "texlive"
    "distro" : "miktex"
},

The PATH variable contains both the path to MixText bin folder (E:\Program Files\MiKTeX 2.9\miktex\bin\x64) and the path to SumatraPDF (E:\Program Files (x86)\SumatraPDF).

If I issue the same texify command plus the sumatrapdf from within the prompt command-line (cmd.exe) it works.

E:\Users\Seif\Desktop\1tsss> texify -b -p --tex-option="--synctex=1" filename.tex && sumatrapdf filename.pdf

I followed many threads searching for a solution but nothing succeeded in my case. A very similar question is here but all solutions there don't work. I appreciate your help.

Best Answer

Solved it! After a long search I figured out that the problem has been with a secondary language being set for Non-Unicode programs in the computer. To fix this just follow the steps:

Control Panel -> Clock, Language & Region -> Region & Language -> Administrative -> Language for non-Unicode programs

and set it from your old language to English using the Change System Locale button. Restart needed. Done!