Rapidminer can't show results after executing own operators

Pascal_WelkePascal_Welke MemberPosts:10因素二世
edited November 2018 inHelp
Hey there,

I'm freaking out. Two weeks ago everything was fine (except for my own bugs) and now this: I've written some scripting operators that allow the use of matlab syntax inside rapidminer.

My process looks like this:





<宏/ >









<连接从_port="input 1" to_op="matcommand" to_port="example set"/>
<连接从_op="matcommand" from_port="example set" to_port="output 1"/>










<连接从_op="Generate Data" from_port="output" to_op="Matlab Environment" to_port="input 1"/>
<连接从_op="Matlab Environment" from_port="output 1" to_op="Write AML" to_port="input"/>
<连接从_op="Write AML" from_port="through" to_port="result 1"/>






The .aml and .dat files produced by the "Write AML" operator contain the desired data. But at the end of the process when I switch to the result view that view freezes and shows nothing.
What did I do wrong?
My Operator converts the results of matlabs work as a MemoryExampleTable t containing DoubleArrayDataRows and delivers t.createExampleSet()
Tagged:

Best Answer

  • fischerfischer MemberPosts:439Maven
    Solution Accepted
    Hi,

    maybe the perspective crashed when RM tries to find a dockable that is no longer there.

    Try these:

    - View -> Restore default perspective (Switch to the broken perspective before you do that. Maybe it is not frozen, but doesn't display anything.)
    - In your home folder, delete .RapidMiner5/vlperspective-*.xml

    Best,
    Simon

Answers

  • fischerfischer MemberPosts:439Maven
    Hi,

    How do you expect anyone to answer this question without having your operator?
    You probably want to suspend your AWT thread and debug.

    Best,
    Simon
  • pablucu5pablucu5 MemberPosts:15Maven
    I have the same problem. I was creating a plugin that modifies a little bit the GUI. Today I started the RM5 (from Eclipse) and when the program had to show the result perspective it didn't show that perspective. I tried to solve the problem but It didn't worked, I tried to:

    Erase the plugin from the plugin directory.
    Replace the src code of the Eclipse project by a non-modified-src-code, recompiled and ran it again.
    Inizializate the RM5 installed on my pc and the result perspective didn't work neither!
    Unisntalled the RM5, downloaded last version, installed again.

    When I run the program I can move between welcome and design perspective without any problem but it freezes (just that view, not the program) when choosing the result perspective (or when the program is suposed to change to that perspective).

    So, I'm not able to run RM5 even re-installing it. Maybe it has some config file somewhere, I don't know how to solve the problem.
  • pablucu5pablucu5 MemberPosts:15Maven
    Thank you very much, problem solved! ;D

    This was the key: - In your home folder, delete .RapidMiner5/vlperspective-*.xml
  • Pascal_WelkePascal_Welke MemberPosts:10因素二世
    That did the trick with me, too. Thanks.
    Sorry for not providing more information on my operators in the last weeks. I`m only working part time of a part time student job on this particular thing and got lost in other stuff.
    I didn't paste code in the first place because I was pretty shure, the freezing wasn't my fault;)
  • larriemolarriemo MemberPosts:1Contributor I

    I delete all files with a recent date of generation and it's works me

Sign InorRegisterto comment.