P
P
pasha_golub2013-04-25 12:22:20
Windows
pasha_golub, 2013-04-25 12:22:20

Build System not working in Sublime Text 2 under Windows 7 x64?

The problem was discovered when creating a new build chain for .po (Gettext) files:

{
   "shell": true,
   "cmd": ["C:\\Program Files (x86)\\Poedit\\bin\\msgfmt.exe", "-v", "$file", "-o", "${file/\\.po/\\.mo/}"],
   "selector": ["*.po"],
   "working_dir" : "${file_path}"
}

After launching the build Ctrl+B (F7), the inscription "Building..." appeared in the status and that's it. The output panel remained empty. Tried various options. But there is a suspicion that the interpreter simply does not start. I don't know how to check.
For the test lifted exactly the same configuration on Windows XP SP3. Everything worked like clockwork.
Questions
- Is it possible to somehow find out what's going on during the launch of the build? Any log? Systemic? Program?
— What is the build mechanism? What interpreter is running? What rights does he need?
- Has anyone else met with the specifics of the editor under Windows 7, and in particular under the x64 implementation?
Thank you.
UPD
Thanks GusakovNick, I learned that the logs can be viewed in the console. And my console gave me:
Running C:\Program Files (x86)\Poedit\bin\msgfmt.exe -v \\PATH\languages\ru_RU.po -o \\PATH\languages\ru_RU.mo
Traceback (most recent 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 cannot decode byte 0xcf in position 175: ordinal not in range(128)

The problem, as it turned out, is that system variables contain Cyrillic characters. And the solution is to change ".\exec.py".

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sameoldmadness, 2013-04-25
@pasha_golub

There was a similar problem.
Try to look in the console (ctrl + ~). According to the text of the error, the solution is well googled.

N
Nikita Gusakov, 2013-04-25
@hell0w0rd

Have you tried running this by hand?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question