[Scilab-users] ATOMS does not work on macOS Mojave 10.14.6 - is it a bug? Входящие x IEEE x

2019-08-01 Thread Nikolay Strelkov
Dear community! I have strange behavior of ATOMS in Scilab 6.0.2 (downloaded from official link - http://www.utc.fr/~mottelet/scilab/download/6.0.2/scilab-6.0.2-x86_64.dmg ) on macOS Mojave 10.14.6. The ATOMS does not work on Scilab which normally launched from Applications menu of from launcher (

[Scilab-users] How to print GUI window?

2019-08-01 Thread VTX1801
Hello, I am attempting to print the GUI window using various commands in a callback function. A Java exception occurs. For example the following is the error in the console window: printfigure: A Java exception arisen: Exception when calling Java method : org.scilab.modules.gui.bridge.tab.SwingSc

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

2019-08-01 Thread philippe
Hi, I've just move to a new laptop and I try to rebuild toolboxes I've created for scilab-6.0.2, every thing looks fine except that all unit tests fail ! I realize that in fact ALL SCILAB unit tests fail with the same error message : --> test_run([],[],'no_check_ref') TMPDIR = /tmp/SCI_

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 14:22, philippe a écrit : Hi, I've just move to a new laptop and I try to rebuild toolboxes I've created for scilab-6.0.2, every thing looks fine except that all unit tests fail ! I realize that in fact ALL SCILAB unit tests fail  with the same error message : --> test_run(

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

2019-08-01 Thread VTX1801
Hello, Further test with a simple plot figure does print correctly. So this issue is somehow related to a larger window GUI with multiple objects including a plot. There are three push buttons and list boxes. The push buttons have call backs. One to open a windows file dialog window. Which works co

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 20:34, VTX1801 a écrit : Hello, Further test with a simple plot figure does print correctly. So this issue is somehow related to a larger window GUI with multiple objects including a plot. There are potentially 2 issues : 1. your GUI is not dockable. The java error message you

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

2019-08-01 Thread philippe
Le 01/08/2019 à 18:19, Samuel Gougeon a écrit : Yes, it's a bad start, but it's just for the api_scilab module (unfortunately it's the first tested one :/) Just try with the next one: test_run("ast",[],"no_check_ref") no all tests fail (excepts those who are skipped automatically) : --> t

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 22:16, philippe a écrit : Le 01/08/2019 à 18:19, Samuel Gougeon a écrit : Yes, it's a bad start, but it's just for the api_scilab module (unfortunately it's the first tested one :/) Just try with the next one: test_run("ast",[],"no_check_ref") no all tests fail (excepts tho

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 22:16, philippe a écrit : Le 01/08/2019 à 18:19, Samuel Gougeon a écrit : Yes, it's a bad start, but it's just for the api_scilab module (unfortunately it's the first tested one :/) Just try with the next one: test_run("ast",[],"no_check_ref") no all tests fail (excepts tho

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

2019-08-01 Thread VTX1801
Further testing an some progress. Suggestion of GUI window not dockable. Looked at the properties of the figure and there is a dockable property. The dockable property was set to 'off'. Set the dockable property to 'on'. Executed print command and no Java exception error. figid = f("figure_id")

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 23:04, VTX1801 a écrit : Further testing an some progress. Suggestion of GUI window not dockable. Looked at the properties of the figure and there is a dockable property. The dockable property was set to 'off'. Set the dockable property to 'on'. Executed print command and no Jav

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 22:49, Samuel Gougeon a écrit : Le 01/08/2019 à 22:16, philippe a écrit : ... no all tests fail (excepts those who are skipped automatically) : This could come from an autoloaded ATOMS module, if any. You may try canceling the autoloading of all your installed modules, and t

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

2019-08-01 Thread VTX1801
Copied your test code to new Scilab program. Ran the code. Graphic window appears with plot graph and uicontrol text object at the bottom with the word Test. Photos.test window appears with only the plot graph. The uicontrol is missing. Is the plot graph the graphic that is exported? Do you need t

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 23:40, VTX1801 a écrit : Copied your test code to new Scilab program. Ran the code. Graphic window appears with plot graph and uicontrol text object at the bottom with the word Test. Photos.test window appears with only the plot graph. The uicontrol is missing. So the bug 14502

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 21:50, Samuel Gougeon a écrit : // Generate a GUI (from demos)exec("SCI/modules/gui/demos/uicontrol_plot3d.dem.sce",-1);f=findobj("figure_id",11);f.figure_position([12])=[00];// Imposes the GUI position on the screenf.visible="on";// Brings the GUI window on the fronts=f.f

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

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 23:40, VTX1801 a écrit : Copied your test code to new Scilab program. Ran the code. Graphic window appears with plot graph and uicontrol text object at the bottom with the word Test. Photos.test window appears with only the plot graph. The uicontrol is missing. Is the plot graph

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

2019-08-01 Thread VTX1801
Photos is the default image viewer. The question regarding the figure is: Are the plot and the uicontrol considered children of the figure? Is there a syntax that would include all children of the figure to print? -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-

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

2019-08-01 Thread Samuel Gougeon
Le 02/08/2019 à 00:13, VTX1801 a écrit : Photos is the default image viewer. The question regarding the figure is: Are the plot and the uicontrol considered children of the figure? Yes Is there a syntax that would include all children of the figure to print? It already the  case: only the whol

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

2019-08-01 Thread VTX1801
Tried your alternate code. Window appeared with 3d graphic. Menu was off the screen. Ran again and menu on screen. Got the following error in console: msprintf: Wrong number of input arguments: data doesn't fit with format. -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lis

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

2019-08-01 Thread VTX1801
Thanks for the effort to resolve this issue. If this has been a known bug since 2016 what is the likelihood it will be addressed and resolved? I appreciate the timely responses from Samuel. Evidently Scilab is not mature enough to use for this application. Best Regards, Ted -- Sent from: htt