Options

Possible Error in Scripting Example in How to Extend RapidMiner tutorial

jcurry1jcurry1 Member Posts: 24 Contributor II
edited October 2019 in Help
Hi there,
To be aware, it looks like there is a small bug in the scripting example in  "How to Extend RapidMiner 5".  There is an extra left bracket on the line.  I had to match it on the right to get the script to work.

A very,very  small thing, but this might save other newbies a half hour of debugging as the compilation error (see below) was misleading so I missesd the obvious error.  If I am correct, can you correct the document?

Thanks,
John.


String newName=("date(" + sourceAttribute.getName()+")";
Jan 3, 2013 2:29:33 PM SEVERE: Process failed: The scripting engine Groovy reported an error in the script: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 19: unexpected token: for @ line 19, column 1.
  for (Example example : exampleSet)
  ^

1 error
.
Jan 3, 2013 2:29:33 PM SEVERE: Here:           Process[1] (Process)
          subprocess 'Main Process'
            +- Read CSV[1] (Read CSV)
      ==>   +- Execute Script[1] (Execute Script)


Answers

  • Options
    Nils_WoehlerNils_Woehler Member Posts: 463 Maven
    Hi John,

    thanks for reporting! I will update the document :-)

    Best,
    Nils
Sign In or Register to comment.