-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Corrupted file #1641
Comments
Realised a similar issue was raised some minutes ago #1640 |
Interestingly, I tried to run the same code using go1.20.7 and it works. |
Thanks for your issue. If you are reporting a new issue, make sure that we do not have any duplicates already exist. If it does not work with Go 1.21.0, please reference the issues #1465, #1595, #1603, #1608, #1614, #1619, #1620, #1621, #1623, #1633 and #1637. There are some incompatible changes in the Go 1.21.0 encoding/xml library. I have given feedback to the Go team and created a patch for it (golang/go#61881), and the Go team has added golang/go#62051 to the Go 1.21.1 milestone. I suggest using the Go 1.20.7 and previous Go released version or waiting for the next Go minor releases. I have added notice on the README and documentation website for this, and I've closed this. If you have any questions, please let me know, and reopen this anytime. |
The generated excel file is corrupted, trying to repair the file doesn't seem to work. The sheets are created but no values are included. No errors are returned by the program.
Steps to reproduce the issue:
Describe the results you received:
No error when running the program.
Error when opening the excel file:
If Yes is pressed the following message appear
The file opens but no data is present in the sheets.
Corrupted file created:
Book1.xlsx
Describe the results you expected:
No error when opening the file and a file with two sheets.
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Microsoft Excel for Mac Version 16.76
MacOS Ventura 13.1
Apple M1
The text was updated successfully, but these errors were encountered: