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

Non-unique table header names causes corrupt file #362

jmcnamara opened this Issue Jul 4, 2016 · 0 comments


1 participant

jmcnamara commented Jul 4, 2016

If a XlsxWriter table contains non-unique headers it leads to a corrupt file. Excel requires unique, case-insensitive headers.

Sample program that demonstrates the issue:

import xlsxwriter 

workbook = xlsxwriter.Workbook('test.xlsx')
worksheet = workbook.add_worksheet()

worksheet.add_table(0, 0, 1, 1, {'columns': [{'header': 'ID'},
                                             {'header': 'ID'}]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment