-
-
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
Golang V1.21.0 Failed to write data, excel file open error #1651
Comments
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 (pinned) issues #1465, #1595, #1603, #1608, #1614, #1619, #1620, #1621, #1623, #1633, #1637, #1641, #1642 and #1648. 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, and it will be released on Wednesday, September 6. I suggest using the Go 1.20.7 and previous Go released version or waiting for the Go 1.21.1 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. 谢谢你的反馈,在您创建新的问题之前,请确保不存在任何重复的问题。请参考(置顶)问题 #1465,#1595,#1603,#1603,#1614,#1619,#1620,#1621,#1623,#1633,#1637,#1641, #1642 和 #1648。Go 1.21.0 对 encoding/xml 标准库做了不兼容的更改,我已将该问题反馈至 Go 团队,并提交了修复补丁 golang/go#61881,将在下一个版本 Go 1.21.1 中修复。目前建议使用 Go 1.20.7 以及更早版本,或等待 2023年9月6日 Go 语言 1.21.1 版本发布。我已经为此在自述文档和文档网站上添加了通知,因此我将关闭此问题。如果您有任何问题,请告诉我,并可随时重新打开。 |
@jamiesun Go version update to V1.21.4 Ok |
Description
This function below executes without problems under all versions of Golang v1.20, it can write data and open files without errors.
But under Golang V1.21.0, it does not report any error, but the Excel file written cannot be opened with error:
Code:
Describe the results you received:
Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
macos m1
The text was updated successfully, but these errors were encountered: