Mon Jun 01, 2020 10:25 pm
Login Register Lost Password? Contact Us


Error: Object does not have a member named 'fSprayJson'

Comments and questions related to the Enterprise Control Language

Thu Apr 23, 2020 7:49 pm Change Time Zone

I get the following errors:

Error: Object does not have a member named 'fSprayJson' (558, 35 - C:\Program Files (x86)\HPCCSystems\7.8.0\clienttools\share\ecllibrary\std\File.ecl)
Error: Unknown identifier "fSprayJson" (558, 35 - C:\Program Files (x86)\HPCCSystems\7.8.0\clienttools\share\ecllibrary\std\File.ecl)
Error: Incompatible types: can not assign Integer to varstring (557, 1 - C:\Program Files (x86)\HPCCSystems\7.8.0\clienttools\share\ecllibrary\std\File.ecl)
Error: Object does not have a member named 'SprayJson' (568, 35 - C:\Program Files (x86)\HPCCSystems\7.8.0\clienttools\share\ecllibrary\std\File.ecl)
Error: Unknown identifier "SprayJson" (568, 35 - C:\Program Files (x86)\HPCCSystems\7.8.0\clienttools\share\ecllibrary\std\File.ecl)
Error: Too many errors (max = 5); Aborting... (568, 44 - C:\Program Files (x86)\HPCCSystems\7.8.0\clienttools\share\ecllibrary\std\File.ecl)


I don't even seee where the code I'm calling would be calling fSprayJson. But I verified that C:\Program Files (x86)\HPCCSystems\7.8.0\clienttools\share\ecllibrary\std\File.ecl has fSprayJson at line 557.

My ECL IDE preferences show the compiler pointing to:
C:\Program Files (x86)\HPCCSystems\7.8.0\clienttools\bin\eclcc.exe

What do I need to fix to get my code to run?
janet.anderson
 
Posts: 38
Joined: Wed Jul 17, 2013 5:31 pm

Fri Apr 24, 2020 12:30 pm Change Time Zone

What is the Platform version on the server you are submitting to?

Jim
JimD
 
Posts: 154
Joined: Wed May 18, 2011 1:35 pm

Fri Apr 24, 2020 12:57 pm Change Time Zone

janet,

We've tried it with a stock 7.8.0 install and it works fine. So, is there any possibility that you've edited that file?

Also, what version of Client Tools are you using and what platform version (are they both the same, or is there a mismatch)?

HTH,

Richard
rtaylor
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1535
Joined: Wed Oct 26, 2011 7:40 pm

Fri Apr 24, 2020 2:28 pm Change Time Zone

I'm using 7.8.0 ECL IDE and Client Tools. The server is 7.6.40-rc1.
janet.anderson
 
Posts: 38
Joined: Wed Jul 17, 2013 5:31 pm

Fri Apr 24, 2020 2:47 pm Change Time Zone

It looks to be running now that I am choosing a different target (eclcc) on same server.
janet.anderson
 
Posts: 38
Joined: Wed Jul 17, 2013 5:31 pm

Fri Apr 24, 2020 4:00 pm Change Time Zone

In general, you should use a version of Client Tools that matches the server to which you are submitting ECL.

You can have more than one version of Client Tools installed. The IDE will auto-detect and use the version that best matches the target (unless you specify Override Compiler options in your configuration preferences).

The ECL extension for VSCode also auto-detects, if you let it.

HTH,

Jim
JimD
 
Posts: 154
Joined: Wed May 18, 2011 1:35 pm


Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest

cron