[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scilab-users
Subject:    Re: [Scilab-users] having an issue with 5.5.0 release
From:       Samuel Gougeon <sgougeon () free ! fr>
Date:       2014-08-29 21:38:52
Message-ID: 5400F2EC.7090200 () free ! fr
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le 28/08/2014 18:54, lgunseor@boumatic.com a écrit :
>
> When using 5.4.1 or the 5.5 beta version I don't have any issues with 
> my program, it runs fine with no errors.  When running it on the 
> latest 5.5.0 release I get errors (see below) and some of the plots 
> are missing from the graph.
>
> plot2d(X,Y)
>             !--error 999
> plot2d: Wrong size for input arguments: Incompatible sizes.
>
> Error 999 : in plot2d called by plotplot2d(X,Y)
>             !--error 999
> plot2d: Wrong size for input arguments: Incompatible sizes.
>
> Error 999 : in plot2d called by plot
>
> Attached is the program along with the data being used for the 
> program.  Is this a bug issue with the latest 5.5.0 release.  Don't 
> understand why I'm getting these errors.
>
How to debug?
1) Since it is not properly identified with whereis() in the error 
message => look for the plotting instruction yielding the error. To do 
so, no chance to succeed by running the whole script in a blind way. Run 
it step by step, selecting the whole starting part, down to the first 
plotting instruction that could trigger the error, and run the 
selection. If there is no error, select the following lines down to the 
next plotting instruction ; run them, and see. etc.. down to the plot 
yielding the error.
2) For this plotting instruction : display the size of each of the first 
two input parameters, and compare them.
3) Look in the help page of the involved plot/plot2 instruction whether 
the format of input parameters that you try to pas to the plot is 
accepted or not.

You will see that it is not the case. There are indeed mismatching 
parameters.
4) correct your program.
5) test it.

HTH
Samuel


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 28/08/2014 18:54,
      <a class="moz-txt-link-abbreviated" \
href="mailto:lgunseor@boumatic.com">lgunseor@boumatic.com</a> a \
&eacute;crit&nbsp;:<br>  </div>
    <blockquote
cite="mid:CB05E881A74FC0428D2902025B2C2E4903ADB848@boumail3.boumatic.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">When using 5.4.1 or the 5.5 beta version I
          don&#8217;t have any issues with my program, it runs fine with no
          errors.&nbsp; When running it on the latest 5.5.0 release I get
          errors (see below) and some of the plots are missing from the
          graph.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">plot2d(X,Y)<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !--error \
999 <br>  plot2d: Wrong size for input arguments: Incompatible sizes.<br>
          &nbsp;<br>
          Error 999 : in plot2d called by plotplot2d(X,Y)<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !--error \
999 <br>  plot2d: Wrong size for input arguments: Incompatible sizes.<br>
          &nbsp;<br>
          Error 999 : in plot2d called by plot<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Attached is the program along with the data
          being used for the program.&nbsp; Is this a bug issue with the
          latest 5.5.0 release.&nbsp; Don&#8217;t understand why I&#8217;m getting \
these  errors.</p>
      </div>
    </blockquote>
    How to debug?<br>
    1) Since it is not properly identified with whereis() in the error
    message =&gt; look for the plotting instruction yielding the error.
    To do so, no chance to succeed by running the whole script in a
    blind way. Run it step by step, selecting the whole starting part,
    down to the first plotting instruction that could trigger the error,
    and run the selection. If there is no error, select the following
    lines down to the next plotting instruction ; run them, and see.
    etc.. down to the plot yielding the error.<br>
    2) For this plotting instruction : display the size of each of the
    first two input parameters, and compare them. <br>
    3) Look in the help page of the involved plot/plot2 instruction
    whether the format of input parameters that you try to pas to the
    plot is accepted or not.<br>
    <br>
    You will see that it is not the case. There are indeed mismatching
    parameters.<br>
    4) correct your program.<br>
    5) test it.<br>
    <br>
    HTH<br>
    Samuel<br>
    <br>
  </body>
</html>



_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic