Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Invalid table names lead to corrupted files #319
Since you explicitly asked for examples that end up with corrupted (but reparable) xlsx files, here is an easy one to reproduce:
If you start with your example file: http://xlsxwriter.readthedocs.org/example_tables.html
And then name the empty data table on line 53 like this:
If you have a "/" in the name, as I do above, it will cause Excel to complain the file is corrupted.
[I'm using Excel for Mac version 15.16.]
Another, similar way to corrupt the xlsx is to give two of the tables (even though they are on different sheets) the same name:
Apparently names have to be globally unique - not just within a sheet.