[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56454] xlswrite creates invalid file when usi
From: |
Georg Wiora |
Subject: |
[Octave-bug-tracker] [bug #56454] xlswrite creates invalid file when using in octave-cli but works in octave-gui |
Date: |
Fri, 7 Jun 2019 03:17:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0 |
URL:
<https://savannah.gnu.org/bugs/?56454>
Summary: xlswrite creates invalid file when using in
octave-cli but works in octave-gui
Project: GNU Octave
Submitted by: gwiora
Submitted on: Fri 07 Jun 2019 09:17:37 AM CEST
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: gwiora
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Microsoft Windows
_______________________________________________________
Details:
When I run the following command in octave-gui
xlswrite('test-gui.xlsx',{1;2;3;4},'abc','a1:a4','OCT')
I get a correctly written xlsx file that I can open in excel.
If I run the same command in _octave-cli_ or in _octave-gui --no-gui_ the
result is a corrupted xlsx file.
xlswrite('test-cli.xlsx',{1;2;3;4},'abc','a1:a4','OCT')
To be able to run octave-gui from shell I have set these additional
environment variables:
set QT_PLUGIN_PATH=C:\Octave\Octave-5.1.0.0\mingw64\qt5\plugins
set PATH=%PATH%;C:\Octave\Octave-5.1.0.0\mingw64\qt5\bin
I compared the contents of the excel files by unzipping and found that the
invalid file is missing the file "[Content_Types].xml".
Copying this file from a working to an invalid file, makes it working.
I have attached both files.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 07 Jun 2019 09:17:37 AM CEST Name: test_cli.xlsx Size: 7KiB By:
gwiora
test_gui is the working file and test_cli the defective
<http://savannah.gnu.org/bugs/download.php?file_id=47048>
-------------------------------------------------------
Date: Fri 07 Jun 2019 09:17:37 AM CEST Name: test_gui.xlsx Size: 7KiB By:
gwiora
test_gui is the working file and test_cli the defective
<http://savannah.gnu.org/bugs/download.php?file_id=47049>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56454>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56454] xlswrite creates invalid file when using in octave-cli but works in octave-gui,
Georg Wiora <=
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when using in octave-cli but works in octave-gui, Kai Torben Ohlhus, 2019/06/07
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when using in octave-cli but works in octave-gui, Georg Wiora, 2019/06/07
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available, Kai Torben Ohlhus, 2019/06/07
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available, Philip Nienhuis, 2019/06/07
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available, Georg Wiora, 2019/06/12
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available, Georg Wiora, 2019/06/12
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available, Georg Wiora, 2019/06/12
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available, Mike Miller, 2019/06/12
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available, Georg Wiora, 2019/06/12
- [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available, Mike Miller, 2019/06/12