bugGNU Octave - Bugs: bug #62314, [octave forge] (queueing) Test...

 
 

bug #62314: [octave forge] (queueing) Test failure with Octave 7

Submitter:  Sébastien Villemot <svillemot>
Submitted:  Thu 14 Apr 2022 08:48:45 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 7.1.0 Release: 
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 Apr 2025 06:24:16 AM UTC, comment #4: 

For the sake of completeness: The issue was fixed in the queueing repository with this change:
https://sourceforge.net/p/octave/queueing/ci/95f6f1d9092f396999cba83c1c0f477d87c60029/

Markus Mützel <mmuetzel>
Group administrator
Tue 01 Apr 2025 06:46:41 PM UTC, comment #3: 

The bug has been fixed in Octave 7.2.0
(Checked on Windows 10).
Closing

Avinoam Kalma <avinoam>
Group Member
Thu 14 Apr 2022 05:34:05 PM UTC, comment #2: 

Thanks. I also added your patch to MXE Octave until there is a release with this fixed:
https://hg.octave.org/mxe-octave/rev/8fcac4d6d983

Markus Mützel <mmuetzel>
Group administrator
Thu 14 Apr 2022 08:59:01 AM UTC, comment #1: 

Here is the patch that has been applied to the Debian package.


(file #53089)

Sébastien Villemot <svillemot>
Thu 14 Apr 2022 08:48:45 AM UTC, original submission:  

With Octave 7.1.0 and queueing 1.2.7:


octave:1> pkg load queueing
octave:2> test qnmknode
***** test
 fail( "qnmknode( 'pippo', 1 )", "must be one" );
 fail( "qnmknode( '-/g/1-ps', 1, 1, 1)", "Invalid call" );
!!!!! test failed
expected error <Invalid call>
but got <print_usage: function called with too many outputs>


The problem comes from the fact that print_usage() is called within a logical expression. Since print_usage() does not return a value, this fails with Octave 7 since the latter does stricter checks on number of output arguments.

Sébastien Villemot <svillemot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #53089:  octave7.patch added by svillemot (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by avinoam (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by svillemot (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-04-01 avinoam StatusNone Fixed
        Open/ClosedOpen Closed
    2022-04-14 svillemot Attached File- Added octave7.patch, #53089

    Back to the top

    Powered by Savane 3.15.
    Corresponding source code