Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-06 Thread philippe
Le 06/08/2019 à 15:38, Samuel Gougeon a écrit : Le 06/08/2019 à 15:03, philippe a écrit : 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

Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-06 Thread philippe
Le 06/08/2019 à 15:44, Samuel Gougeon a écrit : So, shouldn't the command line be /usr/share/scilab-6.0.2/share/scilab/bin/scilab intead of /usr/share/scilab-6.0.2/bin/scilab that you mention earlier? Could you confirm please? for ubuntu 18.04 current scilab version is 6.0.1 so I've

Re: [Scilab-users] How to print GUI window?

2019-08-06 Thread Samuel Gougeon
Le 06/08/2019 à 14:45, P M a écrit : nice, so we getting closer. I would blame win10 for the scaling... This is, because in win7 I do get the correct Image, when executing the code I tested under win10. There might be a quite quick and short term solution to calibrate scale factors

Re: [Scilab-users] How to print GUI window?

2019-08-06 Thread Samuel Gougeon
Le 06/08/2019 à 14:29, Samuel Gougeon a écrit : Le 06/08/2019 à 14:03, VTX1801 a écrit : .../... Can the gui2bitmap mode be set to capture the window that has focus? No it can't. It snapshots the window whose handle is provided, that is not necessarily the one that has the java focus.

Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-06 Thread Samuel Gougeon
Le 06/08/2019 à 15:44, Samuel Gougeon a écrit : Le 06/08/2019 à 15:03, philippe a écrit : .../... 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.

Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-06 Thread Samuel Gougeon
Le 06/08/2019 à 15:03, philippe a écrit : .../... 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

Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-06 Thread Samuel Gougeon
Le 06/08/2019 à 15:03, philippe a écrit : .../... 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

Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-06 Thread philippe
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 : ->

Re: [Scilab-users] How to print GUI window?

2019-08-06 Thread Samuel Gougeon
Le 06/08/2019 à 14:45, P M a écrit : nice, so we getting closer. I would blame win10 for the scaling... This is, because in win7 I do get the correct Image, when executing the code I tested under win10. Thanks Philipp for this compared feedback. I am not sure that differences come

Re: [Scilab-users] How to print GUI window?

2019-08-06 Thread P M
beside the Images names, both Images are created with exact the same codesee attachment Note: The appearance of the borders in the Win7 Image. I guess it is the window style setting that leads to the difference. Am Di., 6. Aug. 2019 um 14:45 Uhr schrieb P M : > ..forgot a second

Re: [Scilab-users] How to print GUI window?

2019-08-06 Thread P M
..forgot a second Image Am Di., 6. Aug. 2019 um 14:45 Uhr schrieb P M : > nice, so we getting closer. > > I would blame win10 for the scaling... > > This is, because in win7 I do get the correct Image, when executing the > code I tested under win10. > > > > > > > > > > Am Di., 6. Aug.

Re: [Scilab-users] How to print GUI window?

2019-08-06 Thread P M
nice, so we getting closer. I would blame win10 for the scaling... This is, because in win7 I do get the correct Image, when executing the code I tested under win10. Am Di., 6. Aug. 2019 um 14:03 Uhr schrieb VTX1801 : > Philipp, > Your hint was the answer. > However, there is a

Re: [Scilab-users] How to print GUI window?

2019-08-06 Thread VTX1801
Philipp, Your hint was the answer. However, there is a slight background image on the left, right and bottom. The screen scale was set to 125 percent. Now with the scale set to 100 percent the GUI prints on one page with about 1/4 inch left and right space and about one inch top and bottom space.

Re: [Scilab-users] How to print GUI window?

2019-08-06 Thread P M
one hint what is the scale factor of your screen settingmine was set to 125% I try to freely translate from German windows to english -> right click on desktop -> Display setting (or something like this..second from the bottom) -> change size of text, Apps and other elements back to 100%