RapidMiner

error codes

Elite II

error codes

hi...I keep getting "error code 124".  What is this error?  And is there a list of the 3-digit RM error codes?


Thanks.


Scott

 

Scott Genzer
Certified RapidMiner Analyst
Genzer Consulting
6 REPLIES
Moderator

Re: error codes

Scott,

are you sure this does not originate from a database? -124 would be too long insert statement. Any RM Server invovled?

 

~Martin

--------------------------------------------------------------------------
Head of Data Science Services at RapidMiner
Elite II

Re: error codes

It's from an Execute Program operator running a shell script command. Is there a character limit?
Scott Genzer
Certified RapidMiner Analyst
Genzer Consulting
Elite II

Re: error codes

And yes it's running on the server. Sorry posted on the wrong forum. 😊
Scott Genzer
Certified RapidMiner Analyst
Genzer Consulting
Moderator

Re: error codes

[ Edited ]

Hey Scott,

 

learning something new every day Smiley Happy 124 is:


error.124.name = Wrong process setup
error.124.short = The operator cannot handle more than {1} input objects of type {0}.
error.124.long = Each operator defines which input is desired for applying this operator (these input objects are shown in operator info screen (F1)). Previous operators must load or produce the desired input objects. You can check the correct process setup by validating the process (via the icon or the menu item).

All messages are defined here: https://github.com/rapidminer/rapidminer-studio/blob/4759926c6cf845c42b961ef3faff2442a26662ca/src/ma...

 

Cheers,

Martin

--------------------------------------------------------------------------
Head of Data Science Services at RapidMiner
Elite II

Re: error codes

thanks for the link.  That's very helpful.  Unfortunately that message seems weird.  What I have is an Execute Program operator inside a loop where it executes a shell script with different variables every time.  Sort of like this:

 

file_name macros inside loop:

Scott.txt

Bob.txt

Eric.txt

Mary.txt

etc...

 

Execute Program

cat %{file_name}

 

Then I pull the output and do some work on it.  I'm not actually using cat...it's just an example.

 

Normally this works fine but every once in a while I get this error 124.  Maybe it's character length or a weird character?  I will see next time it happens.

 

And any thoughts on how to timeout if the shell script will not terminate?  I tried the Unix "timeout 1 cat %{file_name}" but RapidMiner does not like it for some reason...

 

Thanks.


Scott

Scott Genzer
Certified RapidMiner Analyst
Genzer Consulting
Highlighted
Moderator

Re: error codes

Hi,

 

Execute Program will usually try to relay the OS error code of your command.

 

Regards,

Marco

_________________________________________________________
Team Lead Software Engineering | RapidMiner GmbH