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

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

[Octave-bug-tracker] [bug #51203] xlswrite(...'com') output results in a


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #51203] xlswrite(...'com') output results in a corrupted .xlsx / unicode issues
Date: Fri, 14 Jul 2017 16:29:52 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #65, bug #51203 (project octave):

Attached is a changed patch that doesn't use the loop around "cd".
Andrey used the following script to trigger the bug:

more off
cell1={'One, two, three, 4'};

filename = [mfilename('fullpath'), '.xlsx'];
for i= 1:300
  fprintf ("-------------- iteration %d ---------------\n", i);
  if exist(filename, "file")==2
    disp("deleting file")
    delete(filename);
  end
  if exist(filename, "file")==2
    warning ("File NOT deleted!");
  end
  t_xlsx = tic;
  xlswrite (filename, cell1, [], [], 'oct');
  toc (t_xlsx)
  if !exist (filename)
    warning ("xlsx file NOT created!");
  endif
endfor


Could you please first try with the original files in io 2.4.7 whether the
script triggers the bug for you? Does the attached patch still fix the issue?


(file #41206)
    _______________________________________________________

Additional Item Attachment:

File name: bug51203_xlsx_InfoZip_v2.patch Size:6 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51203>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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