Closed currencysecrets closed 11 years ago
The problem is probably to find metalang.exe.
I made some changes, Try it now.
Thanks for the fix, here's what I'm getting now:
Traceback (most recent call last):
File "./sublime_plugin.py", line 362, in run_
File "./mql4_compiler.py", line 63, in run
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Have you installed wine?
Maybe python's subprocess module on os-x is not able to find wine path. I assume it is /usr/bin/wine on all platforms (linux / osx) try it again please
The location of wine on my Mac is: /usr/local/bin/wine
OK , I added a (which) function that locates wine automatically.
I hope it would work now.
Thanks Ilan! Unfortunately I'm now getting the error Mqlcompiler | error: wine is not installed
.
I wish I had a mac to check it out on my own. Try again please.
I added manual paths as well
If it won't find it - it will log your env path variable
Well done Ilan!! I think you've got it!!
Thanks for helping.
It seems I have Python 2.6 on my Mac box and I'm getting the following error in the console view after compiling: