I have another question regarding the type of solutions possible. I have a challenge where I want a solutions in a form of Java programs. I noticed the "With compilation" option and it works fine, but I wonder how the evaluation procedure then should look like. During evaluation I would like to run solutions to test them on my own data set. I thought that in the evaluator I should execute loader.runProcess with userLabelsName as the argument, but I got:
- Code: Select all
ERROR. You do not have access rights required to perform the operation
-------------stack-trace-------------
org.tunedit.tester.a.g: You do not have access rights required to perform the operation
at org.tunedit.tester.e.<init>(Unknown Source)
at org.tunedit.tester.w.runProcess(Unknown Source)
at javaTestEval.JavaTestEval.run(JavaTestEval.java:30)
at org.tunedit.core.EvaluationProcedure.run(EvaluationProcedure.java:70)
at org.tunedit.tester.C.main(Unknown Source)
Caused by: java.security.PrivilegedActionException: java.io.IOException: Cannot run program "C:\Users\Wojtek\tunedit-cache\wjaskowski\challenges\kck10test\alg\wjaskowski\1286363051_Submission1.jar": CreateProcess error=193, %1 is not a valid Win32 application
at java.security.AccessController.doPrivileged(Native Method)
... 5 more
Caused by: java.io.IOException: Cannot run program "C:\Users\Wojtek\tunedit-cache\wjaskowski\challenges\kck10test\alg\wjaskowski\1286363051_Submission1.jar": CreateProcess error=19
3, %1 is not a valid Win32 application
at java.lang.ProcessBuilder.start(Unknown Source)
at org.tunedit.tester.B.run(Unknown Source)
... 6 more
Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 8 more
I am probably doing something wrong. It would be easier for me if you could provide any example of such a procedure. In particular, I am interested how to deal in a proper way with abnormal program termination (Runtime exception, timeout, wrong exit code, etc.), so a student could have a feedback what went wrong.
Thanks in advance,
Wojtek