unable to compile any job due to std file.ecl errors
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,
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
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!
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
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
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
- Posts: 1619
- Joined: Wed Oct 26, 2011 7:40 pm
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 .
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
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,
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
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
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
- Posts: 1619
- Joined: Wed Oct 26, 2011 7:40 pm
Hi Richard,
The error remains for any other files I output.
The error remains for any other files I output.
- LimianFang
- Posts: 9
- Joined: Wed May 15, 2019 7:11 pm
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
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
- Posts: 1619
- Joined: Wed Oct 26, 2011 7:40 pm
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!
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
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
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
- Posts: 1619
- Joined: Wed Oct 26, 2011 7:40 pm
15 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest