Fri Dec 04, 2020 2:05 pm
Login Register Lost Password? Contact Us


Syntax Check Failure

Topics around the use of the VS Code & Eclipse plugins

Mon Jul 21, 2014 8:12 pm Change Time Zone

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...
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Sat Aug 02, 2014 8:19 pm Change Time Zone

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.
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Sat Aug 02, 2014 8:19 pm Change Time Zone

I can't even submit anything on my mac
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Thu Aug 07, 2014 1:01 pm Change Time Zone

I am looking at this on a Mac now. I am also getting the error:
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: 285
Joined: Thu May 12, 2011 9:40 am

Thu Aug 07, 2014 4:41 pm Change Time Zone

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

Fri Aug 08, 2014 7:06 am Change Time Zone

Can you try turning off the "Override Defaults" on ECLCC Compiler Tab on the Run Configuration?
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Fri Aug 08, 2014 4:14 pm Change Time Zone

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.
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

Fri Aug 08, 2014 4:16 pm Change Time Zone

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.
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Aug 11, 2014 11:36 pm Change Time Zone

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

Thu Aug 14, 2014 2:57 pm Change Time Zone

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)
Attachments
three.PNG
(92.98 KiB) Downloaded 501 times
two.PNG
(47.61 KiB) Downloaded 501 times
one.PNG
(63.26 KiB) Downloaded 501 times
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

PreviousNext

Return to VS Code and Eclipse IDE

Who is online

Users browsing this forum: No registered users and 1 guest