[Scilab-users] Cannot start Xcos

Stefan Du Rietz sdr at durietz.se
Tue Aug 16 00:05:14 CEST 2016


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 ... 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")
>> -->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 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? 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 Bignier wrote:
>>>>>
>>>>> 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
>>>>>> 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 command line,
>>>>>>
>>>>>> -->exec(SCIHOME+"/loadsci.sci", -1)
>>>>>>
>>>>>> Xcos could still be started!
>>>>>>
>>>>>> Am I haunted by some evil ghost?
>>>>>>
>>>>>> Stefan
>>>>>>
>>>>>>
>>>>>> On 2016-08-12 11:53, Paul Bignier wrote:
>>>>>>>
>>>>>>> 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 which one is causing the trouble.
>>>>>>>
>>>>>>> Thank you, best regards,
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>>
>>>>>>> On 08/12/2016 10:45 AM, Stefan Du Rietz wrote:
>>>>>>>> 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
>>>>>>>> celestlab
>>>>>>>> celestlabx
>>>>>>>> CLUSTER
>>>>>>>> CWA
>>>>>>>> dace_scilab
>>>>>>>> emd_toolbox
>>>>>>>> EMTTOOL
>>>>>>>> FACT
>>>>>>>> Global_Optim_toolbox
>>>>>>>> grocer
>>>>>>>> guimaker
>>>>>>>> huffcomp
>>>>>>>> hypt
>>>>>>>> ica_toolbox
>>>>>>>> json
>>>>>>>> lsitbx
>>>>>>>> Mascaret
>>>>>>>> MDPtoolbox
>>>>>>>> metanet
>>>>>>>> microdaq
>>>>>>>> minphase_toolbox
>>>>>>>> moc_toolbox
>>>>>>>> nan
>>>>>>>> OpenRTDynamics
>>>>>>>> regtools
>>>>>>>> rltool
>>>>>>>> serial
>>>>>>>> sndfile_toolbox
>>>>>>>> socket_toolbox
>>>>>>>> stixbox
>>>>>>>> swt
>>>>>>>> toolbox_skeleton
>>>>>>>> toolbox_spgl1
>>>>>>>> usb_toolbox
>>>>>>>> XCPL
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>> Stefan
>>>>>>>>
>>>>>>>>
>>>>>>>> On 2016-08-12 08:42, Paul Bignier wrote:
>>>>>>>>>
>>>>>>>>> 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 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 999
>>>>>>>>>> xcos:
>>>>>>>>>> while executing a callback
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> And from the command line:
>>>>>>>>>>
>>>>>>>>>> -->xcos
>>>>>>>>>>   !--error 999
>>>>>>>>>> xcos:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> What can I do?
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>> Stefan
>>>>>>>>>> _______________________________________________
>>>>>>>>>> users mailing list
>>>>>>>>>> users at lists.scilab.org
>>>>>>>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> users mailing list
>>>>>>>> users at lists.scilab.org
>>>>>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users at lists.scilab.org
>>>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users at lists.scilab.org
>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at lists.scilab.org
>>> http://lists.scilab.org/mailman/listinfo/users
>>>
>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list