Skip to content
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

不支持 go1.21 版本,麻烦给处理一下,谢谢 #772

Closed
Yancy0220 opened this issue Sep 1, 2023 · 6 comments
Closed

不支持 go1.21 版本,麻烦给处理一下,谢谢 #772

Yancy0220 opened this issue Sep 1, 2023 · 6 comments

Comments

@Yancy0220
Copy link

No description provided.

@tealeg
Copy link
Owner

tealeg commented Sep 1, 2023

Translation: "The go 1.21 version is not supported. Please fix it, thank you."

@StevenMaude
Copy link

@tealeg: It might not need fixing here.

A project I maintain uses an older (v2) version of xlsx, and I found that spreadsheet cells were just empty with Go 1.21.0, similar to qax-os/excelize#1603. Upgrading to the latest v3 xlsx, I think, did seem to fix it, although I've not done much testing.

Otherwise, the incompatibility might be this issue in Go, which was reported by the lead developer of excelize. The fix should be in Go 1.21.1, which is due in a few days (2023-09-06). So maybe worth retrying with Go 1.21.1 when it is released.

@khaledDiZ
Copy link

Thanks @StevenMaude I can confirm Upgrading to the latest v3 xlsx fixed the issue for me.

@StevenMaude
Copy link

Now that Go 1.21.1 is released, I went back to check the v2 behaviour with Go 1.21.1; it works as before too.

So I'd suggest that the fixes are either (or both) of:

  • upgrade to xlsx v3
  • for Go 1.21, use Go 1.21.1 or later

There's probably no more to do here, unless @Yancy0220 can describe a problem that is present even with xlsx v3 and Go 1.21.1 or later.

@Yancy0220
Copy link
Author

Yancy0220 commented Sep 11, 2023 via email

@tealeg
Copy link
Owner

tealeg commented Sep 11, 2023

Excellent, thank you @StevenMaude and @Yancy0220 !

@tealeg tealeg closed this as completed Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants