error codes

sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
edited November 2018 in Help

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

 

Tagged:

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,453 RM Data Scientist

    Scott,

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

     

    ~Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    It's from an Execute Program operator running a shell script command. Is there a character limit?
  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    And yes it's running on the server. Sorry posted on the wrong forum. ?
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,453 RM Data Scientist

    Hey Scott,

     

    learning something new every day :) 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/main/resources/com/rapidminer/resources/i18n/UserErrorMessages.properties

     

    Cheers,

    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    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

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,985 RM Engineering

    Hi,

     

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

     

    Regards,

    Marco

Sign In or Register to comment.