Comments (8)
The 0.x version didn't use compression when outputting the file, which is why the file was huge. The 1.x version uses compression correctly.
If you are getting a corrupt file with the 1.x version, there must be some regression. Could you share the workbook?
from xlsx-populate.
Thanks for your quick response! I am afraid I cannot share the work book due to confidentiality. Do you have any other suggestions?
from xlsx-populate.
When you open the corrupt workbook in Excel does it ask you to try to recover? If so, click Yes. After recovering, it should show a window with a summary of the errors. Could you share what they window says?
Another option is the strip out any confidential information from the workbook and see if the generation still yields a corrupt workbook. If so, I could debug off of that.
from xlsx-populate.
The recovery window says:
Replaced Part: /xl/worksheets/sheet1.xml part with XML error. Load error. Line 18221, column 0.
from xlsx-populate.
That means there is something wrong with the generated XML in that first sheet. I'd need to see the content of that sheet1.xml before and after to figure out what is wrong. If there is nothing confidential in just that sheet I could explain how you can send me just the XML. If there is, you'll have to strip out the confidential data. I'm afraid there isn't much I can do without seeing it.
from xlsx-populate.
I just updated to v1.4.0 which fixed a bug in ordering data in the sheet XML. Try updating and see if that fixed your issue.
from xlsx-populate.
Think this is ok, after write over 300 cells, there is no change on size here ;)
from xlsx-populate.
I updated to 1.4.2 and things work great. The excel file is now about 350k after updating 3 cells. Also, I found out recently that there are hidden sheets in the excel. The 1.4.2 has solved all the issues. Thanks again for a wonderful library! :)
from xlsx-populate.
Related Issues (20)
- Cannot read property 'children' of null"
- 组合行的api有吗,没看到
- Error: _RichText.style: Invalid arguments.
- Is it possible xlsx-populate in typescript? HOT 3
- Sheet order changing by simply reading and rewriting data to new file HOT 1
- how to convert strings to numbers?
- Module not found: Error: Can't resolve 'fs' in '/Users/ike_yu/Documents/mydevelop/element2-background-project/node_modules/xlsx-populate/lib'
- Wrong parsing - getting for each sheet the data of the one sheet after it HOT 1
- can't open xlsx files with password HOT 3
- Not getting updated value of formula.
- Cannot add new comments
- Cloning a sheet from one workbook to another
- how to read date as formatted date using usedRange() ?
- Font color is reverting to default(black) on double clicking the cell
- How to add picture/image to excel?
- Any way to list the definedNames at workbook or worksheet level ?
- Does not read the file. No error is reported either. Excel attached. HOT 1
- Losts styles (color, border) when I open in MS Excel in Windows OS.
- How to get default row height in sheet?
- Max content height is not working
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-populate.