[Scilab-users] test_run failed: Slave Scilab exited with error code 127
philippe
rouxph.22 at gmail.com
Tue Aug 6 15:03:39 CEST 2019
Le 02/08/2019 à 16:27, Samuel Gougeon a écrit :
>
> In test_run.sci
> edit test_run
> you may insert
> disp(test_cmd)
> in absolute line 891, just before launching the slave session with
>
> returnStatus = host(test_cmd);
>
> And see what it is.
I've just done this an get :
-> test_run("ast",[],"no_check_ref")
TMPDIR = /tmp/SCI_TMP_32597_VRKa5r
Module 001/001 - [ast] :
001/154 - [ast] Sand.........................................
( /usr/-6.0.2//bin/scilab -nwni -nb -quit --timeout 15m -f
/tmp/SCI_TMP_32597_VRKa5r/Sand.tst > /tmp/SCI_TMP_32
597_VRKa5r/Sand.res ) 2> /tmp/SCI_TMP_32597_VRKa5r/Sand.er
the command line "/usr/-6.0.2//bin/scilab" should be instead :
/usr/share/scilab-6.0.2/bin/scilab
the problem seems to come from line 811
if (getos() <> "Windows") & ~isfile(SCI+"/bin/scilab") then
SCI_BIN = strsubst(SCI,"share/scilab","");//<---line 811
else
SCI_BIN = SCI;
end
there is two occurrences of "share/scilab" in the path so the
substitution is not valid :
--> SCI
SCI =
/usr/share/scilab-6.0.2/share/scilab
the line 811 should be replaced with something like :
SCI_path=strsplit(SCI,'/');SCI_BIN = strcat(SCI_path(1:$-2),'/');
but this modification freeze scilab when launching test_run although
running "/usr/share/scilab-6.0.2/bin/scilab -nwni -nb -quit --timeout
15m -f /tmp/SCI_TMP_32597_VRKa5r/Sand.tst" from a terminal is ok ...?
Thanks a lot Samuel for the help, do you want me to add a bug report ?
Philippe
More information about the users
mailing list