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


Syntax Check Failure

Topics around the use of the VS Code & Eclipse plugins

Thu Aug 14, 2014 3:10 pm Change Time Zone

Editor/Compiler/Platform
Attachments
editor.jpg
(187.93 KiB) Downloaded 554 times
Compiler.jpg
(113.33 KiB) Downloaded 554 times
Platform.jpg
(132.53 KiB) Downloaded 554 times
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Fri Aug 15, 2014 3:09 pm Change Time Zone

Those screenshots all look good.

Can you open a terminal and try the following:

Code: Select all
echo 123 > tmp.ecl
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -E ./tmp.ecl


You should get a XML structure echoed out to the terminal.
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Mon Aug 18, 2014 2:59 pm Change Time Zone

Code: Select all
<Archive build="community_5.0.0-3"
         eclVersion="5.0.0"
         legacyImport="0"
         legacyWhen="0">
<Query attributePath="tmp"/>
<Module key="" name="">
  <Attribute key="tmp" name="tmp" sourcePath="./tmp.ecl">
   123&#10;
  </Attribute>
</Module>
</Archive>
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Aug 18, 2014 5:24 pm Change Time Zone

I am just coming from this thread: viewtopic.php?t=1425&p=6231#p6231 (where the OSX user is using plugin to target an older system)

Which made me revisit your setup.

Your running 5.0.0-3 client tools and the server is 5.0.0-rc8.

While mixing those two setups is probably fine for the most part, I am wondering if there is an issue with eclipse in the "auto find best compiler for server" logic. Can you grab the 5.0.0-rc8 client tools and remove your 5.0.0-3 ones and see if that helps?
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Mon Aug 18, 2014 7:17 pm Change Time Zone

I don't know where I can get Client Tools 5.0.0-rc8 from. Let me see if someone will update the server instead.
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Aug 18, 2014 8:42 pm Change Time Zone

Just updated the hpcc platform so that it is consistent with client tools... Both are 5.0.0-3
but the issues still exist.


Server: community_5.0.0-3
Compiler: 5.0.0 community_5.0.0-3
Attachments
updated.tiff
(154.66 KiB) Downloaded 526 times
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Sat Aug 23, 2014 10:02 pm Change Time Zone

gsmith wrote:I am just coming from this thread: viewtopic.php?t=1425&p=6231#p6231 (where the OSX user is using plugin to target an older system)

Which made me revisit your setup.

Your running 5.0.0-3 client tools and the server is 5.0.0-rc8.

While mixing those two setups is probably fine for the most part, I am wondering if there is an issue with eclipse in the "auto find best compiler for server" logic. Can you grab the 5.0.0-rc8 client tools and remove your 5.0.0-3 ones and see if that helps?



Is there anything else I can try? Both are now 5.0.0-3 but the error still exists.
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Aug 25, 2014 6:32 am Change Time Zone

I think I may have reproduced your issue. Can you open a terminal and run:
Code: Select all
/opt/HPCCSystems/5.0.0/clienttools/bin/eclcc -M -I/Users/micevepay/Documents/workspace/hello_world /Users/micevepay/Documents/workspace/hello_world/hello.ecl

(Where the above corresponds to one of your files from earlier in the thread).

On the machine I have reproduced this on, I am seeing two unexpected errors prior to the expected output:
Code: Select all
hostname MacBook-OSX-6.local not resolved, using localhost
hostname MacBook-OSX-6.local not resolved, using localhost
...


Are you seeing something similar?
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Mon Aug 25, 2014 3:21 pm Change Time Zone

Yes that is exactly what I get.
micevepay
 
Posts: 62
Joined: Wed Apr 02, 2014 7:30 pm

Mon Aug 25, 2014 4:53 pm Change Time Zone

I have found the cause and opened an issue report: https://track.hpccsystems.com/browse/HPCC-12145

In my case I only get the issue when logged in as "Guest", are you running as a restricted user?
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