Failing human resource demo

23 views
Skip to first unread message

Martin Schneider

unread,
Jun 3, 2016, 11:45:29 AM6/3/16
to drake-workflow
Hi everyone,

I started to look into Drake. I'm currently trying to run the human Resource demo. But I failes with the following stacktrace:

martin@note-9028:~/workspace/drake/humanResource$ drake
The following steps will be run, in order:
 
1: /home/martin/workspace/drake/humanResource/././last_gt_first.txt, /home/martin/workspace/drake/humanResource/././first_gt_last.txt <- /home/martin/workspace/drake/humanResource/././people.json [missing output]
 
2: /home/martin/workspace/drake/humanResource/././for_HR.csv <- /home/martin/workspace/drake/humanResource/././people.json [missing output]
Confirm? [y/n] y
Running 2 steps with concurrence of 1...

--- 3. Running (missing output): /home/martin/workspace/drake/humanResource/././last_gt_first.txt, /home/martin/workspace/drake/humanResource/././first_gt_last.txt <- /home/martin/workspace/drake/humanResource/././people.json

--- 4. Running (missing output): /home/martin/workspace/drake/humanResource/././for_HR.csv <- /home/martin/workspace/drake/humanResource/././people.json
--- 4: /home/martin/workspace/drake/humanResource/././for_HR.csv <- /home/martin/workspace/drake/humanResource/././people.json -> done in 0.05s
Done (1 steps run).
java
.io.IOException: Cannot run program "ruby" (in directory "/home/martin/workspace/drake/humanResource/."): error=2, No such file or directory
    at java
.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
    at java
.lang.Runtime.exec(Runtime.java:617)
    at drake
.shell$shell.doInvoke(shell.clj:106)
    at clojure
.lang.RestFn.applyTo(RestFn.java:137)
    at clojure
.core$apply.invoke(core.clj:624)
    at drake
.protocol$run_interpreter.invoke(protocol.clj:86)
    at drake
.protocol_interpreters$register_interpreter_BANG_$reify__4753.run(protocol_interpreters.clj:14)
    at drake
.core$run_step.invoke(core.clj:367)
    at drake
.core$attempt_run_step.invoke(core.clj:479)
    at drake
.core$function_for_step$fn__5091.invoke(core.clj:502)
    at drake
.core$trigger_futures_helper$fn__5102.invoke(core.clj:540)
    at clojure
.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1910)
    at clojure
.lang.AFn.call(AFn.java:18)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java
.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=2, No such file or directory
    at java
.lang.UNIXProcess.forkAndExec(Native Method)
    at java
.lang.UNIXProcess.<init>(UNIXProcess.java:187)
    at java
.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java
.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
   
... 16 more


If I try the "simplest" workflow explained in the Tutorial, all works fine.

I hope someone can spot my error and can help me.

Best

Martin

Catherine Dalzell

unread,
Aug 15, 2016, 1:44:29 PM8/15/16
to drake-workflow
Do you have Ruby installed? It seems to be looking for Ruby and not finding it.
Reply all
Reply to author
Forward
0 new messages