bugGNU Octave - Bugs: bug #57074, [octave forge] (io) colon...

 
 

bug #57074: [octave forge] (io) colon arguments not scalar

Submitted by:  A.R. Burgers <arb>
Submitted on:  Fri 18 Oct 2019 09:09:34 AM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 18 Oct 2019 09:35:55 PM UTC, comment #1: 

Thanks, I noted that myself and I've already pushed a fix here:
http://hg.code.sf.net/p/octave/io/rev/4f31220c9eb9

It's due to a concealed but ineffective bug (as you found out the io package's actual functioning isn't affected) that got uncovered by a cset to emit warnings for non-scalar ranges (http://hg.savannah.gnu.org/hgweb/octave/rev/85ad4689aa05).
Unfortunately Rik pushed that cset just a few hours after I uploaded a new io package release to the package release tracker (and it got released already). Had he pushed it earlier on I might have catched it - all io package releases since -say- 2.2.x are affected.
Oh well, that's clearly Murphy at work here :)

So an io-2.4.14 is due one of these weeks. But let's just wait a little for more surprises.

Closing report.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 18 Oct 2019 09:09:34 AM UTC, original submission:  

The new warning "colon arguments should be scalars" is triggered by the io package. Not sure whether this warning deems further investigation or can simply be ignored. The io package seems to have worked well with these non-scaler colon arguments.

script to test:

pkg load io;
ver = version
hg_id = __octave_config_info__.hg_id
pkg list io;
handle = xlsopen('tst.xlsx');
xlsclose(handle);

sample output (only 1 warning shown multiple are generated):

octave-6.0.0 pkg_io_warn.m
ver = 6.0.0
hg_id = 37f9eb2c05e0+
Package Name  | Version | Installation directory
--------------+---------+-----------------------
          io *|  2.4.13 | //home/user/octave-6.0/io-2.4.13
Detected XLS interfaces: warning: colon arguments should be scalars
warning: called from
    getxmlattv at line 43 column 14
    __OCT_spsh_open__ at line 124 column 23
    xlsopen at line 316 column 35
    pkg_io_warn at line 5 column 8

A.R. Burgers <arb>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arb (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-18 philipnienhuis Item GroupRegression => Unexpected Error
        StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5