mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #117] Open error of file under Windows Excel 2016 #97
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @petricf on GitHub (Aug 11, 2017).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/117
Originally assigned to: @jmcnamara on GitHub.
Generating an xlsx-file under Linux (libxlsxwriter version 0.7.2). The code:
The resulting file:
test-excel.xlsx
When opening this file with Excel 2016 (Windows 7) i get the following errors:

Selecting "Yes":

The second error refers an xml file with this contents:
The repair seems to fix this. Saving it back to the file i get:
test-excel-fixed.xlsx
Maybe a comparison of the two excel files helps to track down the problem.
@utelle commented on GitHub (Aug 11, 2017):
Which locale is active while your application is generating the Excel file? Obviously not the C locale, since I inspected your test file and found out that the decimal separator used for writing
doublevalues is a comma. This doesn't work - as you experienced. The decimal separator has to be a point.@jmcnamara commented on GitHub (Aug 11, 2017):
@petricf I had a look at the file and @utelle is correct. There is a comma instead of a point due to the locale.
See #64 for a long discussion.
I'm going to close this as a duplicate of #64.
@petricf commented on GitHub (Aug 11, 2017):
Am Freitag 11 August 2017, 10:35:04 schrieb John McNamara:
Thanks. I'll subsrcibe to #64.
Hopefully this will fixed soon.