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
Rapidminer Script
Hi,
I tried to start a process from the command line, but all attempts failed because of several errors:
./scripts/rapidminer "//Local Repository/processes/Learn.rmp"
ERROR:
WARNING: Cannot read process setup //Local Repository/processes/Learn.rmp: No such entry: //Local Repository/processes/Learn.rmp
java.io.IOException: No such entry: //Local Repository/processes/Learn.rmp
at com.rapidminer.RepositoryProcessLocation.getEntry(RepositoryProcessLocation.java:57)
at com.rapidminer.RepositoryProcessLocation.getRawXML(RepositoryProcessLocation.java:68)
at com.rapidminer.RepositoryProcessLocation.load(RepositoryProcessLocation.java:79)
at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:141)
at com.rapidminer.RapidMinerCommandLine.main(RapidMinerCommandLine.java:196)
2nd attempt:
./scripts/rapidminer "/home/marcel/.RapidMiner5/repositories/Local Repository/processes/Learn.rmp"
ERROR:
WARNING: Cannot read process setup /home/marcel/.RapidMiner5/repositories/Local Repository/processes/Learn.rmp: Cannot locate entry '//null/home/marcel/.RapidMiner5/repositories/Local Repository/processes/Learn.rmp': com.rapidminer.repository.RepositoryException: Requested repository null does not exist.
java.io.IOException: Cannot locate entry '//null/home/marcel/.RapidMiner5/repositories/Local Repository/processes/Learn.rmp': com.rapidminer.repository.RepositoryException: Requested repository null does not exist.
at com.rapidminer.RepositoryProcessLocation.getEntry(RepositoryProcessLocation.java:54)
at com.rapidminer.RepositoryProcessLocation.getRawXML(RepositoryProcessLocation.java:68)
at com.rapidminer.RepositoryProcessLocation.load(RepositoryProcessLocation.java:79)
at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:141)
at com.rapidminer.RapidMinerCommandLine.main(RapidMinerCommandLine.java:196)
Caused by: com.rapidminer.repository.RepositoryException: Requested repository null does not exist.
What is the exact command to start the skript?
Thank you
Marcel
I tried to start a process from the command line, but all attempts failed because of several errors:
./scripts/rapidminer "//Local Repository/processes/Learn.rmp"
ERROR:
WARNING: Cannot read process setup //Local Repository/processes/Learn.rmp: No such entry: //Local Repository/processes/Learn.rmp
java.io.IOException: No such entry: //Local Repository/processes/Learn.rmp
at com.rapidminer.RepositoryProcessLocation.getEntry(RepositoryProcessLocation.java:57)
at com.rapidminer.RepositoryProcessLocation.getRawXML(RepositoryProcessLocation.java:68)
at com.rapidminer.RepositoryProcessLocation.load(RepositoryProcessLocation.java:79)
at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:141)
at com.rapidminer.RapidMinerCommandLine.main(RapidMinerCommandLine.java:196)
2nd attempt:
./scripts/rapidminer "/home/marcel/.RapidMiner5/repositories/Local Repository/processes/Learn.rmp"
ERROR:
WARNING: Cannot read process setup /home/marcel/.RapidMiner5/repositories/Local Repository/processes/Learn.rmp: Cannot locate entry '//null/home/marcel/.RapidMiner5/repositories/Local Repository/processes/Learn.rmp': com.rapidminer.repository.RepositoryException: Requested repository null does not exist.
java.io.IOException: Cannot locate entry '//null/home/marcel/.RapidMiner5/repositories/Local Repository/processes/Learn.rmp': com.rapidminer.repository.RepositoryException: Requested repository null does not exist.
at com.rapidminer.RepositoryProcessLocation.getEntry(RepositoryProcessLocation.java:54)
at com.rapidminer.RepositoryProcessLocation.getRawXML(RepositoryProcessLocation.java:68)
at com.rapidminer.RepositoryProcessLocation.load(RepositoryProcessLocation.java:79)
at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:141)
at com.rapidminer.RapidMinerCommandLine.main(RapidMinerCommandLine.java:196)
Caused by: com.rapidminer.repository.RepositoryException: Requested repository null does not exist.
What is the exact command to start the skript?
Thank you
Marcel
0
Answers
in this thread: http://rapid-i.com/rapidforum/index.php?topic=5545.0 there is the correct syntax for calling processes from the command line. The bottom line is that you must *not* add the extension .rmp to the call. However, the use of the command line is deprecated - usually we use a RapidMiner Server and webservices to interact with 3rdparty programs.
No matter which alternative you choose please keep in mind that RapidMiner Community Edition is released under the AGPL, which means that also your software must be under the same license.
Best regards,
Marius