Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIBREOFFICE #22

Closed
ridams opened this issue Mar 9, 2018 · 6 comments
Closed

LIBREOFFICE #22

ridams opened this issue Mar 9, 2018 · 6 comments

Comments

@ridams
Copy link

ridams commented Mar 9, 2018

The resulting xlsx on the demo doesn't open on libreoffice

@brechtsanders
Copy link
Owner

Any specific error message?

@ridams
Copy link
Author

ridams commented Mar 9, 2018

No just it shows that the file maybe corrupt and it tries to repair it but without success

@brechtsanders
Copy link
Owner

Can you send an example file generated with libreoffice?

@brechtsanders
Copy link
Owner

Just had a good look into the issue.
I'm at the point where I have a seemingly good file that won't open in LibreOffice.
However, if I unzip the xlsx file and re-zip it (using 7-Zip) it does open in LibreOffice.
So now I'm going to investigate if this is a libzip issue...

@brechtsanders
Copy link
Owner

In the mean time I have tried to make libxlsxio_write use minizip instead of libzip, and the files generated this way do open in LibreOffice.
So it must be an issue with how libzip generates zip files and how LibreOffice reads them.
Yesterday libzip 1.5.0 was, so I tried with that version, but the problem remains.
So I will try to also make libxlsxio_read use minizip and then make a new release that will fix your problem.
Or you could try building libxlsxio_write with -DUSE_MINIZIP and link it against minizip instead of libzip. But I haven't updated the makefile yet.

@brechtsanders
Copy link
Owner

Just released version 0.2.12, which uses Minizip instead of libzip by default.
This fixes the LibreOffice compatibility issue.
Enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants