Git Product home page Git Product logo

Comments (12)

adrilo avatar adrilo commented on May 18, 2024

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.

adrilo avatar adrilo commented on May 18, 2024

@samirhshaikh Did you get this issue resolved with the new version of Spout?

from spout.

samirhshaikh avatar samirhshaikh commented on May 18, 2024

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.

adrilo avatar adrilo commented on May 18, 2024

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.

samirhshaikh avatar samirhshaikh commented on May 18, 2024

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.

adrilo avatar adrilo commented on May 18, 2024

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.

samirhshaikh avatar samirhshaikh commented on May 18, 2024

Debian Linux was the mistake. Sorry for that. I will upgrade LibXML version and try it out.

Thanks.

from spout.

adrilo avatar adrilo commented on May 18, 2024

@samirhshaikh Is it working better after upgrading libxml?

from spout.

samirhshaikh avatar samirhshaikh commented on May 18, 2024

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.

adrilo avatar adrilo commented on May 18, 2024

Sounds good!

from spout.

adrilo avatar adrilo commented on May 18, 2024

@samirhshaikh Any update?

from spout.

adrilo avatar adrilo commented on May 18, 2024

Fixed with #126

from spout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.