Comments (13)
@zedtux I'll look into this as soon as I get home est 2 hours. Are you using the published rubygem or what's on master here? Also what version of nokogiri are you using?
from axlsx.
@randym I've always had those validation errors when running the example from master.. (nokogiri (1.5.2, 1.5.0, 1.4.4))
I don't know if @zedtux is running from master?
from axlsx.
I'm using the gem from rubygems.org, and nokogiri version 1.5.2.
Thanks
from axlsx.
Can you guys confirm that this is not the problem? I am not saying it is, just that I want to eliminate any libxml2 issues before jumping on this.
from axlsx.
In my case there output file is always empty (but columns has different sizes like if it successfully created object and applied styles, but after validation removed all values and colors).
from axlsx.
Looks like that was the problem here.. :) No problems with validation after using the correct libxml2 version
from axlsx.
@zedtux if you are running the code in your example above - (perhaps you are not!?) I would expect and empty worksheet as you are not adding a worksheet/rows - if you are using numbers - please be sure to set use_shared_strings to true - it is not in line with the spec, but it is what numbers requires to build (and it WILL slow down parsing of your sheet!)
from axlsx.
if you are running the code in your example above - (perhaps you are not!?) I would expect and empty worksheet as you are not adding a worksheet/rows
Yes my example can't be other than blank.
But I was speaking of another test where I was using texts and styling, sorry my bad, I wasn't clear enough.
I will give a try with the libxml2 from brew and let you know.
from axlsx.
@zedtux how did it work out for you?
from axlsx.
Sorry, I have this issue at work, and I'm currently busy. I will test it as soon as possible.
from axlsx.
No worries mate. day-jobs have to come first!
from axlsx.
Hope you work load has lessened a bit in the last month!
Testing seems to show that this issue is caused by using an outdated libxml2 version.
I am going to close this issue for now, but if you ever get a spare moment to update your libxml2 and you still have validation errors please don't hesitate to re-open this.
from axlsx.
Hope you work load has lessened a bit in the last month!
Yeah sorry... so much stress and work.
Anyway, we're using writeexcel
gem now and it work directly.
Thank you for you support and apologies.
from axlsx.
Related Issues (20)
- Title not set in LineChart.
- Mutiple thread error file HOT 2
- Conditionnal formating
- Upgrade Rubyzip 2 HOT 6
- outline_level_rows bag
- Stacked bar chart plotted as staircased HOT 3
- formula1 dont work on add_data_validation HOT 1
- Numbers as text HOT 1
- Low-order non-printable ASCII characters in worksheet name should be escaped or removed HOT 5
- Performance reduction with rails 5.2 HOT 2
- undefined method `downcase' when call the serialize method HOT 2
- rubyzip dependency is old
- Deployment not working (mimemagic (0.3.0) - version could not be found HOT 5
- dependent drop-down list
- Axlsx indent not working HOT 1
- DropDownList selected NAME get ID
- can't modify frozen String when run with --enable=frozen-string-literal flag HOT 1
- Stacked bar chart example not working HOT 1
- Error when opening xlsx file from OneDrive but not from other programs HOT 1
- open github discussions tab? HOT 1
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 axlsx.