🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Possible Error in Scripting Example in How to Extend RapidMiner tutorial

User: "jcurry1"
New Altair Community Member
Updated by Jocelyn
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)


Find more posts tagged with