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

"text processing operator does not run in Ubuntu"

siawlingsiawling Member Posts: 4 Contributor I
edited June 2019 in Help
hi,

We have written a Java program to execute set of rapidminer command through rmp file to process text file into word vector using TF-IDF, stemming and etc. This program works fine in Windows environment but when we port it to Ubuntu, it gave the following error message:

com.rapidminer.operator.UserError: The dummy operator Read Doucment (replacing text:read_document) cannot be executed.
  at com.rapidminer.operator.DummyOperator.doWork(DummyOperator.java:88)
  .....


The following is the Java code:
RapidMiner.init();
Process pr = new Process(new File("/home/administrator/test/process/newp/C.rmp"));
try {
pr.run();
} catch (OperatorException e) {
e.printStackTrace();
}


We have given all the read-write access to the files and directory.
We also tried adding the following before the RapidMiner.init() but nothing seems to work.
                        RapidMiner.setExecutionMode(ExecutionMode.COMMAND_LINE);
Plugin.setInitPlugins(true);

Really appreciate your guidance and advice.

Answers

  • aborgaborg Member Posts: 66 Contributor II
    Hello,

      Do you have the same plugins installed?
    Cheers, gabor
Sign In or Register to comment.