bugGNU Octave - Bugs: bug #58045, [octave forge] (io) odsread error

 
 

bug #58045: [octave forge] (io) odsread error

Submitter:  None
Submitted:  Wed 25 Mar 2020 12:48:31 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  philipnienhuis
Originator Name:  Agoros83 Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * other
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 23 Apr 2020 05:59:12 AM UTC, comment #3: 

No response from the user.

This has been fixed in recently released io-2.6.1.

closing report.

Philip Nienhuis <philipnienhuis>
Group Member
Wed 25 Mar 2020 07:58:04 PM UTC, comment #2: 

I think I fixed this one now as well.

For the time being, use the matching xls* functions rather than ods*, in your case:

options=xlsread([settings_folder 'options.ods'],'Sheet1','C2:C4', 'oct');

Sorry for this. io-2.6.0 involved a large code shuffle, unfortunately this error slipped through.

What you can also do to help me finally fix this bug is grabbing the following files:
xlsopen.m
oct2ods.m
ods2oct.m
odsfinfo.m
odsread.m
xlsread.m

from here:
http://hg.code.sf.net/p/octave/io/file/d0755ce2d934/inst

and put them in the io package folder; you can find out where that is by entering
"which odsread"
(w/o quotes) in the Octave terminal and noting the path to odsread.m,

and report back if this fixes your problem.
Thanks

Philip Nienhuis <philipnienhuis>
Group Member
Wed 25 Mar 2020 05:42:29 PM UTC, comment #1: 

What is the exact error message?

Chances are it'll work fine if you add 'oct' as 4th argument:

options=odsread([settings_folder 'options.ods'],'Sheet1','C2:C4', 'oct');

See here:
https://octave.1599824.n4.nabble.com/IO-PACKAGE-and-JAVA-tp4696304p4696343.html

A new io release is in the making.

Philip Nienhuis <philipnienhuis>
Group Member
Wed 25 Mar 2020 12:48:31 PM UTC, original submission:  

The function simply doesn't work.
It has an internal error.
Something wants an array rather than a matrix.
Here the code I'm using:

options=odsread([settings_folder 'options.ods'],'Sheet1','C2:C4');

Anonymous

 

(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 None (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-23 philipnienhuis StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2020-04-05 philipnienhuis Assigned toNone philipnienhuis
    2020-03-25 philipnienhuis Release4.2.2 other
        Operating SystemGNU/Linux Any
    2020-03-25 philipnienhuis StatusNone Need Info
    2020-03-25 mtmiller Summaryio-2.6.0 - odsread error [octave forge] (io) odsread error

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code