On 06:55 Thu 15 Nov , Bart van deenen wrote:
> Hi all
>
> I'm setting up disco on a new computer and am running into an irritating
> erlang error (when running
>
> python examples/util/count_words.py) on a localhost machine. I have not installed disco, just using ./bin/disco nodaemon.
> The error is:
>
> {badarg,[{erlang,open_port,
> [{spawn,"nice -n 19 /home/bvdeenen/disco/root/data/localhost/4c/Job@548:f1dd1:14d9e/usr/local/lib/python2.7/dist-packages/disco/worker/classic/worker.py"},
> [{cd,"/home/bvdeenen/disco/root/data/localhost/4c/Job@548:f1dd1:14d9e"},
> stream,binary,exit_status,use_stdio,stderr_to_stdout,
> {env,[{"DISCO_DEBUG",false},
> {"DISCO_MASTER_ROOT",false},
> {"DDFS_PUT_MAX",false},
> {"DISCO_TEST_PURGE",false},
> {"DISCO_PORT",false},
> {"DISCO_JOB_OWNER",false},
> {"DISCO_PROXY_PID",false},
> {"DISCO_TEST_HOST",false},
> {"DISCO_NAME",false},
> {"DISCO_PROXY_PORT",false},
> {[...],...},
> {...}|...]}]],
> []},
> {disco_worker,handle_cast,2,
> [{file,"src/disco_worker.erl"},{line,127}]},
> {gen_server,handle_msg,5,
> [{file,"gen_server.erl"},{line,607}]},
> {proc_lib,init_p_do_apply,3,
> [{file,"proc_lib.erl"},{line,227}]}]}
>
> I have just confirmed that the issue is with erlang R15B02, going back to R01 makes the issue disappear.
> I'm not good enough with disco yet to try to fix it.
Could you try the fix mentioned in
https://github.com/discoproject/disco/issues/330
--
prashanth