The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"User error operator MCIO (multiple_color_image_opener) cannot be executed"

john1john1 Member Posts: 7 Contributor I
edited June 2019 in Help

good afternoon

I have a problem with  my project and i cannot understand why?

my code is :

 

RapidMiner.setExecutionMode(RapidMiner.ExecutionMode.COMMAND_LINE);
RapidMiner.init();

Process location = new Process(new File("C:\\Users\\john\\.RapidMiner\\repositories\\Local Repository\\processes\\project_solar_parks.rmp"));

Operator a = location.getOperator("MCIO");

a.setPairParameter("images", "photovoltaika", save_image);

IOContainer ioResult = location.run();
IOObject result = ioResult.getElementAt(0);

 

 

and the error is :

com.rapidminer.operator.UserError: The dummy operator MCIO (replacing imageprocessing:multiple_color_image_opener) cannot be executed.
at com.rapidminer.operator.DummyOperator.doWork(DummyOperator.java:94)
at com.rapidminer.operator.Operator.execute(Operator.java:1004)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
at com.rapidminer.operator.ExecutionUnit$3.run(ExecutionUnit.java:812)
at com.rapidminer.operator.ExecutionUnit$3.run(ExecutionUnit.java:807)
at java.security.AccessController.doPrivileged(Native Method)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:428)
at com.rapidminer.operator.Operator.execute(Operator.java:1004)

 

can someone help me?

 

thanks

john

Tagged:

Answers

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn
    This era relates to the fact that the process cannot find the image mining extension. It appears you might be using RapidMiner server? If so you need to install the image mining extension on the server for you to execute a process on the server.
  • john1john1 Member Posts: 7 Contributor I

    Good afternoon

    I am not using RpidMiner Server . I am using RapidMiner version 7.0 Basic Edition.

    I plugged in image_miner 1.4.1.jar  Extensions .

     

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    This message:

     

    "com.rapidminer.operator.UserError: The dummy operator MCIO (replacing imageprocessing:multiple_color_image_opener) cannot be executed.
    at com.rapidminer.operator.DummyOperator.doWork(DummyOperator.java:94)"

     

    Means that it's not finding the opreator somehow. Did you properly install the extension? The image mining exetension is a 3rd party extension, I would ping @Vaclav to see what your problem could be. 

  • john1john1 Member Posts: 7 Contributor I

    i dowloaded the imageminer from here: http://splab.cz/en/download/software/immi-rapidminer-extenison

    i putted the jar into rapidminerstudio/lib/plugin/

    after that i putted the same jar in my java project as library

     

  • VaclavVaclav RapidMiner Certified Expert, Member Posts: 23 Maven

    Hello John,

    If I understand it properly, you are trying to run RM from code. The problem is, that the plugin is not loaded, because RM has it's own way to load plugins.  You have to set the plugin directory before calling RapidMiner.init();

     

    System.setProperty(RapidMiner.PROPERTY_RAPIDMINER_INIT_PLUGINS_LOCATION,"C:/Program Files/RapidMiner/plugins/");
    RapidMiner.init();

    Hope this helps.

     

    Vaclav

  • john1john1 Member Posts: 7 Contributor I

    Unfortunately my programm didnot work.

    Again print the same mistake.

     

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    When you run RapidMiner Studio and load your process and hit Play, does it work?

  • john1john1 Member Posts: 7 Contributor I

    yes 

    error message:

     <em class="error">The operator class 'imageprocessing:open_color_image' is unknown. Possibly you must install a plugin for operators of group 'imageprocessing'.</em>

    i changed MCIO to open color image the same message appears .

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    Yeah you did something wrong when you installed the plugin. So until you fix that, it's not going to work. I would try to reinstall it again and follow the image mining documentation on how to do it: http://www.burgsys.com/download/mumi_enterprise.pdf

     

  • john1john1 Member Posts: 7 Contributor I

    i do exactly what the pdf says.I notice that when put the jar  rapidminer-Image_1.4.1.jar in my project .i use netbeans.i notice that  print a unexpected exception: org.netbeans.modules.parsing.spi.ParseException

    i donot ksno why happens this.

  • john1john1 Member Posts: 7 Contributor I

    i want to ask you how to say in rapidminer api java that the operator "open color image" refers to the class ReadColorImageOperator 

    thanks

Sign In or Register to comment.