Re: [Scilab-users] Cannot start Xcos

2016-08-16 Thread Stefan Du Rietz
Hello Paul, x_mdialog() works fine for several inputs at once! Thanks. Regards Stefan On 2016-08-16 11:29, Paul Bignier wrote: Hello Stefan & Claus, I manage to reproduce the bug in Scilab 5.5.2 but it has been fixed on the master branch (Scilab 6): Xcos doesn't crash after calls to input()

Re: [Scilab-users] Cannot start Xcos

2016-08-16 Thread Paul Bignier
Hello Stefan & Claus, I manage to reproduce the bug in Scilab 5.5.2 but it has been fixed on the master branch (Scilab 6): Xcos doesn't crash after calls to input(). You may want to port your code to Scilab 6, or as a workaround you can use other i/o functions

Re: [Scilab-users] Cannot start Xcos

2016-08-15 Thread Stefan Du Rietz
Thank you, Claus, for confirming. But for me there is no difference and if I just enter return, r is a space character: -->r = input("Reply! ", "s"); -->mprintf("""%s""\n", r) " " -->ascii(r) ans = 32. /Stefan On 2016-08-15 22:13, Claus Futtrup wrote: Hi Stefan An interesting find ...

Re: [Scilab-users] Cannot start Xcos

2016-08-15 Thread Claus Futtrup
Hi Stefan An interesting find ... amazing. If you enter something (not just Return), then xcos opens. If you do not enter anything, then s contains an empty string, and xcos crashes. /Claus On 15-08-2016 20:04, Stefan Du Rietz wrote: 1. Launch Scilab 2. Do this -->input("Press Return!", "s"

Re: [Scilab-users] Cannot start Xcos

2016-08-15 Thread Stefan Du Rietz
1. Launch Scilab 2. Do this -->input("Press Return!", "s") -->xcos() Regards Stefan On 2016-08-15 17:58, Stefan Du Rietz wrote: This line in my loadsci.sce is the culprit: r = input("usb2data? [n] ", "s"); The following lines don't matter. This must certainly be a bug? Regards Stefan On

Re: [Scilab-users] Cannot start Xcos

2016-08-15 Thread Stefan Du Rietz
This line in my loadsci.sce is the culprit: r = input("usb2data? [n] ", "s"); The following lines don't matter. This must certainly be a bug? Regards Stefan On 2016-08-12 16:23, Stefan Du Rietz wrote: But why can I launch Xcos after running my loadsci.sce(!) if I have launched it before? D

Re: [Scilab-users] Cannot start Xcos

2016-08-12 Thread Stefan Du Rietz
But why can I launch Xcos after running my loadsci.sce(!) if I have launched it before? Does it remember something from the first launch that makes it tolerant during the second launch to what I have done in loadsci.sce? Can you give me a hint? Regards Stefan On 2016-08-12 15:29, Paul Bigni

Re: [Scilab-users] Cannot start Xcos

2016-08-12 Thread Paul Bignier
You're welcome! I don't know what is in that loadsci.sci (sounds more like a .sce by the way) but if it is a personal file I'd start looking into it ;) Regards, Paul On 08/12/2016 03:06 PM, Stefan Du Rietz wrote: Paul, thank you very much for your help. Generally it is one's own fault wh

Re: [Scilab-users] Cannot start Xcos

2016-08-12 Thread Stefan Du Rietz
Paul, thank you very much for your help. Generally it is one's own fault when programs don't behave as expected ... So I started Scilab with all the same toolboxes but without my loadsci.sci and then I could start Xcos! But the strange thing is that if I then ran loadsci.sci from scilab's comm

Re: [Scilab-users] Cannot start Xcos

2016-08-12 Thread Paul Bignier
Stefan, You are launching Xcos properly, but this number of toolboxes looks suspicious to me, one of them may be interferring. Can you please disable their autoload and try to launch Xcos? If it works, you may want to load them one by one until you can't relaunch Xcos ; that way we'll know

Re: [Scilab-users] Cannot start Xcos

2016-08-12 Thread Stefan Du Rietz
Hello Paul, I am using Scilab 5.5.2, installed from binaries in three different computers with Windows 7 Pro, Windows 10 Home, and Xubuntu Linux 14.4, respectively. I have these toolboxes installed(?): -->s = atomsSearch("toolbox"); -->mprintf("%s\n", s(:, 1)) ampl_toolbox ANN_Toolbox celestl

Re: [Scilab-users] Cannot start Xcos

2016-08-11 Thread Paul Bignier
Hello Stefan, This error is not familiar, could you give us more information please? What version of Scilab are you using? Compiled or Binary? OS? Do you have toolboxes installed? Thanks, Paul On 08/11/2016 08:26 PM, Stefan Du Rietz wrote: Hello, how do I start Xcos for the first time ev

[Scilab-users] Cannot start Xcos

2016-08-11 Thread Stefan Du Rietz
Hello, how do I start Xcos for the first time ever? When I try from the menu: Applications - Xcos, I get this message: 8361 Tue Aug 9 21:14 ckobject(28);if with_module("xcos") then xcos(); else disp(gettext("Please install xcos module !--error