Syntax Check Failure
Some more things to try (one at a time):
1. Can you confirm that the run configurations->compiler tab is set to its defaults.
2. Can rename your "C:\Program Files (x86)\HPCCSystems\4.2.4\clienttools" folder to "C:\Program Files (x86)\XXXXSystems\4.2.4\clienttools" (so it is no longer auto found by eclipse.
3. Right click on the "ECL Development" perspective and click "reset".
4. Create a new empty workspace (file->Switch Workspace->other) and retest from clean environment...
1. Can you confirm that the run configurations->compiler tab is set to its defaults.
2. Can rename your "C:\Program Files (x86)\HPCCSystems\4.2.4\clienttools" folder to "C:\Program Files (x86)\XXXXSystems\4.2.4\clienttools" (so it is no longer auto found by eclipse.
3. Right click on the "ECL Development" perspective and click "reset".
4. Create a new empty workspace (file->Switch Workspace->other) and retest from clean environment...
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
Seems to work now on window...
But on Mac (my primary machine) I get this message:
Cannot run program "/opt/HPCCSystems/bin/eclcc" (in directory "/var/folders/0g/9gr4m7cd2pbdgn5cn9kj01b40000gn/T"): error=2, No such file or directory
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc --version
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc --version
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -E -fapplyInstantEclTransformations=1 -fapplyInstantEclTransformationsLimit=100 -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
Though the folder var/folders/0g/9gr4m7cd2pbdgn5cn9kj01b40000gn/T does exist.
/opt/HPCCSystems/bin/eclcc exists as well.
But on Mac (my primary machine) I get this message:
Cannot run program "/opt/HPCCSystems/bin/eclcc" (in directory "/var/folders/0g/9gr4m7cd2pbdgn5cn9kj01b40000gn/T"): error=2, No such file or directory
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc --version
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc --version
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -E -fapplyInstantEclTransformations=1 -fapplyInstantEclTransformationsLimit=100 -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
Though the folder var/folders/0g/9gr4m7cd2pbdgn5cn9kj01b40000gn/T does exist.
/opt/HPCCSystems/bin/eclcc exists as well.
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
I am looking at this on a Mac now. I am also getting the error:
But it can be ignored - for some reason it locating an eclcc at /opt/HPCCSystems/bin/eclcc (which I will fix).
Also the submitting is working fine for me. Can you confirm that can open ECL Watch on the Mac and that the "Test" button is working on the configuration page?
- Code: Select all
/opt/HPCCSystems/bin/eclcc --version
Cannot run program "/opt/HPCCSystems/bin/eclcc" (in directory "/var/folders/dm/wf0jns3j169c4gzfxzxbyy200000gn/T"): error=2, No such file or directory
But it can be ignored - for some reason it locating an eclcc at /opt/HPCCSystems/bin/eclcc (which I will fix).
Also the submitting is working fine for me. Can you confirm that can open ECL Watch on the Mac and that the "Test" button is working on the configuration page?
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
Hitting test in the Run Configurations does and always has worked properly. The path to eclcc is also correct in the compiler tab.
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
Can you try turning off the "Override Defaults" on ECLCC Compiler Tab on the Run Configuration?
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
Here is the update. Just to clear some stuff up, as they are now clear to me:
Overriding defaults does get rid of the message
Cannot run program "/opt/HPCCSystems/bin/eclcc" (in directory "/var/folders/0g/9gr4m7cd2pbdgn5cn9kj01b40000gn/T"): error=2, No such file or directory
But, it still does not run the syntax check even though it says it does.
OUTPUT('Hello world');jaiofjoiaejfoajoiw
Is not seen as an error. Output to the console is
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc --version
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -M -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -fsyntaxcheck=1 -E -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
Also, hitting submit still does not submit the workunit to the cluster.
Overriding defaults does get rid of the message
Cannot run program "/opt/HPCCSystems/bin/eclcc" (in directory "/var/folders/0g/9gr4m7cd2pbdgn5cn9kj01b40000gn/T"): error=2, No such file or directory
But, it still does not run the syntax check even though it says it does.
OUTPUT('Hello world');jaiofjoiaejfoajoiw
Is not seen as an error. Output to the console is
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc --version
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -M -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -fsyntaxcheck=1 -E -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
Also, hitting submit still does not submit the workunit to the cluster.
Last edited by micevepay on Fri Aug 08, 2014 4:17 pm, edited 1 time in total.
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
Here is the update. Just to clear some stuff up, as they are now clear to me:
Overriding defaults does get rid of the message
Cannot run program "/opt/HPCCSystems/bin/eclcc" (in directory "/var/folders/0g/9gr4m7cd2pbdgn5cn9kj01b40000gn/T"): error=2, No such file or directory
But, it still does not run the syntax check even though it says it does.
OUTPUT('Hello world');jaiofjoiaejfoajoiw
Is not seen as an error. Output to the console is
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc --version
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -M -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -fsyntaxcheck=1 -E -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
Also, hitting submit still does not submit the workunit to the cluster.
Overriding defaults does get rid of the message
Cannot run program "/opt/HPCCSystems/bin/eclcc" (in directory "/var/folders/0g/9gr4m7cd2pbdgn5cn9kj01b40000gn/T"): error=2, No such file or directory
But, it still does not run the syntax check even though it says it does.
OUTPUT('Hello world');jaiofjoiaejfoajoiw
Is not seen as an error. Output to the console is
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc --version
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -M -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -fsyntaxcheck=1 -E -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl
Also, hitting submit still does not submit the workunit to the cluster.
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
Tried updating Java and got the newest version of Eclipse Luna. The ECL plugin does not work on Mac.
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
Can I get a screen shot (for sanity) of:
1. Run Configuration / HPCC Platform
2. Run Configuration / ECLCC Compiler
3. Open Editor Window
(I have attached mine for comparison)
1. Run Configuration / HPCC Platform
2. Run Configuration / ECLCC Compiler
3. Open Editor Window
(I have attached mine for comparison)
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
Return to VS Code and Eclipse IDE
Who is online
Users browsing this forum: No registered users and 1 guest