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

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

[Octave-bug-tracker] [bug #60825] [octave forge] (io) io oct2xls corrupt


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #60825] [octave forge] (io) io oct2xls corrupts content.xml
Date: Sun, 27 Jun 2021 16:46:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #60825 (project octave):

                  Status:                    None => Confirmed              
        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up Comment #3:

Over in bug #53298 I wrote:
> I tried your code on windows with dev Octave and io-2.6.3 but there it
immediately stumbled over the "@" character in the file name. After changing
the "@" into a "_" it hit a bug with the zip function ("no files to move").
That's where it ends for the time being as I have no time to look into it
until well after mid-July, sorry. 

Changing L.53 of  __OCT_spsh_close__.m  in the io package's private folder

[mvst, msg] = movefile (["." filesep fname ".zip"], filename, "f");

into

[mvst, msg] = movefile ([fname ".zip"], filename, "f");

solves the issue with zip.
ISTR a recent bug report or fix where s/th like this (prepending '.\') was
also mentioned.

Anyway, with that newly written file I can confirm this bug report. The
content.xml inside it is corrupt.
That's as far as I can get for the time being.

For the moment/as a workaround you can use a Java-based ods I/O interface; I'd
advise jOpenDocument - AFAIK the fastest of all .ods I/O options in the io
package and IMO better than the OCT interface for .ods anyway.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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