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

 
 

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

Submitted by:  None
Submitted on:  Wed 25 Mar 2020 12:48:31 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  Need Info Assigned to:  None
Originator Name:  Agoros83 Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  other
Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project 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)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.5