octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59273] [octave forge] (io) can't reliably loa


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #59273] [octave forge] (io) can't reliably load XLSX files in release 2.6.2
Date: Sat, 17 Oct 2020 16:13:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #10, bug #59273 (project octave):

Sebastien,

Attached are two new versions of xlsopen.m and private/getinterface.m, could
you please try these?
xlsopen.m echoes some debug info to the screen, notably about inferred file
type and the supported interfaces; I'd be interested in that.

I can't reproduce nor figure out why your test code would work in io-2.6.1 but
not in 2.6.2. I tracked back the logs of the io package but AFAICS both files
haven't seen relevant changes between 2.6.1 and 2.6.2. The only difference I
can think of is that for io-2.6.1, program flow in xlsopen.m fell trough to
using OCT interface behind your back, but even that is mere speculation.
A candidate patch could be:
http://hg.code.sf.net/p/octave/io/rev/91353b9092d8
before which the OCT interface was always active even if the user didn't
select it.

Also enigmatic is why .xlsx didn't work with any interface but .xls did with
the patched xlsopen.m you tried before.
One can try interfaces by hand using the io_testscript function:
io_testscript ("<interface>", "io-test.xlsx")

There was a bug when xlsopen.m was called for the first time, requested
interfaces were wiped, which might explain the erratic behavior I saw. But
your testsuite doesn't specify any interface argument so this looks
irrelevant.


(file #50003, file #50004)
    _______________________________________________________

Additional Item Attachment:

File name: xlsopen.m                      Size:17 KB
    <https://file.savannah.gnu.org/file/xlsopen.m?file_id=50003>

File name: getinterfaces.m                Size:7 KB
    <https://file.savannah.gnu.org/file/getinterfaces.m?file_id=50004>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59273>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]