[Scilab-users] Prompt strange behavior in Windows7/Scilex5

Samuel Gougeon sgougeon at free.fr
Sun Sep 13 17:54:55 CEST 2015


Hello,
I confirm the behavior that you reported. The graphic windows opened 
with clf is a java one, while the graphical Editor is a Tk one.
I do not clearly catch what you need, either using Scilab in batch mode 
-- with no interaction, just piping instructions with the -e or -f 
launching options (-->help scilab)--, or with interaction?
In batch mode, off-screen graphical drivers may be used (-->help driver).
HTH
Samuel

Le 13/09/2015 16:41, Laurent Bonaventure a écrit :
> Hello.
>
> I'm experimenting with piping commands through Scilex interactive 
> (with the goal of interfacing it with an IPython Notebook, actually).
>
> This is one of my problems: the prompt has a strange behavior as soon 
> as a command gets a delayed error (e.g., the command opens a window in 
> a separate thread; then the windows throws an error). I don't know how 
> to restore the normal behavior.
>
> Steps to reproduce (Windows 7, Scilab >= 5.4):
>
> 1)launch Scilex (or Scilex -nw)
> 2)type: clf;
> 3)A Tk window opens. Fiddle with it to get an error.
> (E.g.: trying to change the axes (Edit/Axes properties), you get in 
> the console: Error: can't read "wfortree": no such variable)
> 4)Back to the interactive prompt, press Enter.
>
> At that point, the input isn't functioning correctly anymore.
>
> - two prompts appear in a row instead of one
> - the history works correctly
> - but any commands you type directly won't be displayed at all (and 
> won't be executed except if you press Enter twice, and then strange 
> characters are added to your input)
>
> I suppose that all this is already documented, but I can't find 
> anything related to the question (I tried many searches in 
> Google/SO/gmane but without success).
>
> Could someone, either point me to the right page, or tell me how to 
> restore the correct behavior without a reset, or better yet, tell me 
> what's happening here?
>
> Note. The behavior is correct under the WScilex console, but I have no 
> clue about how to pipe instructions through it / get its output.
>
> Thank you.
> L. B.




More information about the users mailing list