Comments (6)
@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.
from xlsx.
Thanks @StevenMaude I can confirm Upgrading to the latest v3 xlsx fixed the issue for me.
from xlsx.
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.
from xlsx.
from xlsx.
Excellent, thank you @StevenMaude and @Yancy0220 !
from xlsx.
Translation: "The go 1.21 version is not supported. Please fix it, thank you."
from xlsx.
Related Issues (20)
- Using WPS to open the generated Excel border defaults to dashed lines. How to remove the dashed border HOT 4
- Fourth time a cell is set it won't be written to if it's not the last cell written to HOT 7
- Why cell.String() method returned datetime string contains double backslash? HOT 3
- It appears that Cell.GetTime() is returning an incorrect time. HOT 1
- addNumfmt() in xmlStyle.go seems to be wrong HOT 1
- Changing value HOT 2
- Excel to PDF Page size issue HOT 3
- v3 version proposal HOT 2
- Memory leak HOT 3
- (Question) Conditional cell formats HOT 1
- Columns seem to be numbered from 1 but documentation gives example using 0 HOT 3
- Can detect type when raw cell type is empty, instead of "Numberic" by default? HOT 1
- 导出成excel的时候可以导出图片吗? HOT 1
- Not Able to Write Last Cell in Pivot Table HOT 4
- Sometimes produces ReadZipReader: readSheetsFromZipFile: runtime error: slice bounds out of range [:2] with length 0 HOT 2
- feat: Add number format 55 (Kor FMT, yyyy/mm/dd) HOT 2
- Current archive/zip package used has a vulnerability
- Row.PushCell leads to Memory Leak HOT 1
- style error HOT 2
- reader crashes form xlsx files with auto filter (drop down) in title
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xlsx.