bugGNU Octave - Bugs: bug #49922, io: regression in OCT interface...

 
 

bug #49922: io: regression in OCT interface for reading ODS

Submitter:  Sébastien Villemot <svillemot>
Submitted:  Sat 24 Dec 2016 09:09:08 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  philipnienhuis
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Dec 2016 07:32:36 PM UTC, comment #4: 

Thanks for reporting back.
Closing report

Philip Nienhuis <philipnienhuis>
Group Member
Mon 26 Dec 2016 12:49:59 PM UTC, comment #3: 

Thanks Philip, your patch fixes the issue.

Sébastien Villemot <svillemot>
Sun 25 Dec 2016 04:49:55 PM UTC, comment #2: 

Í've pushed the fix anyway here:
http://hg.code.sf.net/p/octave/io/rev/504ba5135945

Philip Nienhuis <philipnienhuis>
Group Member
Sun 25 Dec 2016 01:35:12 PM UTC, comment #1: 

Please try the attached (Q&D) patch (from io's install (m-file) subdir)

In the mean time I'll check for similar issues in the other interface code (but I think only OCT has it)

(file #39311)

Philip Nienhuis <philipnienhuis>
Group Member
Sat 24 Dec 2016 09:09:08 AM UTC, original submission:  

Hi,

With io 2.4.5, the OCT interface for reading ODS is broken:


octave:1> pkg load io
octave:2> odsfinfo("test.ods", "OCT")
Checking requested interface(s):
OCT*; (* = default interface)
  1: Sheet1                           (Used range ~ A1:B1002)
warning: implicit conversion from matrix to sq_string
warning: called from
    getnmranges at line 51 column 18
    odsfinfo at line 138 column 14
error: getnmranges: A(I,J,...) = X: dimensions mismatch
error: called from
    getnmranges at line 51 column 18
    odsfinfo at line 138 column 14


This was working fine in version 2.4.4.

Note that this was tested under Octave 4.0.3.

I attach the test file.

Cheers

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 #39311:  bug_49922.patch added by philipnienhuis (404B - text/x-diff)
file #39302:  test.ods added by svillemot (37KiB - application/vnd.oasis.opendocument.spreadsheet)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-26 philipnienhuis StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-12-25 philipnienhuis StatusPatch Submitted Ready For Test
    2016-12-25 philipnienhuis Attached File- Added bug_49922.patch, #39311
        StatusConfirmed Patch Submitted
    2016-12-25 philipnienhuis StatusNone Confirmed
        Assigned toNone philipnienhuis
        Operating SystemGNU/Linux Any
    2016-12-24 svillemot Attached File- Added test.ods, #39302

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code