Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Unable to read xlsx files generated with Crystal Report #832

Open
@snoob

Description

Hi,

When i try to read ($reader->open) a file generated with Crystal Report i got the following IOException :

could not open /tmp/xxxx for reading! (Index invalid or out of range)

After investigation, it works if i force the FileBasedStrategy by commenting this line(https://github.com/box/spout/blob/master/src/Spout/Reader/XLSX/Manager/SharedStringsCaching/CachingStrategyFactory.php#L65)
I have no idea why InMemoryStrategy doesn't work for my file.. Does anyone knows how FileBasedStrategy and InMemoryStrategy are different ? For me, they should work the same way it's only a performance concern.

Thank you by advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions