[Scilab-users] Follow-up Re: {EXT} Re: Scilab 6 problem with "Prettify"

Claus Futtrup cfuttrup at gmail.com
Fri Sep 8 19:47:08 CEST 2017


Hi all

First follow-up. I completely removed the entire section of Prettify 
code, and all instances of calls to the prettify function was commented 
out. This executes fine in Scilab 5.5.

In Scilab 6 I still get the "Invalid buffer." response, but now it can 
execute repeatedly. I just gotta chase down what buffer, etc. ... you 
know, the error which is not listed in the error table: 
https://help.scilab.org/docs/6.0.0/en_US/error_table.html

Best regards,
Claus

On 08-09-2017 16:48, Claus Futtrup wrote:
> Hi Christophe
>
> Good points. I guess one thing I could do is to delete the entire 
> Prettify from my file (and not call Prettify). Then see if Scilab 6 
> complains.
>
> It's weird, though, that the errors are prior to execution of any 
> code. I guess Scilab first "reads" the entire code somehow and if 
> there's anything less than perfect, it breaks and cannot start 
> stepping through the code.
>
> /Claus
>
> On 08-09-2017 09:43, Dang Ngoc Chan, Christophe wrote:
>> Hello,
>>
>>> De : Pierre Vuillemin
>>> Envoyé : jeudi 7 septembre 2017 22:20
>>>
>>> Or you may want to comment suspicious parts of your code until there 
>>> is no more error....
>> A very efficient way to isolate the error is to use dichotomy.
>>
>> Normally, the core of your script should consist in calling functions.
>> So remove the first half of the functions and see if you get the error.
>> If not, remove the other half.
>> You can then isolate in which half your function is.
>> Remove then the first half of the problematic half etc.
>>
>> If both fail, then the problematic part is in the core
>> And you can isolate it in the same way.
>>
>> Regards
>>
>> -- 
>> Christophe Dang Ngoc Chan
>> Mechanical calculation engineer
>> This e-mail may contain confidential and/or privileged information. 
>> If you are not the intended recipient (or have received this e-mail 
>> in error), please notify the sender immediately and destroy this 
>> e-mail. Any unauthorized copying, disclosure or distribution of the 
>> material in this e-mail is strictly forbidden.
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>>
>




More information about the users mailing list