Second 4.4.1 release candidate available for download

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Second 4.4.1 release candidate available for download

John W. Eaton
Administrator
The second release candidate for the 4.4.1 bug-fixing release is now
available from alpha.gnu.org <http://alpha.gnu.org> in the directory
gnu/octave.  Sources and Windows binaries are available:

   -rw-r--r-- 1 3003 3002  19148449 Jul 31 19:46 octave-4.4.1-rc2.tar.lz
   -rw-r--r-- 1 3003 3002  25582458 Jul 31 19:46 octave-4.4.1-rc2.tar.bz2

   -rw-r--r-- 1 3003 3002 250089034 Jul 31 19:37
octave-4.4.1-rc2-w64-installer.exe
   -rw-r--r-- 1 3003 3002 280367574 Jul 31 19:40 octave-4.4.1-rc2-w64.7z
   -rw-r--r-- 1 3003 3002 504544772 Jul 31 19:46 octave-4.4.1-rc2-w64.zip


jwe

Reply | Threaded
Open this post in threaded view
|

Re: Second 4.4.1 release candidate available for download

mmuetzel
I ran the test suite on Windows 10 1803 and got two unexpected errors:

1:
>>>>> processing
>>>>> C:\Octave\OCTAVE~1.1-R\share\octave\4.4.1-rc2\m\miscellaneous\run.m
***** test
 clear A  # the variable "A" should be set by the script
 assert (exist ("A"), 0);
 tmp_dir = tempname ();
 test_script = fullfile (tmp_dir, "test_script.m");
 unwind_protect
   mkdir (tmp_dir);
   fid = fopen (test_script, "w");
   fprintf (fid, "A = 1337;\n");
   fclose (fid);
   run (test_script);
   assert (exist ("A", "var"), 1);
   assert (A, 1337);
 unwind_protect_cleanup
   unlink (test_script);
   rmdir (tmp_dir);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (exist ("A"),0)

  Location  |  Observed  |  Expected  |  Reason
     ()           7            0         Abs err 7 exceeds tol 0 by 7

That one is because there happened to be a folder named "a" in Octave's
current directory. Maybe we could change the test to use a more random
variable name?

2:
>>>>> processing
>>>>> C:\Octave\OCTAVE~1.1-R\share\octave\4.4.1-rc2\m\ode\ode15i.m
***** testif HAVE_SUNDIALS
 saved_opts = warning ();
 warning ("off", "all");
 opt = odeset ("Jacobian", "foo");
 fail ("[t, y] = ode15i (@rob, [0, 4e6], [1; 0; 0], [-1e-4; 1e-4; 0], opt)",
       "invalid value assigned to field 'Jacobian'");
 warning (saved_opts);
!!!!! test failed
expected error <invalid value assigned to field 'Jacobian'>
but got <nargin: number of input arguments unavailable for user-defined
script objects>

Not sure what happens there...

Markus





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: Second 4.4.1 release candidate available for download

Rik-4
In reply to this post by John W. Eaton
On 08/01/2018 09:00 AM, [hidden email] wrote:
Subject:
Re: Second 4.4.1 release candidate available for download
From:
mmuetzel [hidden email]
Date:
08/01/2018 07:14 AM
To:
[hidden email]
List-Post:
[hidden email]
Content-Transfer-Encoding:
7bit
Precedence:
list
MIME-Version:
1.0
References:
[hidden email]
In-Reply-To:
[hidden email]
Message-ID:
[hidden email]
Content-Type:
text/plain; charset=us-ascii
Message:
4

I ran the test suite on Windows 10 1803 and got two unexpected errors:

1:
processing
C:\Octave\OCTAVE~1.1-R\share\octave\4.4.1-rc2\m\miscellaneous\run.m
***** test
 clear A  # the variable "A" should be set by the script
 assert (exist ("A"), 0);
 tmp_dir = tempname ();
 test_script = fullfile (tmp_dir, "test_script.m");
 unwind_protect
   mkdir (tmp_dir);
   fid = fopen (test_script, "w");
   fprintf (fid, "A = 1337;\n");
   fclose (fid);
   run (test_script);
   assert (exist ("A", "var"), 1);
   assert (A, 1337);
 unwind_protect_cleanup
   unlink (test_script);
   rmdir (tmp_dir);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (exist ("A"),0)

  Location  |  Observed  |  Expected  |  Reason
     ()           7            0         Abs err 7 exceeds tol 0 by 7

That one is because there happened to be a folder named "a" in Octave's
current directory. Maybe we could change the test to use a more random
variable name?
Sounds simple enough.  Can you make a cset to change this to an obscure variable name that starts with '__' to also indicate that this is an internal variable.


2:
processing
C:\Octave\OCTAVE~1.1-R\share\octave\4.4.1-rc2\m\ode\ode15i.m
***** testif HAVE_SUNDIALS
 saved_opts = warning ();
 warning ("off", "all");
 opt = odeset ("Jacobian", "foo");
 fail ("[t, y] = ode15i (@rob, [0, 4e6], [1; 0; 0], [-1e-4; 1e-4; 0], opt)",
       "invalid value assigned to field 'Jacobian'");
 warning (saved_opts);
!!!!! test failed
expected error <invalid value assigned to field 'Jacobian'>
but got <nargin: number of input arguments unavailable for user-defined
script objects>
Any chance you have a function 'foo' defined somehow?

--Rik
Reply | Threaded
Open this post in threaded view
|

Aw: Re: Second 4.4.1 release candidate available for download

mmuetzel
Rik wrote:
> Any chance you have a function 'foo' defined somehow?


That was the problem. Thanks.

Markus

Reply | Threaded
Open this post in threaded view
|

Re: Second 4.4.1 release candidate available for download

John W. Eaton
Administrator
In reply to this post by Rik-4
On 08/01/2018 12:17 PM, Rik wrote:

> Sounds simple enough.  Can you make a cset to change this to an obscure
> variable name that starts with '__' to also indicate that this is an
> internal variable.

No need, I already pushed a change for this.

> Any chance you have a function 'foo' defined somehow?

That's my guess too, so I made a similar change for the tests in ode15i.

jwe


Reply | Threaded
Open this post in threaded view
|

Re: Second 4.4.1 release candidate available for download

Sébastien Villemot-2
In reply to this post by John W. Eaton
Le mercredi 01 août 2018 à 06:55 -0400, John W. Eaton a écrit :
> The second release candidate for the 4.4.1 bug-fixing release is now 
> available from alpha.gnu.org <http://alpha.gnu.org> in the directory
> gnu/octave.

The new build-aux/inplace_edit.pl script is not included in the
tarball, hence documentation rebuild fails. I guess it should be added
to EXTRA_DIST in build-aux/module.mk.

Cheers,

--
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org

signature.asc (849 bytes) Download Attachment