Comments (12)
This seems like this issue is similar to what was fixed in #42. But this fix is part of the 1.0.10 version...
I just released a new version: 1.0.11. Can you give it a try?
Otherwise, it seems like a file-specific issue. If the new version does not fix your issue and if your file does not contain any sensitive/confidential data, can you please send it to me? adrien(at)box.com
from spout.
@samirhshaikh Did you get this issue resolved with the new version of Spout?
from spout.
Thanks for response. And apologies for delayed reply.
I updated to the latest version. But I am still getting the same error. It happens with all xlsx files. Even with the test files which comes with spout class. E.g. attact_billion_laughs.xlsx
from spout.
It's actually normal that it fails with the "attack_biliion_laughs.xlsx" but it should work with "one_sheet_with_shared_strings.xlsx" for instance.
If it does not, then it's definitely an environment issue. Can you then tell me which OS you are using as well as which PHP and libxml version? You can find those version using phpinfo()
.
Thanks!
from spout.
Its giving same error with one_sheet_with_shared_strings.xlsx as well. Following are the environment details:
OS: CentOS release 6.5
LibXML: 2.6.19
PHP: 5.5.26
Thanks.
from spout.
So I just tried and successfully managed to read a XLSX file on a config with:
- CentOS 6.6
- PHP 5.5.27
- LibXML 2.7.6
I don't think the CentOS version makes any difference. Same for PHP as it's almost similar.
So I suspect that the problem should come from LibXML... @samirhshaikh can you upgrade the libxml library to see if it makes any difference?
Also, in your first message, you mentioned that you were using a "Debian Linux configuration". What did you mean by that? Were you talking about the OS?
from spout.
Debian Linux was the mistake. Sorry for that. I will upgrade LibXML version and try it out.
Thanks.
from spout.
@samirhshaikh Is it working better after upgrading libxml?
from spout.
My system admin on vacation. So cannot upgrade libxml. It will be a while before he comes back. Will update you after upgrading it. Hopefully it should work.
Thanks.
from spout.
Sounds good!
from spout.
@samirhshaikh Any update?
from spout.
Fixed with #126
from spout.
Related Issues (20)
- Thanks to package authors! How does it work? HOT 1
- Style not present when editing existing spreadsheet
- It takes around 5 secs to read 1000 rows (25 cols) HOT 1
- This page isn’t working when calling $reader = ReaderEntityFactory:: HOT 1
- Previous issue #861 prematurely closed HOT 4
- Support Excel cell Comments HOT 2
- Unable to open source data
- Trying to add vertical alignment and fix textWrap for XLSXWriter HOT 1
- Add option to change the encoding of the whole exported csv file (not only the content) HOT 1
- PHP 8.1 Error HOT 4
- Incorrect type reported when adding an unsupported type to a cell
- Percentage type reading supported? HOT 1
- Content-Disposition header for file download is not properly encoded HOT 1
- Format date on export XLSX
- Is it possible to use wb instead of wb+ fopen mode in openToFile() in AbstractWriter in order to use compress.zlib:// ? HOT 5
- PHP 8.1 Warnings HOT 2
- Doing cell->getValue() on loop stops when the value is a DateTime Object
- rowIterator->next() crash HOT 5
- rowIterator->next()
- Count total number of rows for XLSX 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 spout.