[Scilab-users] unable to generate GUI code

Tan Chin Luh chinluh at tritytech.com
Thu Jan 8 15:10:57 CET 2015


my fault again, the problem only exist if you are using the scipad from 
atoms portal, using the link provided by Francois, this problem would 
never exist. :)

learn something today, thanks.

rgds,
Chin Luh

On 08-Jan-15 9:57 PM, Tan Chin Luh wrote:
> after second thought, the scipad user might just want to use scipad 
> instead of scinotes as editor.
>
> in this case, a quick fixed would be declare the following lines in 
> the console:
>
> MSDOS = 1; // if you have not done so and scipad does not run. this is 
> required in scilab 5.5 as you need to use getos function instead of 
> MSDOS.
> edit = scipad;
>
> if this works, consider loading this at scilab startup so it won't be 
> cleared with user command.
>
> One more possible solution is to change the guibuilder function 
> "gencode_callback" line 16 "edit(fn2);" to "scipad(fn2)" and recompile 
> it.
>
> hope these suggestions help.
>
> regards,
> Chin Luh
>
>
>
>
> On 08-Jan-15 9:10 PM, Tan Chin Luh wrote:
>> my sincere apologies for jumping into conclusion without looking into 
>> details.
>>
>> the actual issue is the "Edit" calling another function called 
>> "editor", which is happen to be same name with the one used by scipad.
>>
>> -->whereis editor
>>  ans  =
>>
>> !scipadlib    !
>> !             !
>> !scinoteslib  !
>>
>> If you need scipad, you could disable the autoload at startup using 
>> "atomsAutoloadDel", and load it when needed.
>>
>> I will report this issue with the provided link.
>>
>> Regards,
>> Chin Luh
>>
>> On 08-Jan-15 4:33 AM, François Vogel wrote:
>>>> Scipad might have override the "Edit" function, try to 
>>>> unload/remove it
>>>> and the guibuilder should be able to run properly.
>>> Scipad does not override the "edit" function, not even in the very 
>>> old version the OP is using.
>>> If you definitely find that Scipad is the culprit, please open a 
>>> ticket here:
>>>
>>> http://sourceforge.net/projects/scipad/
>>>
>>> Regards,
>>> Francois
>>> _______________________________________________
>>> 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