Sun Jul 21, 2019 8:43 am
Login Register Lost Password? Contact Us


unable to compile any job due to std file.ecl errors

Topics specific to the use of the ECL IDE

Wed May 15, 2019 7:15 pm Change Time Zone

HI,

i setup the complier and use the git repo as ECL folder.
I keep have errors about std file.ecl (like below) no matter what code I run, even a simple output.

Can someone help me understand what I can do to solve this problem?
Thank you so much!!

Error: Too many parameters passed to function RenameLogicalFile (expected 2) (141, 71), 2061, C:\Program Files\HPCCSystems\7.0.8\clienttools\share\ecllibrary\std\File.ecl

Error: Too many parameters passed to function fSprayFixed (expected 12) (420, 222), 2061,
LimianFang
 
Posts: 9
Joined: Wed May 15, 2019 7:11 pm

Wed May 15, 2019 7:30 pm Change Time Zone

Hi,

After I connected git repo and edited the compiler manually, i have been having these errors for any job , even a simple output.

errors are like below:
Error: Too many parameters passed to function RenameLogicalFile (expected 2) (141, 71), 2061,
Error: Too many parameters passed to function fSprayFixed (expected 12) (420, 222), 2061,

it seems they are all about file.ecl in the std folder but i dont know what I can do since the file.ecl comes from the ecl installation.

Thank you!
LimianFang
 
Posts: 9
Joined: Wed May 15, 2019 7:11 pm

Thu May 16, 2019 2:59 pm Change Time Zone

LimianFang,

These errors are self-explanatory -- you're trying to pass more parameters than the version of HPCC you're using supports. What version are you on? And are you looking at the docs for newer version (where more parameters have been added to the functions)?

HTH,

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

Thu May 16, 2019 3:03 pm Change Time Zone

Hi,

I am using the newest version. the errors remain if I use an older version.I didnt write any code myself. I am simplying outing a file on prod .
LimianFang
 
Posts: 9
Joined: Wed May 15, 2019 7:11 pm

Thu May 16, 2019 3:08 pm Change Time Zone

For example, this is my code. I am running it in Alpharetta Prod. THANK YOU!

import TelematicsConsolidation;
output(TelematicsConsolidation.files_database.DS_ALL_DRIVER_USER);



the errors are :
Error: Too many parameters passed to function RenameLogicalFile (expected 2) (141, 71), 2061, C:\Program Files\HPCCSystems\7.2.10\clienttools\share\ecllibrary\std\File.ecl
Error: Too many parameters passed to function fSprayFixed (expected 12) (420, 222), 2061, C:\Program Files\HPCCSystems\7.2.10\clienttools\share\ecllibrary\std\File.ecl
Error: Too many parameters passed to function SprayFixed (expected 12) (429, 221), 2061, C:\Program Files\HPCCSystems\7.2.10\clienttools\share\ecllibrary\std\File.ecl
Error: Too many parameters passed to function fSprayVariable (expected 18) (433, 348), 2061, C:\Program Files\HPCCSystems\7.2.10\clienttools\share\ecllibrary\std\File.ecl
Error: Too many parameters passed to function fSprayVariable (expected 18) (433, 358), 2061, C:\Program Files\HPCCSystems\7.2.10\clienttools\share\ecllibrary\std\File.ecl
Error: Too many errors (max = 5); Aborting... (433, 369), 3001, C:\Program Files\HPCCSystems\7.2.10\clienttools\share\ecllibrary\std\File.ecl
Warning: Mismatch in major version number (7.2.10 v 6.4.36) (0, 0), 3118,
LimianFang
 
Posts: 9
Joined: Wed May 15, 2019 7:11 pm

Thu May 16, 2019 3:20 pm Change Time Zone

LimianFang,

You need to examine the actual ECL code that's calling these functions (which your code does not show).

That would be somewhere inside the TelematicsConsolidation.files_database.DS_ALL_DRIVER_USER code.

HTH,

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

Thu May 16, 2019 3:54 pm Change Time Zone

Hi Richard,
The error remains for any other files I output.
LimianFang
 
Posts: 9
Joined: Wed May 15, 2019 7:11 pm

Thu May 16, 2019 6:14 pm Change Time Zone

LimianFang,

The problem is not in YOUR code, but the definition you're using (TelematicsConsolidation.files_database.DS_ALL_DRIVER_USER) contains calls to the functions that are mentioned in the error messages. Find those and look at the number of parameters they're passing and you should find there's at least one extra parameter that shouldn't be there. Then find the person that "owns" that code and ask them to help you fix it.

HTH,

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

Thu May 16, 2019 7:19 pm Change Time Zone

Hi Richard,

Thanks for your reply. however, I meant the errors remain no matter which file I output. not just that script I showed as an example, the errors still are there for ANY file on prod I try output.Other people have no such problem with same script.
I wonder whether there is some ECL setup issue with my new computer (my old computer doesnt have this error before). Do you know anyone that can troubleshoot with me?

I have reached out for several colleagues but no one can figure out why the errors.

Thanks a lot!
LimianFang
 
Posts: 9
Joined: Wed May 15, 2019 7:11 pm

Thu May 16, 2019 7:55 pm Change Time Zone

LimianFang,

What version is the environment on, and what version of the ECL IDE are you running? Is your environment using a central repository or GitLab?

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

Next

Return to ECL IDE

Who is online

Users browsing this forum: No registered users and 1 guest

cron